|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.ws.eventing.AbstractSubscription
Field Summary | |
protected NotificationConsumer |
consumer
|
protected SubscriptionEndConsumer |
endconsumer
|
protected java.util.Calendar |
m_creationTime
|
protected org.apache.ws.addressing.EndpointReference |
m_endpointReference
The EndpointReference for this resource |
protected java.lang.String |
m_id
|
protected java.util.Calendar |
m_terminationTime
|
protected boolean |
m_usenotify
|
protected org.apache.ws.resource.ResourceHome |
rH
|
protected org.apache.ws.resource.ResourceKey |
rK
|
Constructor Summary | |
AbstractSubscription()
|
Method Summary | |
void |
addTerminationListener(org.apache.ws.resource.lifetime.ResourceTerminationListener resourceTerminationListener)
|
java.util.Calendar |
getCreationTime()
Returns the time at which this subscription was created. |
org.apache.ws.addressing.EndpointReference |
getEndpointReference()
Returns the EndpointReference associated with this Resource. |
Filter |
getFilters()
Returns a list of any notification filters that are associated with this subscription. |
java.lang.Object |
getID()
|
NotificationConsumer |
getNotificationConsumer()
Get the notification consumer associated with this subscription. |
NotificationProducer |
getNotificationProducer()
Get the notification producer associated with this subscription. |
org.apache.ws.resource.ResourceKey |
getResourceKey()
|
SubscriptionEndConsumer |
getSubscriptionEndConsumer()
Get the subscriptionEnd consumer associated with this subscription. |
java.util.Calendar |
getTerminationTime()
Gets the termination time for this subscription (i.e. |
boolean |
getUseNotify()
Returns the delivery mode to be used for notifications sent for this subscription. |
void |
setEpr(org.apache.ws.addressing.EndpointReference epr)
|
void |
setID(java.lang.Object id)
|
void |
setNotificationConsumer(NotificationConsumer consumer)
|
void |
setResourceHome(org.apache.ws.resource.ResourceHome rH)
|
void |
setResourceKey(org.apache.ws.resource.ResourceKey rK)
|
void |
setSubscriptionEndConsumer(SubscriptionEndConsumer endconsumer)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.ws.pubsub.Subscription |
setTerminationTime, unsubscribe |
Methods inherited from interface org.apache.ws.resource.Resource |
destroy, init |
Field Detail |
protected NotificationConsumer consumer
protected SubscriptionEndConsumer endconsumer
protected java.lang.String m_id
protected java.util.Calendar m_terminationTime
protected java.util.Calendar m_creationTime
protected org.apache.ws.resource.ResourceHome rH
protected org.apache.ws.resource.ResourceKey rK
protected boolean m_usenotify
protected org.apache.ws.addressing.EndpointReference m_endpointReference
Constructor Detail |
public AbstractSubscription()
Method Detail |
public void setResourceKey(org.apache.ws.resource.ResourceKey rK)
public org.apache.ws.resource.ResourceKey getResourceKey()
public void setResourceHome(org.apache.ws.resource.ResourceHome rH)
public void setEpr(org.apache.ws.addressing.EndpointReference epr)
public java.lang.Object getID()
getID
in interface org.apache.ws.resource.Resource
public void setID(java.lang.Object id)
setID
in interface org.apache.ws.resource.Resource
public void setNotificationConsumer(NotificationConsumer consumer)
public void setSubscriptionEndConsumer(SubscriptionEndConsumer endconsumer)
public NotificationConsumer getNotificationConsumer()
Subscription
getNotificationConsumer
in interface Subscription
public SubscriptionEndConsumer getSubscriptionEndConsumer()
Subscription
getSubscriptionEndConsumer
in interface Subscription
public NotificationProducer getNotificationProducer()
Subscription
getNotificationProducer
in interface Subscription
public java.util.Calendar getCreationTime()
Subscription
getCreationTime
in interface Subscription
public boolean getUseNotify()
Subscription
getUseNotify
in interface Subscription
public Filter getFilters()
Subscription
getFilters
in interface Subscription
public java.util.Calendar getTerminationTime()
Subscription
getTerminationTime
in interface Subscription
public void addTerminationListener(org.apache.ws.resource.lifetime.ResourceTerminationListener resourceTerminationListener)
addTerminationListener
in interface org.apache.ws.resource.Resource
public org.apache.ws.addressing.EndpointReference getEndpointReference()
getEndpointReference
in interface org.apache.ws.resource.Resource
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |