|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.wvcm.ProviderFactory
public final class ProviderFactory
This factory class is used to create instances of WVCM providers. The providers are identified by their class names and are runtime loaded.
Nested Class Summary | |
---|---|
static interface |
ProviderFactory.Callback
Provides callback functions that can be invoked by a provider. |
static interface |
ProviderFactory.TokenCallback
NOT YET STANDARD Token based callback for provider. |
Constructor Summary | |
---|---|
ProviderFactory()
|
Method Summary | |
---|---|
static Provider |
createProvider(java.lang.String providerName,
ProviderFactory.Callback callback)
Return an instance of the Provider whose class name is providerName |
static Provider |
createProvider(java.lang.String providerName,
ProviderFactory.Callback callback,
java.util.Hashtable h)
Return an instance of the Provider whose class name is providerName |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ProviderFactory()
Method Detail |
---|
public static Provider createProvider(java.lang.String providerName, ProviderFactory.Callback callback) throws java.lang.Exception
providerName
- The class name of the provider.callback
- The object containing the getAuthentication
method that the Provider will call whenever it needs
to authenticate the current user.
java.lang.Exception
public static Provider createProvider(java.lang.String providerName, ProviderFactory.Callback callback, java.util.Hashtable h) throws java.lang.Exception
providerName
- The class name of the provider.callback
- The object containing the getAuthentication
method that the Provider will call whenever it needs
to authenticate the current user.h
- A hashtable containing provider-specific initialization values.
java.lang.Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |