|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IEngineService
A service, provided by the IEngine
, for its pages and/or components.
Services are responsible for constructing EngineServiceLink
s (an encoding of URLs) to
represent dynamic application behavior, and for parsing those URLs when a subsequent request
involves them.
IEngine.getService(String)
Method Summary | |
---|---|
ILink |
getLink(IRequestCycle cycle,
java.lang.Object parameter)
Builds a URL for a service. |
java.lang.String |
getName()
Returns the name of the service. |
void |
service(IRequestCycle cycle)
Perform the service, interpreting the URL (from the HttpServletRequest ) responding appropriately, and rendering a
result page. |
Method Detail |
---|
ILink getLink(IRequestCycle cycle, java.lang.Object parameter)
This method changed incompatibly between release 3.0 and release 4.0.
cycle
- Defines the request cycle being processed.parameter
- An object that provide any additional information needed by the service. Each
service implementation will expect that an object of the proper type be passed in.
In some cases, a simple String will do; in others, a specific object (possibly
implementing an interface) will be required.
HttpServletResponse.encodeURL(java.lang.String)
.void service(IRequestCycle cycle) throws java.io.IOException
HttpServletRequest
) responding appropriately, and rendering a
result page.
cycle
- the incoming request
java.io.IOException
org.apache.tapestry.IEngine#service(org.apache.tapestry.request.RequestContext)
java.lang.String getName()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |