Package com.easydesk.message
Class ResourceManager
java.lang.Object
org.apache.torque.manager.AbstractBaseManager
com.easydesk.message.ResourceManager
- All Implemented Interfaces:
Serializable
DOCUMENT ME!
- Version:
- $id: ResourceManager.java $Revision$, 06-21-17 7:29:29 AM KST
- Author:
- YounghoCho
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final StringThe name of our class to pass to Torque as the default manager.protected static final StringDOCUMENT ME!Fields inherited from class org.apache.torque.manager.AbstractBaseManager
cache, groupCache, log, mrCache -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ResourceStatic accessor for the @see #getInstanceImpl().static ResourcegetInstance(ObjectKey id) Static accessor for the @see #getInstanceImpl(ObjectKey).protected ResourceGet a fresh instance of a Resourceprotected ResourceGet a Resource with the given id.static ResourceManagerRetrieves an implementation of the manager, based on the settings in the configuration.static MethodResultCacheDOCUMENT ME!voidDOCUMENT ME!static voidDOCUMENT ME!protected PersistentDOCUMENT ME!retrieveStoredOMs(List ids) DOCUMENT ME!Methods inherited from class org.apache.torque.manager.AbstractBaseManager
addCacheListenerImpl, addValidField, cacheGet, clearImpl, dispose, getClassName, getMethodResultCache, getOMClass, getOMInstance, getOMInstance, getOMInstance, getOMs, getOMs, getOMs, getRegion, notifyListeners, putInstanceImpl, registerAsListener, removeInstanceImpl, setClassName, setOMClass, setRegion
-
Field Details
-
MANAGED_CLASS
DOCUMENT ME!- See Also:
-
DEFAULT_MANAGER_CLASS
The name of our class to pass to Torque as the default manager.- See Also:
-
-
Constructor Details
-
ResourceManager
Creates a newItemManagerinstance.- Throws:
TorqueException- if an error occurs
-
-
Method Details
-
getManager
Retrieves an implementation of the manager, based on the settings in the configuration.- Returns:
- an implementation of ItemManager.
-
getMethodResult
DOCUMENT ME!- Returns:
- DOCUMENT ME!
-
putInstance
DOCUMENT ME!- Parameters:
om- DOCUMENT ME!- Throws:
TorqueException- DOCUMENT ME!
-
putInstanceImpl
- Overrides:
putInstanceImplin classAbstractBaseManager- Throws:
TorqueException
-
notifyListeners
DOCUMENT ME!- Parameters:
om- DOCUMENT ME!
-
getInstanceImpl
Get a fresh instance of a Resource- Returns:
- 새 Resource instance
- Throws:
TorqueException- instance 생성 중 오류가 발생한 경우
-
getInstanceImpl
Get a Resource with the given id.- Parameters:
id-ObjectKeyvalue- Returns:
- cache 에 있는 Resource, 없으면
null - Throws:
TorqueException- 조회 중 오류가 발생한 경우
-
retrieveStoredOM
DOCUMENT ME!- Specified by:
retrieveStoredOMin classAbstractBaseManager- Parameters:
id- DOCUMENT ME!- Returns:
- DOCUMENT ME!
- Throws:
TorqueException- DOCUMENT ME!
-
retrieveStoredOMs
DOCUMENT ME!- Specified by:
retrieveStoredOMsin classAbstractBaseManager- Parameters:
ids- DOCUMENT ME!- Returns:
- DOCUMENT ME!
- Throws:
TorqueException- DOCUMENT ME!
-
getInstance
Static accessor for the @see #getInstanceImpl().- Returns:
- a
Activityvalue - Throws:
TorqueException- if an error occurs
-
getInstance
Static accessor for the @see #getInstanceImpl(ObjectKey).- Parameters:
id- anObjectKeyvalue- Returns:
- a
Activityvalue - Throws:
TorqueException- if an error occurs
-