org.apache.avalon.phoenix.components.manager
Class NoopSystemManager
java.lang.Object
|
+--AbstractLogEnabled
|
+--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
- See Also:
- Serialized Form
Fields inherited from interface org.apache.avalon.phoenix.interfaces.SystemManager |
ROLE |
Method Summary |
void |
dispose()
|
protected java.lang.Object |
export(java.lang.String name,
java.lang.Object object,
java.lang.Class[] interfaces)
Export the object to the particular management medium using
the supplied object and interfaces. |
void |
start()
|
void |
stop()
|
protected void |
unexport(java.lang.String name,
java.lang.Object exportedObject)
Stop the exported object from being managed. |
protected void |
verifyInterface(java.lang.Class clazz)
Verify that an interface conforms to the requirements of management medium. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NoopSystemManager
public NoopSystemManager()
start
public void start()
stop
public void stop()
dispose
public void dispose()
export
protected java.lang.Object export(java.lang.String name,
java.lang.Object object,
java.lang.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.
- Specified by:
export
in class 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(java.lang.String name,
java.lang.Object exportedObject)
throws ManagerException
- Description copied from class:
AbstractSystemManager
- Stop the exported object from being managed.
- Specified by:
unexport
in class AbstractSystemManager
- Parameters:
name
- the name of objectexportedObject
- the object return by export
- Throws:
ManagerException
- if an error occurs
verifyInterface
protected void verifyInterface(java.lang.Class clazz)
throws ManagerException
- Description copied from class:
AbstractSystemManager
- Verify that an interface conforms to the requirements of management medium.
- Specified by:
verifyInterface
in class AbstractSystemManager
- Parameters:
clazz
- the interface class
- Throws:
ManagerException
- if verification fails
Copyright © 2001 Apache Jakarta Project. All Rights Reserved.