Package edu.uiuc.ncsa.security.storage
Class StoreInitializer
- java.lang.Object
-
- edu.uiuc.ncsa.security.storage.StoreInitializer
-
- All Implemented Interfaces:
Initializable
- Direct Known Subclasses:
FSInitializer
,SQLDBInitializer
public abstract class StoreInitializer extends Object implements Initializable
Initializes a store. note that stores have different create and destroy semantics which are all logically indep. of each other. File stores, e.g., are created as needed, but database stores correspond to sets of tables.Created by Jeff Gaynor
on 4/23/12 at 10:23 AM
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
created
protected boolean
destroyed
protected boolean
initialized
-
Constructor Summary
Constructors Constructor Description StoreInitializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isCreated()
(Optional) Returns true if the object in question has been created.boolean
isDestroyed()
(Optional) Returns true if the object in question has been destroyed.boolean
isInitialized()
(Optional) Returns true if the object in question has been initialized.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface edu.uiuc.ncsa.security.core.Initializable
createNew, destroy, init
-
-
-
-
Method Detail
-
isCreated
public boolean isCreated()
Description copied from interface:Initializable
(Optional) Returns true if the object in question has been created. If this cannot be determined then the call should throw an exception.- Specified by:
isCreated
in interfaceInitializable
- Returns:
-
isInitialized
public boolean isInitialized()
Description copied from interface:Initializable
(Optional) Returns true if the object in question has been initialized. If this cannot be determined this call should throw an exception.- Specified by:
isInitialized
in interfaceInitializable
- Returns:
-
isDestroyed
public boolean isDestroyed()
Description copied from interface:Initializable
(Optional) Returns true if the object in question has been destroyed. If this cannot be determined this call should throw an exception.- Specified by:
isDestroyed
in interfaceInitializable
- Returns:
-
-