|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EventSourceInterface
This interface defines the required methods for a EventSource instance. An Event Source must support SUBSCRIBE. How an Event Source and it's associated Subscription Manager communicate crucial information when they are VM different, is currently ambiguously defined by the specifications. Provide implementations for: isAlsoTheSubscriptionManager() getSubscriptionManager()
Method Summary | |
---|---|
void |
create(HandlerContext context,
Management request,
Management response)
|
Management |
getMetadataForEventSource()
This is required to indicate how to contact the remote Subscription Manager. |
Management |
getMetadataForSubscriptionManager()
This is required to indicate how the remote Subscription Manager is to communicate with the remote EventSource that it is managing subscriptions for. |
boolean |
isAlsoTheSubscriptionManager()
Flag indicating whether this EventSource is also the SubscriptionManager instance as well. |
Management |
subscribe(java.lang.String resource,
HandlerContext context,
Management request,
Management response)
Fundamental method of an Event Source. |
Methods inherited from interface com.sun.ws.management.server.Handler |
---|
handle |
Method Detail |
---|
Management subscribe(java.lang.String resource, HandlerContext context, Management request, Management response) throws javax.xml.bind.JAXBException, javax.xml.soap.SOAPException, javax.xml.datatype.DatatypeConfigurationException, java.io.IOException
context
- eventRequest
- eventResponse
-
javax.xml.soap.SOAPException
javax.xml.bind.JAXBException
javax.xml.datatype.DatatypeConfigurationException
java.io.IOException
void create(HandlerContext context, Management request, Management response) throws java.lang.Exception
java.lang.Exception
boolean isAlsoTheSubscriptionManager()
Management getMetadataForEventSource() throws javax.xml.soap.SOAPException, javax.xml.bind.JAXBException, javax.xml.datatype.DatatypeConfigurationException, java.io.IOException
javax.xml.soap.SOAPException
javax.xml.bind.JAXBException
javax.xml.datatype.DatatypeConfigurationException
java.io.IOException
Management getMetadataForSubscriptionManager() throws javax.xml.soap.SOAPException, javax.xml.bind.JAXBException, javax.xml.datatype.DatatypeConfigurationException, java.io.IOException
javax.xml.soap.SOAPException
javax.xml.bind.JAXBException
javax.xml.datatype.DatatypeConfigurationException
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |