Class VmArgInitializer
- java.lang.Object
-
- org.jivesoftware.smack.initializer.UrlInitializer
-
- org.jivesoftware.smack.initializer.VmArgInitializer
-
- All Implemented Interfaces:
SmackInitializer
public class VmArgInitializer extends UrlInitializer
Looks for a provider file location based on the VM argument smack.provider.file. If it is supplied, its value will be used as a file location for a providers file and loaded into theProviderManager
on Smack initialization.
-
-
Constructor Summary
Constructors Constructor Description VmArgInitializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
getFilePath()
List<Exception>
initialize()
-
Methods inherited from class org.jivesoftware.smack.initializer.UrlInitializer
getConfigUri, getProvidersUri
-
-
-
-
Constructor Detail
-
VmArgInitializer
public VmArgInitializer()
-
-
Method Detail
-
getFilePath
protected String getFilePath()
-
initialize
public List<Exception> initialize()
- Specified by:
initialize
in interfaceSmackInitializer
- Overrides:
initialize
in classUrlInitializer
-
-