org.apache.cocoon.webservices
Class AbstractServiceableService
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.cocoon.webservices.AbstractLogEnabledService
org.apache.cocoon.webservices.AbstractServiceableService
- All Implemented Interfaces:
- LogEnabled, Serviceable, javax.xml.rpc.server.ServiceLifecycle
- public abstract class AbstractServiceableService
- extends AbstractLogEnabledService
- implements Serviceable
Base class for providing Serviceable 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: AbstractServiceableService.java 55395 2004-10-23 19:11:55Z cziegeler $
- Author:
- Marcus Crafter
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
m_manager
protected ServiceManager m_manager
AbstractServiceableService
public AbstractServiceableService()
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
service
public void service(ServiceManager manager)
throws ServiceException
- Specified by:
service
in interface Serviceable
- Throws:
ServiceException
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-2005 The Apache Software Foundation. All Rights Reserved.