|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.portal.portlet.impl.jsr168.PortletContainerImpl
public class PortletContainerImpl
| Field Summary | |
|---|---|
protected PortletApplicationImpl |
application
. |
protected java.lang.String |
className
The portlet implementation class name. |
protected PortletConfig |
config
The portlet config. |
protected org.apache.log4j.Logger |
log
Logger. |
protected Portlet |
portlet
The portlet instance. |
protected PreferencesValidator |
preferencesValidator
The preference validator, this is not exposed as runtime meta data as it is only used by the JSR 168 portlet container implementation. |
protected boolean |
started
Are we started or not. |
protected java.util.Set |
userDataConstraints
User data constraint. |
protected org.jboss.portal.common.concurrent.Valve |
valve
The invocation valve. |
| Constructor Summary | |
|---|---|
PortletContainerImpl(ContainerPortletInfo info)
|
|
| Method Summary | |
|---|---|
void |
addPortletFilter(PortletFilter filter)
Add a filter. |
PortletInvocationResponse |
dispatch(PortletInvocation invocation)
Invoke the portlet container. |
PortletConfig |
getConfig()
|
PortletContainerContext |
getContext()
Returns the context of the portlet container. |
java.lang.String |
getId()
Return the portlet container id, unique within the context of the parent application. |
ContainerPortletInfo |
getInfo()
Returns the runtime meta data of the container. |
Portlet |
getPortlet()
|
PortletApplication |
getPortletApplication()
Returns the wired application. |
PreferencesValidator |
getPreferencesValidator()
|
java.util.Set |
getUserDataConstraints()
|
org.jboss.portal.common.concurrent.Valve |
getValve()
|
void |
removePortletFilter(PortletFilter filter)
Remove a filter. |
void |
setContext(PortletContainerContext context)
Set/unset the portlet container context. |
void |
setPortletApplication(PortletApplication application)
Set/unset the application. |
void |
start()
Starts the portlet container. |
void |
stop()
Stops the portlet container. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected final org.apache.log4j.Logger log
protected PortletApplicationImpl application
protected java.lang.String className
protected PortletConfig config
protected Portlet portlet
protected final org.jboss.portal.common.concurrent.Valve valve
protected boolean started
protected java.util.Set userDataConstraints
protected PreferencesValidator preferencesValidator
| Constructor Detail |
|---|
public PortletContainerImpl(ContainerPortletInfo info)
| Method Detail |
|---|
public void setContext(PortletContainerContext context)
PortletContainerObject
setContext in interface PortletContainerObjectcontext - the contextpublic PortletContainerContext getContext()
PortletContainer
getContext in interface PortletContainerpublic ContainerPortletInfo getInfo()
PortletContainer
getInfo in interface PortletContainerpublic java.lang.String getId()
PortletContainer
getId in interface PortletContainerpublic void addPortletFilter(PortletFilter filter)
PortletContainerObject
addPortletFilter in interface PortletContainerObjectfilter - the portlet filterpublic void removePortletFilter(PortletFilter filter)
PortletContainerObject
removePortletFilter in interface PortletContainerObjectfilter - the portlet filter
public void start()
throws PortletInitializationException
PortletContainerObject
start in interface PortletContainerObjectPortletInitializationExceptionpublic void stop()
PortletContainerObject
stop in interface PortletContainerObjectpublic PortletConfig getConfig()
public Portlet getPortlet()
public PortletApplication getPortletApplication()
PortletContainer
getPortletApplication in interface PortletContainerpublic void setPortletApplication(PortletApplication application)
PortletContainerObject
setPortletApplication in interface PortletContainerObjectapplication - the related applicationpublic org.jboss.portal.common.concurrent.Valve getValve()
public java.util.Set getUserDataConstraints()
public PreferencesValidator getPreferencesValidator()
public java.lang.String toString()
toString in class java.lang.Object
public PortletInvocationResponse dispatch(PortletInvocation invocation)
throws PortletInvokerException,
org.jboss.portal.common.invocation.InvocationException
PortletContainer
dispatch in interface PortletContainerinvocation - the portlet invocation
PortletInvokerException - a portlet invoker exception
org.jboss.portal.common.invocation.InvocationException - an invocation exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||