org.oddjob.jmx.server
Class ServerMainBean
java.lang.Object
org.oddjob.jmx.server.ServerMainBean
- All Implemented Interfaces:
- BeanDirectoryOwner, Structural
public class ServerMainBean
- extends Object
- implements BeanDirectoryOwner, Structural
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServerMainBean
public ServerMainBean(Object root,
BeanDirectory beanDirectory)
provideBeanDirectory
public BeanDirectory provideBeanDirectory()
- Description copied from interface:
BeanDirectoryOwner
- Get the
BeanDirectory
. This method may return null if
the BeanDirectory isn't available.
- Specified by:
provideBeanDirectory
in interface BeanDirectoryOwner
- Returns:
- The
BeanDirectory
or null.
addStructuralListener
public void addStructuralListener(StructuralListener listener)
- Description copied from interface:
Structural
- Add a listener. The listener will immediately receive add
notifications for all existing children.
- Specified by:
addStructuralListener
in interface Structural
- Parameters:
listener
- The listener.
removeStructuralListener
public void removeStructuralListener(StructuralListener listener)
- Description copied from interface:
Structural
- Remove a listener.
- Specified by:
removeStructuralListener
in interface Structural
- Parameters:
listener
- The listener.