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

JBossInterceptorStackFactory - JBOSS Portal 2.6 API 英文版文档


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

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

public class JBossInterceptorStackFactory
extends AbstractJBossService
implements InterceptorStackFactory

Version:
$Revision: 1.10 $
Author:
Julien Viet

Field Summary
protected  java.util.List interceptorNames
          .
protected  InterceptorStack stack
           
 
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
 
Constructor Summary
JBossInterceptorStackFactory()
           
 
Method Summary
 void addInterceptor(javax.management.ObjectName name)
          Add's the supplied name to the list of interceptor names.
 java.util.List getInterceptorNames()
           
 InterceptorStack getInterceptorStack()
           
 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.jems.as.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

interceptorNames

protected java.util.List interceptorNames
.


stack

protected InterceptorStack stack
Constructor Detail

JBossInterceptorStackFactory

public JBossInterceptorStackFactory()
Method Detail

getInterceptorNames

public java.util.List getInterceptorNames()

setInterceptorNames

public void setInterceptorNames(java.util.List interceptorNames)

getInterceptorStack

public InterceptorStack getInterceptorStack()
Specified by:
getInterceptorStack in interface InterceptorStackFactory

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()