|
RSE Release 3.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.rse.core.comm.SystemKeystoreProviderManager
public class SystemKeystoreProviderManager
A Registry of keystore providers, with the ability to instantiate providers lazily when needed.
Method Summary | |
---|---|
ISystemKeystoreProvider |
getDefaultProvider()
Return the default keystore provider. |
static SystemKeystoreProviderManager |
getInstance()
Return the SystemKeystoreProviderManager Instance. |
ISystemKeystoreProvider |
getProviderAt(int idx)
Return the keystore provider at the given index in the registry, or null if there is no provider at the given index
or it cannot be loaded. |
ISystemKeystoreProvider[] |
getProviders()
Return an array of all registered keystore providers. |
boolean |
hasProvider()
|
void |
registerKeystoreProvider(Bundle bundle,
String className)
Register a keystore provider for deferred (lazy) loading. |
void |
registerKeystoreProvider(ISystemKeystoreProvider ext)
Register a keystore provider. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static SystemKeystoreProviderManager getInstance()
public void registerKeystoreProvider(ISystemKeystoreProvider ext)
ext
- keystore provider to register.public void registerKeystoreProvider(Bundle bundle, String className)
bundle
- the bundle that declares the extension. The bundle
must be installed and will be activated lazily when trying
to load the given class name.className
- fully qualified classname of the keystore provider
declared in the given bundle.public boolean hasProvider()
public ISystemKeystoreProvider getProviderAt(int idx)
null
if there is no provider at the given index
or it cannot be loaded.
null
if no provider is found at the given index.public ISystemKeystoreProvider getDefaultProvider()
null
if no provider is found at the given index.public ISystemKeystoreProvider[] getProviders()
|
RSE Release 3.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |