This project has retired. For details please refer to its
Attic page.
AbstractComposableService (Cocoon API 2.1.12-dev [March 20 2012])
org.apache.cocoon.webservices
Class AbstractComposableService
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.cocoon.webservices.AbstractLogEnabledService
org.apache.cocoon.webservices.AbstractComposableService
- All Implemented Interfaces:
- javax.xml.rpc.server.ServiceLifecycle, Composable, LogEnabled
public abstract class AbstractComposableService
- extends AbstractLogEnabledService
- implements Composable
Base class for providing Composable SOAP services.
Note, this class is intended to be used in SOAP Services that require
references to Component's provided by the Cocoon Component Manager.
If you require full Avalon support in your SOAP Service, consider using
the AvalonProvider support built into Axis itself.
- Version:
- CVS $Id: AbstractComposableService.html 1304258 2012-03-23 10:09:27Z ilgrosso $
- Author:
- Marcus Crafter
|
Method Summary |
void |
compose(ComponentManager manager)
Compose this service. |
void |
destroy()
Called by the JAX-RPC runtime to signal the end of this service |
void |
init(Object context)
ServiceLifecycle init method. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
m_manager
protected ComponentManager m_manager
AbstractComposableService
public AbstractComposableService()
init
public void init(Object context)
throws javax.xml.rpc.ServiceException
- ServiceLifecycle
init method. Updates an internal
reference to the given context object, and enables logging for
this service.
- Specified by:
init in interface javax.xml.rpc.server.ServiceLifecycle- Overrides:
init in class AbstractLogEnabledService
- Parameters:
context - a javax.xml.rpc.ServiceLifecycle context
Object instance
- Throws:
javax.xml.rpc.ServiceException - if an error occurs
compose
public void compose(ComponentManager manager)
throws ComponentException
- Compose this service.
- Specified by:
compose in interface Composable
- Parameters:
manager - a ComponentManager instance
- Throws:
ComponentException - if an error occurs
destroy
public void destroy()
- Called by the JAX-RPC runtime to signal the end of this service
- Specified by:
destroy in interface javax.xml.rpc.server.ServiceLifecycle- Overrides:
destroy in class AbstractLogEnabledService
Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.