站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBOSS Portal 2.4 API 英文版文档

JBossInterceptorStack - JBOSS Portal 2.4 API 英文版文档


org.jboss.portal.server.impl.invocation
Class JBossInterceptorStack

java.lang.Object
  extended byorg.jboss.mx.util.JBossNotificationBroadcasterSupport
      extended byorg.jboss.system.ServiceMBeanSupport
          extended byorg.jboss.portal.common.system.AbstractJBossService
              extended byorg.jboss.portal.server.impl.invocation.JBossInterceptorStack
All Implemented Interfaces:
InterceptorStack, javax.management.MBeanRegistration, javax.management.NotificationBroadcaster, javax.management.NotificationEmitter, org.jboss.system.Service, org.jboss.system.ServiceMBean

public class JBossInterceptorStack
extends AbstractJBossService
implements InterceptorStack


Field Summary
protected  java.util.List interceptorNames
          .
protected  Interceptor[] interceptors
          .
 
Fields inherited from class org.jboss.system.ServiceMBeanSupport
log, server, SERVICE_CONTROLLER_SIG, serviceName
 
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
 
Constructor Summary
JBossInterceptorStack()
           
JBossInterceptorStack(Interceptor[] interceptors)
           
 
Method Summary
 void addInterceptor(javax.management.ObjectName name)
          Add's the supplied name to the list of interceptor names.
 java.util.List getInterceptorNames()
           
 Interceptor[] getInterceptors()
           
 void rebuild()
          Rebuild the interceptor stack.
 void removeInterceptor(javax.management.ObjectName name)
          Remove's the supplied name from the list of interceptor names.
 void setInterceptorNames(java.util.List interceptorNames)
           
 void startService()
           
 void stopService()
           
 
Methods inherited from class org.jboss.portal.common.system.AbstractJBossService
create, destroy, getState, getStateString, start, stop
 
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
 
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
 

Field Detail

interceptors

protected Interceptor[] interceptors
.


interceptorNames

protected java.util.List interceptorNames
.

Constructor Detail

JBossInterceptorStack

public JBossInterceptorStack(Interceptor[] interceptors)

JBossInterceptorStack

public JBossInterceptorStack()
Method Detail

getInterceptorNames

public java.util.List getInterceptorNames()

setInterceptorNames

public void setInterceptorNames(java.util.List interceptorNames)

getInterceptors

public Interceptor[] getInterceptors()
Specified by:
getInterceptors in interface InterceptorStack

addInterceptor

public void addInterceptor(javax.management.ObjectName name)
                    throws java.lang.Exception
Add's the supplied name to the list of interceptor names.

Parameters:
name - the intercptor's ObjectName.
Throws:
java.lang.Exception

removeInterceptor

public void removeInterceptor(javax.management.ObjectName name)
                       throws java.lang.Exception
Remove's the supplied name from the list of interceptor names.

Parameters:
name - the intercptor's ObjectName.
Throws:
java.lang.Exception

startService

public void startService()
                  throws java.lang.Exception
Throws:
java.lang.Exception

rebuild

public void rebuild()
             throws java.lang.Exception
Rebuild the interceptor stack.

Throws:
java.lang.Exception

stopService

public void stopService()