|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jhotdraw.contrib.html.DisposableResourceManagerFactory
DisposableResourceManagerFactory creates DisposableResourceHolders on behalf of requesting clients. It automatically registers the holders with its singleton standard resource manager
Field Summary | |
protected static DisposableResourceManager |
currentManager
The singleton current resource manager |
protected static ResourceDisposabilityStrategy |
currentStrategy
|
static long |
DEFAULT_DISPOSAL_PERIODICITY
The default periodicity for resource disposal |
protected static DisposableResourceHolder |
holderPrototype
|
Constructor Summary | |
DisposableResourceManagerFactory()
|
Method Summary | |
static DisposableResourceHolder |
createStandardHolder(java.lang.Object resource)
Returns a new standard resource holder already registered with the default resource manager |
static DisposableResourceManager |
getManager()
Gets the current manager. |
protected static void |
initManager()
Initializes the standard resource disposal manager |
static void |
setStrategy(ResourceDisposabilityStrategy strategy)
Sets the strategy of the DisposableResourceManagerFactory class. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static long DEFAULT_DISPOSAL_PERIODICITY
protected static DisposableResourceManager currentManager
protected static ResourceDisposabilityStrategy currentStrategy
protected static DisposableResourceHolder holderPrototype
Constructor Detail |
public DisposableResourceManagerFactory()
Method Detail |
public static DisposableResourceManager getManager()
public static void setStrategy(ResourceDisposabilityStrategy strategy)
strategy
- The new disposalStrategypublic static DisposableResourceHolder createStandardHolder(java.lang.Object resource)
resource
- Description of the Parameter
protected static void initManager()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |