|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectechopointng.externalevent.ExternalEventMonitorService
public class ExternalEventMonitorService
This service is used to listen for external events that come in when the user follows a URI that has ?serviceId=ExternalEvent on it.
| Field Summary | |
|---|---|
static ExternalEventMonitorService |
INSTANCE
The singleton ExternalEventService monitoring service |
| Fields inherited from interface nextapp.echo2.webrender.Service |
|---|
DO_NOT_CACHE |
| Constructor Summary | |
|---|---|
ExternalEventMonitorService()
|
|
| Method Summary | |
|---|---|
void |
deregister(ExternalEventMonitor monitor)
Deregisters the ExternalEventMonitor with the service
that is used to invoke external events. |
java.lang.String |
getId()
Returns the unique identifier of this service. |
int |
getVersion()
Returns the version of the service to be retrieved. |
void |
register(ExternalEventMonitor monitor)
Registers the ExternalEventMonitor with the service
that is used to invoke external events. |
void |
service(Connection conn)
Services an HTTP request. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final ExternalEventMonitorService INSTANCE
| Constructor Detail |
|---|
public ExternalEventMonitorService()
| Method Detail |
|---|
public java.lang.String getId()
Service
getId in interface ServiceService.getId()public int getVersion()
ServicegetVersion() should return distinct values whenever the
service's content may have changed.
getVersion in interface ServiceService.getVersion()public void register(ExternalEventMonitor monitor)
ExternalEventMonitor with the service
that is used to invoke external events.
monitor - an ExternalEventMonitor to be notified
of external events.public void deregister(ExternalEventMonitor monitor)
ExternalEventMonitor with the service
that is used to invoke external events.
monitor - an ExternalEventMonitor to be removed from
being notified of external events.
public void service(Connection conn)
throws java.io.IOException
Service
service in interface Serviceconn - A Connection object which wraps
HttpServletRequest and
HttpServletResponse objects and provides
access to the facilities of the Echo application container.
java.io.IOException - in the event of errors related to processing the
HTTP request or producing a response.Service.service(nextapp.echo2.webrender.Connection)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||