org.ow2.petals.admin.jmx
Class JMXContainerAdministration

java.lang.Object
  extended by org.ow2.petals.admin.jmx.JMXContainerAdministration
All Implemented Interfaces:
org.ow2.petals.admin.api.ContainerAdministration

public class JMXContainerAdministration
extends java.lang.Object
implements org.ow2.petals.admin.api.ContainerAdministration

Author:
Nicolas Oddoux - EBM WebSourcing

Constructor Summary
protected JMXContainerAdministration()
           
 
Method Summary
 void changeLoggerLevel(java.lang.String loggerName, java.lang.String loggerLevel)
           
 void connect(java.lang.String host, int port, java.lang.String user, java.lang.String password)
           
 void disconnect()
           
 java.util.List<org.ow2.petals.admin.api.artifact.Logger> getLoggers()
           
 java.util.Properties getServerProperties()
           
 java.lang.String getSystemInfo()
           
 org.ow2.petals.admin.topology.Domain getTopology()
           
 void shutdownContainer()
           
 void stopContainer()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JMXContainerAdministration

protected JMXContainerAdministration()
Method Detail

connect

public void connect(java.lang.String host,
                    int port,
                    java.lang.String user,
                    java.lang.String password)
             throws org.ow2.petals.admin.api.exception.ContainerAdministrationException
Specified by:
connect in interface org.ow2.petals.admin.api.ContainerAdministration
Throws:
org.ow2.petals.admin.api.exception.ContainerAdministrationException

disconnect

public void disconnect()
                throws org.ow2.petals.admin.api.exception.ContainerAdministrationException
Specified by:
disconnect in interface org.ow2.petals.admin.api.ContainerAdministration
Throws:
org.ow2.petals.admin.api.exception.ContainerAdministrationException

getSystemInfo

public java.lang.String getSystemInfo()
                               throws org.ow2.petals.admin.api.exception.ContainerAdministrationException
Specified by:
getSystemInfo in interface org.ow2.petals.admin.api.ContainerAdministration
Throws:
org.ow2.petals.admin.api.exception.ContainerAdministrationException

stopContainer

public void stopContainer()
                   throws org.ow2.petals.admin.api.exception.ContainerAdministrationException
Specified by:
stopContainer in interface org.ow2.petals.admin.api.ContainerAdministration
Throws:
org.ow2.petals.admin.api.exception.ContainerAdministrationException

shutdownContainer

public void shutdownContainer()
                       throws org.ow2.petals.admin.api.exception.ContainerAdministrationException
Specified by:
shutdownContainer in interface org.ow2.petals.admin.api.ContainerAdministration
Throws:
org.ow2.petals.admin.api.exception.ContainerAdministrationException

getTopology

public org.ow2.petals.admin.topology.Domain getTopology()
                                                 throws org.ow2.petals.admin.api.exception.ContainerAdministrationException
Specified by:
getTopology in interface org.ow2.petals.admin.api.ContainerAdministration
Throws:
org.ow2.petals.admin.api.exception.ContainerAdministrationException

getServerProperties

public java.util.Properties getServerProperties()
                                         throws org.ow2.petals.admin.api.exception.ContainerAdministrationException
Specified by:
getServerProperties in interface org.ow2.petals.admin.api.ContainerAdministration
Throws:
org.ow2.petals.admin.api.exception.ContainerAdministrationException

changeLoggerLevel

public void changeLoggerLevel(java.lang.String loggerName,
                              java.lang.String loggerLevel)
                       throws org.ow2.petals.admin.api.exception.LoggerNotFoundException,
                              org.ow2.petals.admin.api.exception.InvalidLogLevelException,
                              org.ow2.petals.admin.api.exception.ContainerAdministrationException
Specified by:
changeLoggerLevel in interface org.ow2.petals.admin.api.ContainerAdministration
Throws:
org.ow2.petals.admin.api.exception.LoggerNotFoundException
org.ow2.petals.admin.api.exception.InvalidLogLevelException
org.ow2.petals.admin.api.exception.ContainerAdministrationException

getLoggers

public java.util.List<org.ow2.petals.admin.api.artifact.Logger> getLoggers()
                                                                    throws org.ow2.petals.admin.api.exception.ContainerAdministrationException
Specified by:
getLoggers in interface org.ow2.petals.admin.api.ContainerAdministration
Throws:
org.ow2.petals.admin.api.exception.ContainerAdministrationException


Copyright © 2005-2012 Petals Link (EBM Websourcing). All Rights Reserved.