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

java.lang.Object
  extended by ServiceMBeanSupport
      extended by org.jboss.portal.jems.as.system.AbstractJBossService
          extended by org.jboss.portal.server.impl.invocation.JBossInterceptorStackFactory
All Implemented Interfaces:
InterceptorStackFactory

public class JBossInterceptorStackFactory
extends AbstractJBossService
implements InterceptorStackFactory

Version:
$Revision: 1.10 $
Author:
Julien Viet

Field Summary
protected  java.util.List dynamicInterceptorNames
          .
protected  java.util.List interceptorNames
          .
protected  InterceptorStack stack
          .
 
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 getDynamicInterceptorNames()
           
 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 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

interceptorNames

protected java.util.List interceptorNames
.


dynamicInterceptorNames

protected java.util.List dynamicInterceptorNames
.


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)

getDynamicInterceptorNames

public java.util.List getDynamicInterceptorNames()

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