org.oddjob.jmx.server
Class ServerMainBean

java.lang.Object
  extended by org.oddjob.jmx.server.ServerMainBean
All Implemented Interfaces:
BeanDirectoryOwner, Structural

public class ServerMainBean
extends Object
implements BeanDirectoryOwner, Structural


Constructor Summary
ServerMainBean(Object root, BeanDirectory beanDirectory)
           
 
Method Summary
 void addStructuralListener(StructuralListener listener)
          Add a listener.
 BeanDirectory provideBeanDirectory()
          Get the BeanDirectory.
 void removeStructuralListener(StructuralListener listener)
          Remove a listener.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServerMainBean

public ServerMainBean(Object root,
                      BeanDirectory beanDirectory)
Method Detail

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.