|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.tubo.resource.baseimpl.BaseManagerImpl
public class BaseManagerImpl
Created: Apr 5, 2006 9:16:42 PM Last Modification Date: $Date: 2006-10-26 01:26:45 -0300 (Thu, 26 Oct 2006) $
| Field Summary | |
|---|---|
static java.lang.String |
RCS_ID
|
| Constructor Summary | |
|---|---|
BaseManagerImpl()
Default Constructor |
|
| Method Summary | |
|---|---|
Resource |
get()
Resource Get. This method is delegated to strategy. |
java.lang.String |
getId()
|
java.util.Properties |
getProperties()
|
java.lang.String |
getProperty(java.lang.String name)
|
ResourceManager |
getResourceManager()
Get for the ResourceManager linked to this Manager |
ManagerStrategy |
getStrategy()
|
void |
restore(Resource resource)
Restore resource. This method is delegated to strategy. |
void |
setId(java.lang.String id)
|
void |
setProperties(java.util.Properties properties)
|
void |
setProperty(java.lang.String name,
java.lang.String value)
|
void |
setResourceManager(ResourceManager resourceManager)
Set for the ResourceManager for this Manager |
void |
setStrategy(ManagerStrategy strategy)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String RCS_ID
| Constructor Detail |
|---|
public BaseManagerImpl()
| Method Detail |
|---|
public java.lang.String getId()
getId in interface Managerpublic void setId(java.lang.String id)
public ResourceManager getResourceManager()
getResourceManager in interface Manager
public void setResourceManager(ResourceManager resourceManager)
throws TuboException
setResourceManager in interface ManagerresourceManager - the ResourceManager for this Manager
TuboExceptionpublic ManagerStrategy getStrategy()
public void setStrategy(ManagerStrategy strategy)
public Resource get()
throws TuboResourceException
Resource Get.
This method is delegated to strategy.
get in interface ManagerTuboResourceException
public void restore(Resource resource)
throws TuboResourceException
Restore resource.
This method is delegated to strategy.
restore in interface Managerresource - Resource to be restored by strategy.
TuboResourceExceptionpublic java.util.Properties getProperties()
getProperties in interface Managerpublic void setProperties(java.util.Properties properties)
public java.lang.String getProperty(java.lang.String name)
getProperty in interface Manager
public void setProperty(java.lang.String name,
java.lang.String value)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||