org.oddjob.jmx.server
Class ServerContextImpl
java.lang.Object
org.oddjob.jmx.server.ServerContextImpl
- All Implemented Interfaces:
- ServerContext
public class ServerContextImpl
- extends Object
- implements ServerContext
Provide a server context which can be passed down through the nodes
of the server and used to look up useful things.
- Author:
- Rob Gordon.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServerContextImpl
public ServerContextImpl(Object root,
ServerModel model,
BeanDirectory componentRegistry)
- A constructor for the top most server
context.
addChild
public ServerContext addChild(Object child)
throws ServerLoopBackException
- Specified by:
addChild in interface ServerContext
- Throws:
ServerLoopBackException
getComponent
public Object getComponent()
getModel
public ServerModel getModel()
- Specified by:
getModel in interface ServerContext
getLogArchiver
public LogArchiver getLogArchiver()
- Specified by:
getLogArchiver in interface ServerContext
getConsoleArchiver
public ConsoleArchiver getConsoleArchiver()
- Specified by:
getConsoleArchiver in interface ServerContext
getServerId
public ServerId getServerId()
- Specified by:
getServerId in interface ServerContext
getAddress
public Address getAddress()
- Specified by:
getAddress in interface ServerContext
getBeanDirectory
public BeanDirectory getBeanDirectory()
- Specified by:
getBeanDirectory in interface ServerContext