Smack

org.jivesoftware.smack.provider
Class VmArgInitializer

java.lang.Object
  extended by org.jivesoftware.smack.provider.UrlProviderFileInitializer
      extended by org.jivesoftware.smack.provider.VmArgInitializer
All Implemented Interfaces:
SmackInitializer

public class VmArgInitializer
extends UrlProviderFileInitializer

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 the ProviderManager on Smack initialization.

Author:
Robin Collier

Constructor Summary
VmArgInitializer()
           
 
Method Summary
protected  java.lang.String getFilePath()
           
 void initialize()
           
 
Methods inherited from class org.jivesoftware.smack.provider.UrlProviderFileInitializer
getClassLoader
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VmArgInitializer

public VmArgInitializer()
Method Detail

getFilePath

protected java.lang.String getFilePath()
Specified by:
getFilePath in class UrlProviderFileInitializer

initialize

public void initialize()
Specified by:
initialize in interface SmackInitializer
Overrides:
initialize in class UrlProviderFileInitializer

Smack

Copyright © 2003-2007 Jive Software.