|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.blacktie.jatmibroker.xatmi.Service
public abstract class Service
All services should extend this class as it provides the core service template method.
Constructor Summary | |
---|---|
Service(java.lang.String name)
The service needs the name of the service so that it can be resolved in the Environment.xml file |
Method Summary | |
---|---|
void |
close()
Clean up resources for this service |
protected void |
processMessage(org.jboss.blacktie.jatmibroker.core.transport.Message message)
Entry points should pass control to this method as soon as reasonably possible. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.jboss.blacktie.jatmibroker.xatmi.BlacktieService |
---|
tpservice |
Constructor Detail |
---|
public Service(java.lang.String name) throws org.jboss.blacktie.jatmibroker.core.conf.ConfigurationException, ConnectionException
name
- The name of the service
org.jboss.blacktie.jatmibroker.core.conf.ConfigurationException
ConnectionException
Method Detail |
---|
public void close() throws ConnectionException
ConnectionException
protected void processMessage(org.jboss.blacktie.jatmibroker.core.transport.Message message) throws ConnectionException
message
- The message to process
ConnectionException
- In case communication fails
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |