|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.iris.Fissures.seed.container.BlocketteDecoratorFactory
public class BlocketteDecoratorFactory
BlocketteDecoratorFactory - singleton factory used for generating new BlocketteDecorators of various flavors. Also used to track session-specific links, such as pointers to Containers and other necessities that need to be detached from direct reference by the Decorator instance itself.
Method Summary | |
---|---|
static CachedBlocketteDecorator |
createCachedDecorator(Blockette blk,
boolean persistenceCached)
Construct and return a new CachedBlocketteDecorator seeding it with the offered Blockette and indicating true if disk persistence caching is being used. |
static ObjectContainer |
getContainerByVol(int volNum)
return a handle to the ObjectContainer that relates to this Volume Number |
static BlocketteDecoratorFactory |
getInstance()
return a singleton instance of this factory class |
static int |
getNewVolumeNumber()
Strange but true. |
static void |
setContainerByVol(ObjectContainer oc,
int volNum)
Associate an ObjectContainer instance with the indicated volume number. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static BlocketteDecoratorFactory getInstance()
public static CachedBlocketteDecorator createCachedDecorator(Blockette blk, boolean persistenceCached) throws ContainerException, SeedException
blk
- persistenceCached
-
ContainerException
SeedException
public static ObjectContainer getContainerByVol(int volNum)
public static void setContainerByVol(ObjectContainer oc, int volNum)
oc
- the ObjectContainer instancevolNum
- the volume number that relates to itpublic static int getNewVolumeNumber()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |