biz.hammurapi.jms.adapter
Class Method

java.lang.Object
  extended by biz.hammurapi.config.ComponentBase
      extended by biz.hammurapi.config.ServiceBase
          extended by biz.hammurapi.jms.adapter.Method
All Implemented Interfaces:
biz.hammurapi.config.Component, biz.hammurapi.config.Context, biz.hammurapi.config.Service, biz.hammurapi.metrics.MeasurementCollector, biz.hammurapi.metrics.MeasurementConsumer

public class Method
extends biz.hammurapi.config.ServiceBase


Field Summary
 
Fields inherited from class biz.hammurapi.config.ComponentBase
owner
 
Constructor Summary
Method(biz.hammurapi.jms.adapter.definition.Method definition)
           
 
Method Summary
 JmsService getJmsService()
           
 java.lang.Class getWrapperException()
           
 java.lang.Object invoke(java.lang.Object state, java.lang.Object[] args, java.lang.String declaringClass)
          Invokes remote method
 boolean isAsync()
           
protected  void startInternal()
           
protected  void stopInternal()
           
 
Methods inherited from class biz.hammurapi.config.ServiceBase
start, stop
 
Methods inherited from class biz.hammurapi.config.ComponentBase
addMeasurement, get, getChild, getMeasurementConsumer, getOwner, getOwner, setMeasurementConsumer, setOwner
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface biz.hammurapi.config.Component
setOwner
 

Constructor Detail

Method

public Method(biz.hammurapi.jms.adapter.definition.Method definition)
       throws biz.hammurapi.config.ConfigurationException
Throws:
biz.hammurapi.config.ConfigurationException
Method Detail

startInternal

protected void startInternal()
                      throws biz.hammurapi.config.ConfigurationException
Specified by:
startInternal in class biz.hammurapi.config.ServiceBase
Throws:
biz.hammurapi.config.ConfigurationException

getWrapperException

public java.lang.Class getWrapperException()

stopInternal

protected void stopInternal()
                     throws biz.hammurapi.config.ConfigurationException
Specified by:
stopInternal in class biz.hammurapi.config.ServiceBase
Throws:
biz.hammurapi.config.ConfigurationException

isAsync

public boolean isAsync()

invoke

public java.lang.Object invoke(java.lang.Object state,
                               java.lang.Object[] args,
                               java.lang.String declaringClass)
                        throws java.lang.Exception
Invokes remote method

Parameters:
state -
args -
Returns:
Throws:
java.lang.Exception

getJmsService

public JmsService getJmsService()


Copyright © 2006 Hammurapi Group. All Rights Reserved.