org.backsource.amsterdam.service.protocol
Class ProtocolHandlerFactorySupport
java.lang.Object
org.backsource.amsterdam.service.protocol.ProtocolHandlerFactorySupport
- All Implemented Interfaces:
- ProtocolHandlerFactory, Servable
- Direct Known Subclasses:
- SimpleDirProtocolHandlerFactory
- public abstract class ProtocolHandlerFactorySupport
- extends java.lang.Object
- implements ProtocolHandlerFactory
Support imlementation to be used by subclasses.
- Version:
- $Revision: 1.1.1.1 $
- Author:
- Peter Antman
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
invoker
protected ServiceInvoker invoker
ProtocolHandlerFactorySupport
public ProtocolHandlerFactorySupport()
setServiceInvoker
public void setServiceInvoker(ServiceInvoker invoker)
- Specified by:
setServiceInvoker in interface ProtocolHandlerFactory
getServiceInvoker
public ServiceInvoker getServiceInvoker()
- Specified by:
getServiceInvoker in interface ProtocolHandlerFactory
getSupportedProtocol
public abstract java.lang.String getSupportedProtocol()
- Specified by:
getSupportedProtocol in interface ProtocolHandlerFactory
initialize
public abstract void initialize(ProtocolConfigure config)
- Specified by:
initialize in interface ProtocolHandlerFactory
getProtocolHandler
public abstract ProtocolHandler getProtocolHandler()
throws ServiceException
- Specified by:
getProtocolHandler in interface ProtocolHandlerFactory
- Throws:
ServiceException
init
public void init()
throws java.lang.Exception
- Specified by:
init in interface Servable
- Throws:
java.lang.Exception
start
public void start()
throws java.lang.Exception
- Specified by:
start in interface Servable
- Throws:
java.lang.Exception
stop
public void stop()
throws java.lang.Exception
- Specified by:
stop in interface Servable
- Throws:
java.lang.Exception
destroy
public void destroy()
throws java.lang.Exception
- Specified by:
destroy in interface Servable
- Throws:
java.lang.Exception
Copyright © 2001-2004 Backsource. All Rights Reserved.