org.apache.avalon.phoenix.components.manager
Class NoopSystemManager
org.apache.avalon.phoenix.components.manager.AbstractSystemManager
|
+--org.apache.avalon.phoenix.components.manager.NoopSystemManager
- All Implemented Interfaces:
- SystemManager
- public class NoopSystemManager
- extends AbstractSystemManager
Null SystemManager.
- Author:
- Eung-ju Park
Fields inherited from interface org.apache.avalon.phoenix.interfaces.SystemManager |
ROLE |
Method Summary |
void |
dispose()
|
protected Object |
export(String name,
Object object,
Class[] interfaces)
Export the object to the particular management medium using
the supplied object and interfaces. |
void |
start()
|
void |
stop()
|
protected void |
unexport(String name,
Object exportedObject)
Stop the exported object from being managed. |
protected void |
verifyInterface(Class clazz)
Verify that an interface conforms to the requirements of management medium. |
NoopSystemManager
public NoopSystemManager()
start
public void start()
stop
public void stop()
dispose
public void dispose()
export
protected Object export(String name,
Object object,
Class[] interfaces)
throws ManagerException
- Description copied from class:
AbstractSystemManager
- Export the object to the particular management medium using
the supplied object and interfaces.
This needs to be implemented by subclasses.
- Overrides:
export
in class AbstractSystemManager
- Following copied from class:
org.apache.avalon.phoenix.components.manager.AbstractSystemManager
- Parameters:
name
- the name of objectobject
- the objectinterfaces
- the interfaces- Returns:
- the exported object
- Throws:
ManagerException
- if an error occurs
unexport
protected void unexport(String name,
Object exportedObject)
throws ManagerException
- Description copied from class:
AbstractSystemManager
- Stop the exported object from being managed.
- Overrides:
unexport
in class AbstractSystemManager
- Following copied from class:
org.apache.avalon.phoenix.components.manager.AbstractSystemManager
- Parameters:
name
- the name of objectexportedObject
- the object return by export- Throws:
ManagerException
- if an error occurs
verifyInterface
protected void verifyInterface(Class clazz)
throws ManagerException
- Description copied from class:
AbstractSystemManager
- Verify that an interface conforms to the requirements of management medium.
- Overrides:
verifyInterface
in class AbstractSystemManager
- Following copied from class:
org.apache.avalon.phoenix.components.manager.AbstractSystemManager
- Parameters:
clazz
- the interface class- Throws:
ManagerException
- if verification fails
Copyright © 2001 Apache Jakarta Project. All Rights Reserved.