Package org.apache.cxf.wsn.jms
Class JmsPullPoint
- java.lang.Object
-
- org.apache.cxf.wsn.AbstractEndpoint
-
- org.apache.cxf.wsn.AbstractPullPoint
-
- org.apache.cxf.wsn.jms.JmsPullPoint
-
- All Implemented Interfaces:
EndpointMBean,NotificationConsumer,PullPoint
- Direct Known Subclasses:
JaxwsPullPoint
public class JmsPullPoint extends AbstractPullPoint
-
-
Field Summary
-
Fields inherited from class org.apache.cxf.wsn.AbstractPullPoint
createPullPoint
-
Fields inherited from class org.apache.cxf.wsn.AbstractEndpoint
address, endpoint, endpointEpr, manager, name
-
-
Constructor Summary
Constructors Constructor Description JmsPullPoint(String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcloseSession()javax.jms.ConnectiongetConnection()protected List<NotificationMessageHolderType>getMessages(int max)protected voidinitSession()voidsetConnection(javax.jms.Connection connection)protected voidstore(NotificationMessageHolderType messageHolder)-
Methods inherited from class org.apache.cxf.wsn.AbstractPullPoint
create, destroy, destroyPullPoint, getCreatePullPoint, getMessages, notify, setCreatePullPoint
-
Methods inherited from class org.apache.cxf.wsn.AbstractEndpoint
getAddress, getEpr, getManager, getMBeanName, getName, getWSDLLocation, register, setAddress, setManager, unregister
-
-
-
-
Constructor Detail
-
JmsPullPoint
public JmsPullPoint(String name)
-
-
Method Detail
-
initSession
protected void initSession() throws javax.jms.JMSException- Throws:
javax.jms.JMSException
-
closeSession
protected void closeSession()
-
store
protected void store(NotificationMessageHolderType messageHolder)
- Specified by:
storein classAbstractPullPoint
-
getMessages
protected List<NotificationMessageHolderType> getMessages(int max) throws ResourceUnknownFault, UnableToGetMessagesFault
- Specified by:
getMessagesin classAbstractPullPoint- Throws:
ResourceUnknownFaultUnableToGetMessagesFault
-
getConnection
public javax.jms.Connection getConnection()
-
setConnection
public void setConnection(javax.jms.Connection connection)
-
-