JXTA

net.jxta.impl.membership.pse
Class PSEKeyStoreManagerFactory

java.lang.Object
  extended by net.jxta.impl.membership.pse.PSEKeyStoreManagerFactory

public abstract class PSEKeyStoreManagerFactory
extends Object

Encapsulates the behaviour for creating KeyStoreManager Objects.


Constructor Summary
PSEKeyStoreManagerFactory()
           
 
Method Summary
static PSEKeyStoreManagerFactory getDefault()
          Returns the default KeyStoreManagerGenerator.
abstract  KeyStoreManager getInstance(PSEMembershipService service, PSEConfigAdv config)
          Creates a new KeyStoreManager instance based upon the context and configuration.
static void setDefault(PSEKeyStoreManagerFactory newDefault)
          Sets the default KeyStoreManagerGenerator.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PSEKeyStoreManagerFactory

public PSEKeyStoreManagerFactory()
Method Detail

setDefault

public static void setDefault(PSEKeyStoreManagerFactory newDefault)
Sets the default KeyStoreManagerGenerator.

Parameters:
newDefault - The new default KeyStoreManagerGenerator.

getDefault

public static PSEKeyStoreManagerFactory getDefault()
Returns the default KeyStoreManagerGenerator.

Returns:
The current default KeyStoreManagerGenerator.

getInstance

public abstract KeyStoreManager getInstance(PSEMembershipService service,
                                            PSEConfigAdv config)
                                     throws PeerGroupException
Creates a new KeyStoreManager instance based upon the context and configuration.

Parameters:
service - The service that this keystore manager will be working for.
config - The configuration parameters.
Throws:
PeerGroupException

JXSE