|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
The IPortalComponent is the central abstraction of the Portal Component API. All Portal Components implement this interface either directly, or more commonly by extending a class that implements this interface. It defines a service method for handling client requests. This method is called for each request that the Portal builder runtime routes to an instance of Portal Component. Multiple threads may be executing within the service at any time.
| Method Summary | |
void |
destroy()
Invoked when this Portal Component is discarded from memory. |
void |
init()
Deprecated. Use #init(IPortalComponentInitContext) instead |
void |
service(IPortalComponentRequest aRequest,
IPortalComponentResponse aResponse)
Called to allow the component to respond to a request. |
| Method Detail |
public void init()
#init(IPortalComponentInitContext) instead
public void destroy()
init()
public void service(IPortalComponentRequest aRequest,
IPortalComponentResponse aResponse)
throws PortalComponentException
The service method is the central point of any interaction with a Portal Component. It processes the clients requests. An implementation of the IPortalComponent interface can have access to the request and the type of request sent by the client.
aRequest - the client's request.aResponse - the server's response.PortalComponentException -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||