org.ow2.petals.admin.api
Interface ContainerAdministration


public interface ContainerAdministration

Author:
Nicolas Oddoux - EBM WebSourcing

Method Summary
 void changeLoggerLevel(java.lang.String loggerName, java.lang.String loggerLevel)
          Change the level of a logger.
 void connect(java.lang.String host, int port, java.lang.String user, java.lang.String password)
           
 void disconnect()
           
 java.util.List<Logger> getLoggers()
          Get loggers available on the container.
 java.util.Properties getServerProperties()
           
 java.lang.String getSystemInfo()
           
 Domain getTopology()
           
 void shutdownContainer()
           
 void stopContainer()
           
 

Method Detail

connect

void connect(java.lang.String host,
             int port,
             java.lang.String user,
             java.lang.String password)
             throws ContainerAdministrationException
Throws:
ContainerAdministrationException

disconnect

void disconnect()
                throws ContainerAdministrationException
Throws:
ContainerAdministrationException

getSystemInfo

java.lang.String getSystemInfo()
                               throws ContainerAdministrationException
Throws:
ContainerAdministrationException

stopContainer

void stopContainer()
                   throws ContainerAdministrationException
Throws:
ContainerAdministrationException

shutdownContainer

void shutdownContainer()
                       throws ContainerAdministrationException
Throws:
ContainerAdministrationException

getTopology

Domain getTopology()
                   throws ContainerAdministrationException
Throws:
ContainerAdministrationException

getServerProperties

java.util.Properties getServerProperties()
                                         throws ContainerAdministrationException
Throws:
ContainerAdministrationException

changeLoggerLevel

void changeLoggerLevel(java.lang.String loggerName,
                       java.lang.String loggerLevel)
                       throws InvalidLogLevelException,
                              LoggerNotFoundException,
                              ContainerAdministrationException
Change the level of a logger.

Parameters:
loggerName - The logger for which the level will be updated.
loggerLevel - The level to set to the logger
Throws:
InvalidLogLevelException - The level is invalid (does not exist).
LoggerNotFoundException - The logger does not exist.
ContainerAdministrationException - An error occurs updating the logger level.

getLoggers

java.util.List<Logger> getLoggers()
                                  throws ContainerAdministrationException
Get loggers available on the container.

Returns:
The list of loggers available on the container.
Throws:
ContainerAdministrationException - An error occurs getting loggers.


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