com.caucho.server.admin
Class Management

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

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()
           
 
Method Summary
 void addPing(java.lang.Object ping)
          Create and configure the stat service
 void addUser(Management.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. 
 java.lang.Object createXaLogService()
          Create and configure the transaction log.
 void destroy()
           
 void dumpThreads()
           
 BamBroker getAdminBroker()
          Returns the admin broker
protected  Cluster getCluster()
           
static Path getCurrentPath()
           
 HostConfig getHostConfig()
           
 Path getPath()
           
 java.lang.String getRemoteCookie()
          Returns the management cookie.
 java.lang.String getServerId()
           
 void init()
           
 void setCluster(Cluster cluster)
           
 void setManagementPath(Path managementPath)
          Deprecated. 
 void setPath(Path path)
          Sets the path for storing managment related logs and files, default is "admin".
 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()
Method Detail

getCurrentPath

public static Path getCurrentPath()

setCluster

public void setCluster(Cluster cluster)

setResin

public void setResin(Resin resin)

setServer

public void setServer(Server server)

getServerId

public java.lang.String getServerId()

setPath

public void setPath(Path path)
Sets the path for storing managment related logs and files, default is "admin".


getPath

public Path getPath()

addUser

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


getRemoteCookie

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


getAdminBroker

public BamBroker 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


addPing

public void addPing(java.lang.Object ping)
Create and configure the stat service


createXaLogService

public java.lang.Object createXaLogService()
Create and configure the transaction log.


setManagementPath

@Deprecated
public void setManagementPath(Path managementPath)
Deprecated. 

backwards compat


createTransactionManager

@Deprecated
public TransactionManager createTransactionManager()
                                            throws ConfigException
Deprecated. 

backwards compat

Throws:
ConfigException

init

public void init()

start

public void start(Server server)
Starts the management server


getHostConfig

public HostConfig getHostConfig()

getCluster

protected Cluster getCluster()

dumpThreads

public void dumpThreads()

destroy

public void destroy()