org.apache.avalon.activation.appliance.impl
Class DefaultServiceContext

java.lang.Object
  extended byorg.apache.avalon.framework.context.DefaultContext
      extended byorg.apache.avalon.activation.appliance.impl.DefaultServiceContext
All Implemented Interfaces:
Context, ServiceContext

public class DefaultServiceContext
extends DefaultContext
implements ServiceContext

Service context supplied to an appliance factory.

Version:
$Revision: 1.1.1.1 $ $Date: 2003/09/24 09:30:42 $
Author:
Avalon Development Team

Constructor Summary
DefaultServiceContext()
           
 
Method Summary
 LoggingManager getLoggingManager()
          Return the logging manager.
 MBeanServer getMBeanServer()
          Return the MBean server.
 org.apache.excalibur.mpool.PoolManager getPoolManager()
          Return the pool manager.
 
Methods inherited from class org.apache.avalon.framework.context.DefaultContext
checkWriteable, get, getContextData, getParent, hide, makeReadOnly, put
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultServiceContext

public DefaultServiceContext()
Method Detail

getPoolManager

public org.apache.excalibur.mpool.PoolManager getPoolManager()
                                                      throws IllegalStateException
Return the pool manager.

Specified by:
getPoolManager in interface ServiceContext
Returns:
the pool manager
Throws:
IllegalStateException

getLoggingManager

public LoggingManager getLoggingManager()
                                 throws IllegalStateException
Return the logging manager.

Specified by:
getLoggingManager in interface ServiceContext
Returns:
the logging manager
Throws:
IllegalStateException

getMBeanServer

public MBeanServer getMBeanServer()
Return the MBean server. If no MBeanServer has been assigned the method will return null.

Returns:
the MBeanServer if available else null


Copyright © Apache Software Foundation. All Rights Reserved.