com.caucho.server.admin
Class Management

java.lang.Object
  extended by com.caucho.server.admin.Management
Direct Known Subclasses:
ProManagement

@Configurable
public class Management
extends java.lang.Object

Configuration for management.


Nested Class Summary
static class Management.User
           
 
Field Summary
protected  TransactionManager _transactionManager
           
static java.lang.String HOST_NAME
           
 
Constructor Summary
Management()
           
Management(Resin resin)
           
 
Method Summary
 void addUser(XmlAuthenticator.User user)
          Adds a user
 java.lang.Object createDeployService()
          Create and configure the j2ee deploy service.
 java.lang.Object createJmxService()
          Create and configure the jmx service.
 java.lang.Object createLogService()
          Create and configure the persistent logger.
 java.lang.Object createPing()
          Create and configure the stat service
 java.lang.Object createRemoteService()
          Creates the remote service
 java.lang.Object createStatService()
          Create and configure the stat service
 TransactionManager createTransactionManager()
          Deprecated. 
 XmlAuthenticator.User createUser()
           
 java.lang.Object createXaLogService()
          Create and configure the stat service
 void destroy()
           
 void dumpThreads()
           
 ManagedBroker getAdminBroker()
          Returns the admin broker
 double getCpuLoad()
           
 HostConfig getHostConfig()
           
 java.lang.String getRemoteCookie()
          Returns the management cookie.
 java.lang.String getServerId()
           
 void init()
           
 void setManagementPath(Path managementPath)
          Deprecated. 
 void setPath(Path path)
           
 void setResin(Resin resin)
           
 void setServer(Server server)
           
 void start(Server server)
          Starts the management server
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

HOST_NAME

public static final java.lang.String HOST_NAME
See Also:
Constant Field Values

_transactionManager

protected TransactionManager _transactionManager
Constructor Detail

Management

public Management()

Management

public Management(Resin resin)
Method Detail

setResin

public void setResin(Resin resin)

setServer

public void setServer(Server server)

getServerId

public java.lang.String getServerId()

setPath

public void setPath(Path path)

createUser

public XmlAuthenticator.User createUser()

addUser

public void addUser(XmlAuthenticator.User user)
Adds a user


getRemoteCookie

public java.lang.String getRemoteCookie()
Returns the management cookie.


getAdminBroker

public ManagedBroker getAdminBroker()
Returns the admin broker


createDeployService

public java.lang.Object createDeployService()
Create and configure the j2ee deploy service.


createJmxService

public java.lang.Object createJmxService()
Create and configure the jmx service.


createLogService

public java.lang.Object createLogService()
Create and configure the persistent logger.


createRemoteService

public java.lang.Object createRemoteService()
Creates the remote service


createStatService

public java.lang.Object createStatService()
Create and configure the stat service


createPing

public java.lang.Object createPing()
Create and configure the stat service


createXaLogService

public java.lang.Object createXaLogService()
Create and configure the stat service


setManagementPath

@Deprecated
public void setManagementPath(Path managementPath)
Deprecated. 

backwards compat


createTransactionManager

@Deprecated
public TransactionManager createTransactionManager()
                                            throws ConfigException
Deprecated. 

backwards compat

Throws:
ConfigException

init

@PostConstruct
public void init()

start

public void start(Server server)
Starts the management server


getHostConfig

public HostConfig getHostConfig()

getCpuLoad

public double getCpuLoad()

dumpThreads

public void dumpThreads()

destroy

public void destroy()