org.jboss.narayana.blacktie.jatmibroker.xatmi
Class BlackTieService

java.lang.Object
  extended by org.jboss.narayana.blacktie.jatmibroker.xatmi.BlackTieService
All Implemented Interfaces:
Service
Direct Known Subclasses:
MDBBlacktieService

public abstract class BlackTieService
extends Object
implements Service

MDB services implementations extend this class as it provides the core service template method. For non MDB services on the Service interface need be implemented.


Constructor Summary
protected BlackTieService(String name)
           
 
Method Summary
 String getName()
           
 void init()
           
protected  void processMessage(String serviceName, org.jboss.narayana.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.narayana.blacktie.jatmibroker.xatmi.Service
tpservice
 

Constructor Detail

BlackTieService

protected BlackTieService(String name)
                   throws org.jboss.narayana.blacktie.jatmibroker.core.conf.ConfigurationException
Throws:
org.jboss.narayana.blacktie.jatmibroker.core.conf.ConfigurationException
Method Detail

getName

public String getName()

init

@PostConstruct
public void init()

processMessage

protected void processMessage(String serviceName,
                              org.jboss.narayana.blacktie.jatmibroker.core.transport.Message message)
                       throws ConnectionException,
                              org.jboss.narayana.blacktie.jatmibroker.core.conf.ConfigurationException,
                              NamingException,
                              InvalidTransactionException,
                              IllegalStateException,
                              SystemException,
                              org.jboss.narayana.blacktie.jatmibroker.core.tx.TransactionException
Entry points should pass control to this method as soon as reasonably possible.

Parameters:
serviceName - The name of the service
message - The message to process
Throws:
ConnectionException
ConnectionException - In case communication fails
org.jboss.narayana.blacktie.jatmibroker.core.conf.ConfigurationException
NamingException
SystemException
IllegalStateException
InvalidTransactionException
org.jboss.narayana.blacktie.jatmibroker.core.tx.TransactionException


Copyright © 2013. All Rights Reserved.