|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jhotdraw.contrib.html.DisposableResourceManagerFactory
public abstract class DisposableResourceManagerFactory
DisposableResourceManagerFactory creates DisposableResourceHolders on behalf of requesting clients. It automatically registers the holders with its singleton standard resource manager
Field Summary | |
---|---|
static long |
DEFAULT_DISPOSAL_PERIODICITY
The default periodicity for resource disposal |
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. |
static void |
setStrategy(ResourceDisposabilityStrategy strategy)
Sets the strategy of the DisposableResourceManagerFactory class. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static long DEFAULT_DISPOSAL_PERIODICITY
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |