public class HessianEndpoint extends Object implements org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean
HessianServlet.| Constructor and Description |
|---|
HessianEndpoint()
Creates an hessian endpoint.
|
HessianEndpoint(Object serviceImpl)
Creates an hessian endpoint for the specified service.
|
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
void |
destroy()
Destroys the listenerContainer instance.
|
int |
getConcurentConsumers()
Get the number of concurent consumers
|
org.springframework.amqp.rabbit.connection.ConnectionFactory |
getConnectionFactory()
Get the connectionFactory
|
String |
getQueuePrefix()
Returns the prefix of the queue created to receive the hessian requests.
|
com.caucho.hessian.io.SerializerFactory |
getSerializerFactory()
Gets the serializer factory.
|
void |
run()
Starts the endpoint on the connection specified.
|
void |
setConcurentConsumers(int concurentConsumers)
Set the number of concurent consumers
|
void |
setConnectionFactory(org.springframework.amqp.rabbit.connection.ConnectionFactory connectionFactory)
Set the connectionFactory
|
void |
setQueuePrefix(String prefix)
Sets the prefix of the queue created to receive the hessian requests.
|
void |
setSendCollectionType(boolean sendType)
Sets the serializer send collection java type.
|
void |
setSerializerFactory(com.caucho.hessian.io.SerializerFactory factory)
Sets the serializer factory.
|
void |
setServiceAPI(Class<?> serviceAPI)
Specifies the interface of the service.
|
void |
setServiceImpl(Object serviceImpl)
Specifies the object implementing the service.
|
public HessianEndpoint()
public HessianEndpoint(Object serviceImpl)
serviceImpl - The remote object to be exposed by the endpointpublic void setServiceAPI(Class<?> serviceAPI)
public void setServiceImpl(Object serviceImpl)
public void setSerializerFactory(com.caucho.hessian.io.SerializerFactory factory)
public com.caucho.hessian.io.SerializerFactory getSerializerFactory()
public String getQueuePrefix()
public void setQueuePrefix(String prefix)
public org.springframework.amqp.rabbit.connection.ConnectionFactory getConnectionFactory()
public void setConnectionFactory(org.springframework.amqp.rabbit.connection.ConnectionFactory connectionFactory)
connectionFactory - public int getConcurentConsumers()
public void setConcurentConsumers(int concurentConsumers)
concurentConsumers - public void setSendCollectionType(boolean sendType)
public void run()
public void afterPropertiesSet()
throws Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanExceptionpublic void destroy()
destroy in interface org.springframework.beans.factory.DisposableBeanCopyright © 2013. All Rights Reserved.