当前页面:
在线文档首页 >
JBOSS Portal 2.6 API 英文版文档
ValveInterceptor - JBOSS Portal 2.6 API 英文版文档
org.jboss.portal.portlet.aspects.portlet
Class ValveInterceptor
java.lang.Object
org.jboss.mx.util.JBossNotificationBroadcasterSupport
org.jboss.system.ServiceMBeanSupport
org.jboss.portal.jems.as.system.AbstractJBossService
org.jboss.portal.server.impl.invocation.JBossInterceptor
org.jboss.portal.portlet.invocation.PortletInterceptor
org.jboss.portal.portlet.aspects.portlet.ValveInterceptor
- All Implemented Interfaces:
- Interceptor, javax.management.MBeanRegistration, javax.management.NotificationBroadcaster, javax.management.NotificationEmitter, org.jboss.system.Service, org.jboss.system.ServiceMBean
- public class ValveInterceptor
- extends PortletInterceptor
This aspect has two responsabilities :
- continue the request only if the portlet container valve is
open. When the valle is closed, it will return an unavailable response to the caller. When the valve is open then the
current thread of execution enters the valve for the duration of the call.
- if the response from the next
aspect is an unavailable result, stop the container in order to destroy the portlet and implement this part of the
portlet specification.
- Version:
- $Revision: 5448 $
- Author:
- 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 |
ValveInterceptor
public ValveInterceptor()
invoke
protected java.lang.Object invoke(PortletInvocation invocation)
throws java.lang.Exception,
InvocationException
- Specified by:
invoke
in class PortletInterceptor
- Throws:
java.lang.Exception
InvocationException