当前页面:
在线文档首页 >
JBOSS Portal 2.6 API 英文版文档
CoreController - JBOSS Portal 2.6 API 英文版文档
org.jboss.portal.core.controller
Class CoreController
java.lang.Object
org.jboss.mx.util.JBossNotificationBroadcasterSupport
org.jboss.system.ServiceMBeanSupport
org.jboss.portal.jems.as.system.AbstractJBossService
org.jboss.portal.core.controller.CoreController
- All Implemented Interfaces:
- javax.management.MBeanRegistration, javax.management.NotificationBroadcaster, javax.management.NotificationEmitter, RequestController, org.jboss.system.Service, org.jboss.system.ServiceMBean
- Direct Known Subclasses:
- AjaxController
- public class CoreController
- extends AbstractJBossService
- implements RequestController
- Version:
- $Revision: 5448 $
- Author:
- Martin Holzner, Julien Viet
Fields inherited from class org.jboss.system.ServiceMBeanSupport |
log, server, SERVICE_CONTROLLER_SIG, serviceName |
Fields inherited from class org.jboss.mx.util.JBossNotificationBroadcasterSupport |
|
Fields inherited from interface org.jboss.system.ServiceMBean |
CREATE_EVENT, CREATED, DESTROY_EVENT, DESTROYED, FAILED, REGISTERED, START_EVENT, STARTED, STARTING, states, STOP_EVENT, STOPPED, STOPPING, UNREGISTERED |
Methods inherited from class org.jboss.system.ServiceMBeanSupport |
createService, destroyService, getDeploymentInfo, getLog, getName, getNextNotificationSequenceNumber, getObjectName, getServer, getServiceName, jbossInternalCreate, jbossInternalDescription, jbossInternalDestroy, jbossInternalLifecycle, jbossInternalStart, jbossInternalStop, postDeregister, postRegister, preDeregister, preRegister, startService, stopService |
Methods inherited from class org.jboss.mx.util.JBossNotificationBroadcasterSupport |
addNotificationListener, getNotificationInfo, handleNotification, nextNotificationSequenceNumber, removeNotificationListener, removeNotificationListener, sendNotification |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
pageService
private PageService pageService
- .
commandFactory
private CommandFactory commandFactory
- .
urlFactory
private URLFactory urlFactory
- .
stackFactory
private InterceptorStackFactory stackFactory
- .
portalObjectContainer
private PortalObjectContainer portalObjectContainer
- .
instanceContainer
private InstanceContainer instanceContainer
- .
portalAuthorizationManagerFactory
private PortalAuthorizationManagerFactory portalAuthorizationManagerFactory
- .
CoreController
public CoreController()
getPortalAuthorizationManagerFactory
public PortalAuthorizationManagerFactory getPortalAuthorizationManagerFactory()
setPortalAuthorizationManagerFactory
public void setPortalAuthorizationManagerFactory(PortalAuthorizationManagerFactory portalAuthorizationManagerFactory)
getInstanceContainer
public InstanceContainer getInstanceContainer()
setInstanceContainer
public void setInstanceContainer(InstanceContainer instanceContainer)
getPortalObjectContainer
public PortalObjectContainer getPortalObjectContainer()
setPortalObjectContainer
public void setPortalObjectContainer(PortalObjectContainer portalObjectContainer)
getURLFactory
public URLFactory getURLFactory()
setURLFactory
public void setURLFactory(URLFactory urlFactory)
getCommandFactory
public CommandFactory getCommandFactory()
setCommandFactory
public void setCommandFactory(CommandFactory commandFactory)
getPageService
public PageService getPageService()
setPageService
public void setPageService(PageService pageService)
getStackFactory
public InterceptorStackFactory getStackFactory()
setStackFactory
public void setStackFactory(InterceptorStackFactory stackFactory)
handle
public void handle(ServerInvocation invocation)
throws ServerException
- Description copied from interface:
RequestController
- Handle the invocation.
- Specified by:
handle
in interface RequestController
- Parameters:
invocation
- the server invocation
- Throws:
ServerException
handleResult
private CoreController.Forward handleResult(ControllerCommand cmd,
java.lang.Object response,
ServerInvocation invocation)
throws java.io.IOException,
javax.servlet.ServletException,
ServerException
- Throws:
java.io.IOException
javax.servlet.ServletException
ServerException
sendStatusCode
private void sendStatusCode(ServerInvocation invocation,
int sc)
throws ServerException
- Throws:
ServerException
sendRedirect
private void sendRedirect(ServerInvocation invocation,
java.lang.String redirect)
throws ServerException
- Throws:
ServerException
requiresRedirect
public boolean requiresRedirect(URLContext urlCtx,
ControllerCommand cmd,
ServerInvocation invocation)