|
EchoPoint API - 3.0.0b5 App Webcontainer |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnextapp.echo.app.Component
echopoint.externalevent.ExternalEventMonitor
public class ExternalEventMonitor
A ExternalEventMonitor can be used to monitor
external events that come in via web request URIs.
ExternalEventMonitor will inform
all attached ExternalEventListeners about
those web request events.
ExternalEventMonitor looks for web application
requests with the special marker "E_id=ExternalEvent". This
allows other web pages (especially non Echo2 based ones) to link
to the Echo web application via an URI, say something like :
/servletcontext/servlet?sid=ExternalEvent&p1=v1&p2=v2..
The parameters of the web request are packaged into a Map and
placed within the ExternalEvent object.
ExternalEventMonitor is a non visual component.
Modified by Mikael Soderman 2009-04-28
ExternalEvent,
ExternalEventListener,
Serialized Form| Field Summary |
|---|
| Constructor Summary | |
|---|---|
ExternalEventMonitor()
Constructs an ExternalEventMonitor |
|
| Method Summary | |
|---|---|
void |
addExternalEventListener(ExternalEventListener l)
Adds an ExternalEventListener to the ExternalEventMonitor |
void |
dispose()
When the ExternalEventMonitor is removed from the
component hierarchy it is also made removed from the
ExternalEventMonitorService |
void |
fireExternalEvent(ExternalEvent externalEvent)
This is called by the support code to inform all ExternalEventListeners that an external event has ocurred. |
void |
init()
When the ExternalEventMonitor is placed in the
component hierarchy it is also made known to the
ExternalEventMonitorService |
void |
removeExternalEventListener(ExternalEventListener l)
Removes an ExternalEventListener from the ExternalEventMonitor |
void |
setVisible(boolean newValue)
This component can never be made visible. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ExternalEventMonitor()
ExternalEventMonitor
| Method Detail |
|---|
public void init()
ExternalEventMonitor is placed in the
component hierarchy it is also made known to the
ExternalEventMonitorService
init in class ComponentComponent.init()public void dispose()
ExternalEventMonitor is removed from the
component hierarchy it is also made removed from the
ExternalEventMonitorService
dispose in class ComponentComponent.dispose()public void addExternalEventListener(ExternalEventListener l)
ExternalEventListener to the ExternalEventMonitor
l - the ExternalEventListener to addpublic void removeExternalEventListener(ExternalEventListener l)
ExternalEventListener from the ExternalEventMonitor
l - the ExternalEventListener to removepublic void fireExternalEvent(ExternalEvent externalEvent)
externalEvent - - the new ExternalEventpublic void setVisible(boolean newValue)
setVisible in class ComponentComponent.setVisible(boolean)
|
EchoPoint API - 3.0.0b5 App Webcontainer |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||