|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.oddjob.jmx.server.ServerContextMain
public class ServerContextMain
Constructor Summary | |
---|---|
ServerContextMain(ServerModel model,
BeanDirectory componentRegistry)
A constructor for the top most server context. |
Method Summary | |
---|---|
ServerContext |
addChild(Object child)
Add a child component to the context. |
Address |
getAddress()
The address. |
BeanDirectory |
getBeanDirectory()
Get the bean directory that the component this is the context for belongs to. |
ConsoleArchiver |
getConsoleArchiver()
Get the console archiver for the component this is the context for. |
LogArchiver |
getLogArchiver()
Get the log archiver for the component this is the context for. |
ServerModel |
getModel()
Get the model. |
ServerId |
getServerId()
The server id. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ServerContextMain(ServerModel model, BeanDirectory componentRegistry)
Method Detail |
---|
public ServerContext addChild(Object child) throws ServerLoopBackException
ServerContext
addChild
in interface ServerContext
child
- A child.
ServerLoopBackException
- When the child has already been
exported by a previous server in the hierarchy.public ServerModel getModel()
ServerContext
getModel
in interface ServerContext
public LogArchiver getLogArchiver()
ServerContext
getLogArchiver
in interface ServerContext
public ConsoleArchiver getConsoleArchiver()
ServerContext
getConsoleArchiver
in interface ServerContext
public ServerId getServerId()
ServerContext
getServerId
in interface ServerContext
public Address getAddress()
ServerContext
getAddress
in interface ServerContext
public BeanDirectory getBeanDirectory()
ServerContext
getBeanDirectory
in interface ServerContext
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |