|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.edg.security.delegation.DelegationStorageContainer
A container class that creates the delegation storage or returns existing if one exists. NOTE: The class name of the delegation storage instance to be created is given as a parameter named "STORAGE_TYPE_PARAM" inside the java.util.Properties object that is passed within createStorage(Properties obj) call. I.e. Properties object could contain the pair (STORAGE_TYPE_PARAM, org.edg.security.delegation.DelegationStorageMap) for example.
Method Summary | |
DelegationStorage |
createStorage(java.util.Properties config)
Creates a new DelegationStorage, wraps it inside this Container class and returns it. |
static DelegationStorageContainer |
getInstance()
Returns the singleton instance of this class. |
DelegationStorage |
getStorage()
Returns the existing DelegationStorage |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static DelegationStorageContainer getInstance()
public DelegationStorage getStorage()
public DelegationStorage createStorage(java.util.Properties config) throws java.lang.Exception
config
- Properties object
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |