com.caucho.server.admin
Class RemoteMBeanServer

java.lang.Object
  extended by com.caucho.server.admin.RemoteMBeanServer

public class RemoteMBeanServer
extends java.lang.Object

Remote mbean server


Constructor Summary
RemoteMBeanServer(java.lang.String serverId)
           
RemoteMBeanServer(java.lang.String host, int port)
           
RemoteMBeanServer(java.lang.String host, int port, java.lang.String user, java.lang.String password)
           
 
Method Summary
 boolean isRegistered(java.lang.String name)
          Looks up the given remote mbean.
 RemoteMBean lookup(java.lang.String name)
          Looks up the given remote mbean.
 java.lang.String[] query(java.lang.String pattern)
          Returns an array of names that match a JMX pattern.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RemoteMBeanServer

public RemoteMBeanServer(java.lang.String serverId)

RemoteMBeanServer

public RemoteMBeanServer(java.lang.String host,
                         int port,
                         java.lang.String user,
                         java.lang.String password)
                  throws java.lang.Exception
Throws:
java.lang.Exception

RemoteMBeanServer

public RemoteMBeanServer(java.lang.String host,
                         int port)
                  throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

lookup

public RemoteMBean lookup(java.lang.String name)
Looks up the given remote mbean.


isRegistered

public boolean isRegistered(java.lang.String name)
Looks up the given remote mbean.


query

public java.lang.String[] query(java.lang.String pattern)
Returns an array of names that match a JMX pattern. If the name contains a ":", it is a query in the global jmx namespace. If the name does not contain a ":", it is a search in the JMX namespace of the current web application.


toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object