com.caucho.jms.services
Class HessianListener

java.lang.Object
  extended by com.caucho.jms.services.HessianListener

public class HessianListener
extends java.lang.Object

MessageListener for serving Hessian services.


Field Summary
protected static java.util.logging.Logger log
           
 
Constructor Summary
HessianListener()
           
 
Method Summary
 java.lang.Class getAPIClass()
          Gets the api-class.
 SerializerFactory getSerializerFactory()
          Gets the serializer factory.
 void init()
           
 void setAPIClass(java.lang.Class api)
          Sets the api-class.
 void setConnectionFactory(ConnectionFactory connectionFactory)
          Sets the name of the connection factory.
 void setDestination(Destination destination)
          Sets the name of the input queue.
 void setHome(java.lang.Object home)
          Sets the home implementation
 void setHomeAPI(java.lang.Class api)
          Sets the home api.
 void setObject(java.lang.Object object)
          Sets the object implementation
 void setObjectAPI(java.lang.Class api)
          Sets the object api.
 void setSendCollectionType(boolean sendType)
          Sets the serializer send collection java type.
 void setSerializerFactory(SerializerFactory factory)
          Sets the serializer factory.
 void setService(java.lang.Object service)
          Sets the service class.
 void start()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected static java.util.logging.Logger log
Constructor Detail

HessianListener

public HessianListener()
Method Detail

setHomeAPI

public void setHomeAPI(java.lang.Class api)
Sets the home api.


setHome

public void setHome(java.lang.Object home)
Sets the home implementation


setObjectAPI

public void setObjectAPI(java.lang.Class api)
Sets the object api.


setObject

public void setObject(java.lang.Object object)
Sets the object implementation


setService

public void setService(java.lang.Object service)
Sets the service class.


setAPIClass

public void setAPIClass(java.lang.Class api)
Sets the api-class.


getAPIClass

public java.lang.Class getAPIClass()
Gets the api-class.


setConnectionFactory

public void setConnectionFactory(ConnectionFactory connectionFactory)
Sets the name of the connection factory.


setDestination

public void setDestination(Destination destination)
Sets the name of the input queue.


setSerializerFactory

public void setSerializerFactory(SerializerFactory factory)
Sets the serializer factory.


getSerializerFactory

public SerializerFactory getSerializerFactory()
Gets the serializer factory.


setSendCollectionType

public void setSendCollectionType(boolean sendType)
Sets the serializer send collection java type.


init

public void init()

start

public void start()
           throws java.lang.Throwable
Throws:
java.lang.Throwable

stop

public void stop()
          throws JMSException
Throws:
JMSException