|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.qpid.contrib.hessian.HessianEndpoint
public class HessianEndpoint
Endpoint for serving Hessian services.
This class is derived from HessianServlet
.
Constructor Summary | |
---|---|
HessianEndpoint()
Creates an hessian endpoint. |
|
HessianEndpoint(Object serviceImpl)
Creates an hessian endpoint for the specified service. |
Method Summary | |
---|---|
String |
getQueuePrefix()
Returns the prefix of the queue created to receive the hessian requests. |
SerializerFactory |
getSerializerFactory()
Gets the serializer factory. |
org.apache.qpid.transport.Session |
run(org.apache.qpid.transport.Connection conn)
Starts the endpoint on the connection specified. |
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(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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HessianEndpoint()
public HessianEndpoint(Object serviceImpl)
serviceImpl
- The remote object to be exposed by the endpointMethod Detail |
---|
public void setServiceAPI(Class serviceAPI)
public void setServiceImpl(Object serviceImpl)
public void setSerializerFactory(SerializerFactory factory)
public SerializerFactory getSerializerFactory()
public String getQueuePrefix()
public void setQueuePrefix(String prefix)
public void setSendCollectionType(boolean sendType)
public org.apache.qpid.transport.Session run(org.apache.qpid.transport.Connection conn)
conn
- The AMQP connection
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |