|
Xindice API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ResourceManager is an interface that is implemented to manage shared resources. Implementations are responsible for managing these objects in a custom-fashion. StdResourceManager is the standard implementation of this interface.
StdResourceManager
Method Summary | |
java.lang.Object |
getResource(java.lang.String name)
getResource retrieves a resource by name from the ResourceManager. |
java.lang.Object |
getResource(Versioning versioning,
java.lang.String name)
getResource retrieves a resource by name from the ResourceManager. |
void |
lockResource(java.lang.String name)
lockResource locks a resource by name in the ResourceManager. |
void |
lockResource(Versioning versioning,
java.lang.String name)
lockResource locks a resource by name in the ResourceManager. |
void |
removeResource(java.lang.String name)
removeResource removes a resource by name from the ResourceManager. |
void |
removeResource(Versioning versioning,
java.lang.String name)
removeResource removes a resource by name from the ResourceManager. |
void |
setResource(java.lang.String name,
java.lang.Object object)
setResource places a resource by name into the ResourceManager. |
void |
setResource(Versioning versioning,
java.lang.String name,
java.lang.Object object)
setResource places a resource by name into the ResourceManager. |
void |
unlockResource(java.lang.String name)
unlockResource unlocks a resource by name in the ResourceManager. |
void |
unlockResource(Versioning versioning,
java.lang.String name)
unlockResource unlocks a resource by name in the ResourceManager. |
Method Detail |
public void setResource(Versioning versioning, java.lang.String name, java.lang.Object object) throws ParameterException
versioning
- the version space to usename
- the resource nameobject
- the object resourceParameterException
- if the object cannot be storedpublic void setResource(java.lang.String name, java.lang.Object object) throws ParameterException
name
- the resource nameobject
- the object resourceParameterException
- if the object cannot be storedpublic void removeResource(Versioning versioning, java.lang.String name)
versioning
- the version space to usename
- the resource namepublic void removeResource(java.lang.String name)
name
- the resource namepublic java.lang.Object getResource(Versioning versioning, java.lang.String name)
versioning
- the version space to usename
- the resource namepublic java.lang.Object getResource(java.lang.String name)
name
- the resource namepublic void lockResource(Versioning versioning, java.lang.String name)
versioning
- the version space to usename
- the resource namepublic void lockResource(java.lang.String name)
name
- the resource namepublic void unlockResource(Versioning versioning, java.lang.String name)
versioning
- the version space to usename
- the resource namepublic void unlockResource(java.lang.String name)
name
- the resource name
|
Xindice API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |