phase = PortletRequest.EVENT_PHASE;
chain = new FilterChainImpl<EventFilter>(eventFilterList, EventFilter.class);
}
else if (invocation instanceof ResourceInvocation)
{
req = new ResourceRequestImpl(this, (ResourceInvocation)invocation);
resp = new ResourceResponseImpl((ResourceInvocation)invocation, req);
phase = PortletRequest.RESOURCE_PHASE;
chain = new FilterChainImpl<ResourceFilter>(resourceFilterList, ResourceFilter.class);
}
else