当前页面:
在线文档首页 >
JBOSS Portal 2.4 API 英文版文档
SequenceRegistryBuilder - JBOSS Portal 2.4 API 英文版文档
org.jboss.portal.test.framework.portlet
Class SequenceRegistryBuilder
java.lang.Object
org.jboss.portal.test.framework.portlet.SequenceRegistryBuilder
- All Implemented Interfaces:
- java.util.EventListener, javax.servlet.ServletContextListener
- Direct Known Subclasses:
- ActionRequestSequenceBuilder, ActionResponseSequenceBuilder, BasicTestSequenceBuilder, DispatcherSequenceBuilder, DispatcherSequenceBuilder, PortalContextSequenceBuilder, PortletConfigSequenceBuilder, PortletConfigSequenceBuilder, PortletConfigSequenceBuilder, PortletContextSequenceBuilder, PortletContextSequenceBuilder, PortletInterfaceSequenceBuilder, PortletModeSequenceBuilder, PortletModeSequenceBuilder, PortletModeSequenceBuilder, PortletPreferencesSequenceBuilder, PortletRequestsSequenceBuilder, PortletRequestsSequenceBuilder, PortletResponsesSequenceBuilder, PortletResponsesSequenceBuilder, PortletSessionSequenceBuilder, PortletSessionSequenceBuilder, PortletSessionUtilSequenceBuilder, PortletUrlSequenceBuilder, PortletURLSequenceBuilder, PreferencesSequenceBuilder, PreferencesSequenceBuilder, RenderRequestSequenceBuilder, RenderResponseSequenceBuilder, SessionSequenceBuilder, SessionSequenceBuilder, TestBuilder, WindowStateSequenceBuilder, WindowStatesSequenceBuilder
- public abstract class SequenceRegistryBuilder
- extends java.lang.Object
- implements javax.servlet.ServletContextListener
Builder is invoked when web application initialization process is starting.
It builds sequence of tests for this action
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
METHOD_PATTERN
public static java.lang.String METHOD_PATTERN
SequenceRegistryBuilder
public SequenceRegistryBuilder()
getRegistry
public static SequenceRegistry getRegistry()
contextInitialized
public void contextInitialized(javax.servlet.ServletContextEvent sce)
- Finds all methods matching pattern in current instance and invokes them.
Methods add Sequence into SequenceRegistry. Then SequenceRegistry is injected into
ServletContext
- Specified by:
contextInitialized
in interface javax.servlet.ServletContextListener
- Parameters:
sce
-
contextDestroyed
public void contextDestroyed(javax.servlet.ServletContextEvent servletContextEvent)
- Specified by:
contextDestroyed
in interface javax.servlet.ServletContextListener