com.caucho.management.server
Interface ResinMXBean

All Superinterfaces:
ManagedObjectMXBean
All Known Implementing Classes:
ResinAdmin

public interface ResinMXBean
extends ManagedObjectMXBean

Management interface for the server. There is one ResinServer global for the entire JVM.

 resin:type=Resin
 


Method Summary
 ClusterMXBean[] getClusters()
          Returns the Cluster mbean-names for all clusters managed by Resin.
 java.lang.String getConfigDirectory()
          Returns the directory that contains resin.xml
 java.lang.String getConfigFile()
          Returns the config file, the value of "-conf foo.conf"
 ConfigMXBean[] getConfigs()
           
 java.lang.String getDataDirectory()
          Returns the resin-data directory
 java.lang.String getLocalHost()
          Returns the ip address or host name of the machine that is running this ResinServer.
 java.lang.String getLogDirectory()
          Returns the log directory, the value of "-log-directory"
 java.lang.String getResinHome()
          The Resin home directory used when starting this instance of Resin.
 java.lang.String getRootDirectory()
          The root directory used when starting this instance of Resin.
 ServerMXBean getServer()
          Returns the server MBean's ObjectName for this instance.
 java.lang.String getUserName()
          Returns the user name of the process that is running this ResinServer.
 java.lang.String getVersion()
          Returns the version.
 java.lang.String getWatchdogStartMessage()
          Returns the restart message.
 boolean isProfessional()
          Returns true for the professional version.
 boolean isRestart()
          Returns true if this was a restarted instance.
 
Methods inherited from interface com.caucho.management.server.ManagedObjectMXBean
getName, getObjectName, getType
 

Method Detail

getClusters

ClusterMXBean[] getClusters()
Returns the Cluster mbean-names for all clusters managed by Resin.


getServer

ServerMXBean getServer()
Returns the server MBean's ObjectName for this instance.


getConfigs

ConfigMXBean[] getConfigs()

getResinHome

java.lang.String getResinHome()
The Resin home directory used when starting this instance of Resin. This is the location of the Resin program files.


getRootDirectory

java.lang.String getRootDirectory()
The root directory used when starting this instance of Resin. This is the root directory of the web server files.


getConfigFile

java.lang.String getConfigFile()
Returns the config file, the value of "-conf foo.conf"


getConfigDirectory

java.lang.String getConfigDirectory()
Returns the directory that contains resin.xml


getLogDirectory

java.lang.String getLogDirectory()
Returns the log directory, the value of "-log-directory"


getDataDirectory

java.lang.String getDataDirectory()
Returns the resin-data directory


getVersion

java.lang.String getVersion()
Returns the version.


isProfessional

boolean isProfessional()
Returns true for the professional version.


getLocalHost

java.lang.String getLocalHost()
Returns the ip address or host name of the machine that is running this ResinServer.


getUserName

java.lang.String getUserName()
Returns the user name of the process that is running this ResinServer.


isRestart

boolean isRestart()
Returns true if this was a restarted instance.


getWatchdogStartMessage

java.lang.String getWatchdogStartMessage()
Returns the restart message.