org.jboss.portal.server.invocation
Interface InvocationFactory

All Known Implementing Classes:
CoreInvocationFactory, InvocationFactoryImpl

public interface InvocationFactory

This object is responsible for creating an invocation from the request and the response that are originating from the client. It is also responsible to put the PortalRequest and PortalResponse in the invocation object.


Method Summary
 Invocation decode(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)
          Get the info from the request and create an invocation.
 

Method Detail

decode

Invocation decode(javax.servlet.http.HttpServletRequest req,
                  javax.servlet.http.HttpServletResponse resp)
Get the info from the request and create an invocation. The two important objects in the invocation are the PortalRequest and the PortalResponse that contains the informations carried by the link originating from the PortalURL. How invocations are carried accross different calls is really done by the InvocationContext and the PostalResponse. They both are responsible to marshall and unmarshall of the information present on the PortalURL.