com.dynamide.resource
Class Pool

java.lang.Object
  extended by com.dynamide.DynamideObject
      extended by com.dynamide.resource.ContextNode
          extended by com.dynamide.resource.Pool
All Implemented Interfaces:
IContext, IGet
Direct Known Subclasses:
Assembly, ResourceManager

public class Pool
extends ContextNode
implements IContext


Field Summary
static long DEFAULT_POOL_TIMEOUT
           
 
Fields inherited from class com.dynamide.DynamideObject
m_id
 
Constructor Summary
protected Pool(DynamideObject owner)
           
protected Pool(DynamideObject owner, java.lang.String key)
           
 
Method Summary
 java.lang.Object getPooledObject(java.lang.String key)
          Look in the default pool for the resource by key.
 int getPoolMax()
           
 void setPoolMax(int new_value)
           
 void setPoolMax(java.lang.String new_value)
           
 
Methods inherited from class com.dynamide.resource.ContextNode
bind, bind, bindAll, bindAllAttributes, bindAttribute, dump, dumpAttributes, dumpContext, find, find, find, firstContext, get, getAttribute, getAttributeCount, getAttributes, getContext, getContextCount, getContexts, getKey, getPermission, hasAttribute, hasContext, listAttributeNames, listAttributeNames, listContextNames, listContextNames, lockPermissions, rebind, rebind, rebindAttribute, remove, removeAttribute, removeFirstContext, setKey, toString, unlockPermissions, update, writeCache
 
Methods inherited from class com.dynamide.DynamideObject
clearProfiler, dump, dumpHTML, expand, finalize, findParentExpander, findParentPage, findParentSession, findTopParentPage, getCategoryID, getDotName, getID, getNextGetter, getObjectID, getOwner, getProfiler, isDebugEnabled, isInfoEnabled, logDebug, logDebug, logDebug, logDebug, logError, logError, logError, logError, logInfo, logInfo, logInfo, logInfo, logWarn, logWarn, logWarn, logWarn, popLogContext, printf, printProfiler, profileEnter, profileLeave, pushLogContext, setDotName, setID, setNextGetter, setObjectID, setOwner, sprintf, useProfiler, walkParents
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.dynamide.resource.IContext
bind, bind, bindAll, bindAllAttributes, bindAttribute, dumpAttributes, dumpContext, find, find, find, firstContext, getAttribute, getAttributeCount, getAttributes, getContext, getContextCount, getContexts, getKey, getPermission, hasAttribute, hasContext, lockPermissions, rebind, rebind, rebindAttribute, remove, removeAttribute, removeFirstContext, setKey, unlockPermissions, update
 

Field Detail

DEFAULT_POOL_TIMEOUT

public static final long DEFAULT_POOL_TIMEOUT
See Also:
Constant Field Values
Constructor Detail

Pool

protected Pool(DynamideObject owner)

Pool

protected Pool(DynamideObject owner,
               java.lang.String key)
Method Detail

getPoolMax

public int getPoolMax()

setPoolMax

public void setPoolMax(java.lang.String new_value)

setPoolMax

public void setPoolMax(int new_value)

getPooledObject

public java.lang.Object getPooledObject(java.lang.String key)
                                 throws java.lang.SecurityException
Look in the default pool for the resource by key.

Throws:
java.lang.SecurityException


Copyright 2001-2013 DYNAMIDE.COM. All Rights Reserved.