org.oddjob.jmx.server
Class ServerModelImpl

java.lang.Object
  extended by org.oddjob.jmx.server.ServerModelImpl
All Implemented Interfaces:
ServerModel

public class ServerModelImpl
extends Object
implements ServerModel

Collects properties of the server in one place.

Author:
Rob Gordon.

Constructor Summary
ServerModelImpl(ServerId serverId, ThreadManager threadManager, ServerInterfaceManagerFactory imf)
          A constructor for the top most server context.
 
Method Summary
 ServerInterfaceManagerFactory getInterfaceManagerFactory()
           
 String getLogFormat()
          Getter for log format.
 ServerId getServerId()
           
 ThreadManager getThreadManager()
           
 void setLogFormat(String logFormat)
          The log format.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServerModelImpl

public ServerModelImpl(ServerId serverId,
                       ThreadManager threadManager,
                       ServerInterfaceManagerFactory imf)
A constructor for the top most server context.

Method Detail

getServerId

public ServerId getServerId()
Specified by:
getServerId in interface ServerModel
Returns:
Returns the uniqueId.

getThreadManager

public ThreadManager getThreadManager()
Specified by:
getThreadManager in interface ServerModel
Returns:
Returns the threadManager.

getInterfaceManagerFactory

public ServerInterfaceManagerFactory getInterfaceManagerFactory()
Specified by:
getInterfaceManagerFactory in interface ServerModel
Returns:
Returns the interfaceManagerFactory.

getLogFormat

public String getLogFormat()
Getter for log format.

Specified by:
getLogFormat in interface ServerModel
Returns:
The log format.

setLogFormat

public void setLogFormat(String logFormat)
The log format.

Parameters:
logFormat - The log format.