org.oddjob.jmx.server
Class ServerContextMain

java.lang.Object
  extended by org.oddjob.jmx.server.ServerContextMain
All Implemented Interfaces:
ServerContext

public class ServerContextMain
extends Object
implements ServerContext


Constructor Summary
ServerContextMain(ServerModel model, BeanDirectory componentRegistry)
          A constructor for the top most server context.
 
Method Summary
 ServerContext addChild(Object child)
           
 Address getAddress()
           
 BeanDirectory getBeanDirectory()
           
 ConsoleArchiver getConsoleArchiver()
           
 LogArchiver getLogArchiver()
           
 ServerModel getModel()
           
 ServerId getServerId()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServerContextMain

public ServerContextMain(ServerModel model,
                         BeanDirectory componentRegistry)
A constructor for the top most server context.

Method Detail

addChild

public ServerContext addChild(Object child)
                       throws ServerLoopBackException
Specified by:
addChild in interface ServerContext
Throws:
ServerLoopBackException

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