org.jboss.remoting
Class ServerInterceptorChain

java.lang.Object
  extended byorg.jboss.remoting.ServerInterceptorChain
All Implemented Interfaces:
MBeanRegistration (src) , ServerInvocationHandler (src)

public class ServerInterceptorChain
extends java.lang.Object
implements MBeanRegistration (src) , ServerInvocationHandler (src)

ServerInterceptorChain.java Created: Fri May 2 10:36:51 2003


Nested Class Summary
static class ServerInterceptorChain.InterceptorIterator (src)
           
 
Constructor Summary
ServerInterceptorChain()
           
 
Method Summary
 void addListener(InvokerCallbackHandler (src)  invokerCallbackHandler)
          The addListener method
 Connector (src) getConnector()
          Get the Connector value.
 ObjectName (src) getConnectorName()
          Get the ConnectorName value.
 java.util.List getInterceptorNames()
          Get the InterceptorName value.
 java.util.List getInterceptors()
          Get the Interceptors value.
 java.lang.String getSubsystem()
          Get the Subsystem value.
 java.lang.Object invoke(InvocationRequest (src)  invocation)
          The invoke method
 void postDeregister()
          The postDeregister method
 void postRegister(java.lang.Boolean success)
          The postRegister method
 void preDeregister()
          The preDeregister method
 ObjectName (src) preRegister(MBeanServer (src)  server, ObjectName (src)  objectName)
          The preRegister method
 void removeListener(InvokerCallbackHandler (src)  invokerCallbackHandler)
          The removeListener method
 void setConnector(Connector (src)  newConnector)
          Set the Connector value.
 void setConnectorName(ObjectName (src)  newConnectorName)
          Set the ConnectorName value.
 void setInterceptorNames(java.util.List newInterceptorNames)
          Set the InterceptorName value.
 void setInterceptors(java.util.List newInterceptors)
          Set the Interceptors value.
 void setInvoker(ServerInvoker (src)  serverInvoker)
          The setInvoker method
 void setMBeanServer(MBeanServer (src)  MBeanServer)
          The setMBeanServer method
 void setSubsystem(java.lang.String newSubsystem)
          Set the Subsystem value.
 void start()
          The start method
 void stop()
          The stop method
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServerInterceptorChain

public ServerInterceptorChain()
Method Detail

getConnector

public Connector (src)  getConnector()
Get the Connector value.

Returns:
the Connector value. not managed

setConnector

public void setConnector(Connector (src)  newConnector)
Set the Connector value.

Parameters:
newConnector - The new Connector value. not managed

getConnectorName

public ObjectName (src)  getConnectorName()
Get the ConnectorName value.

Returns:
the ConnectorName value.

setConnectorName

public void setConnectorName(ObjectName (src)  newConnectorName)
Set the ConnectorName value.

Parameters:
newConnectorName - The new ConnectorName value.

getSubsystem

public java.lang.String getSubsystem()
Get the Subsystem value.

Returns:
the Subsystem value.

setSubsystem

public void setSubsystem(java.lang.String newSubsystem)
Set the Subsystem value.

Parameters:
newSubsystem - The new Subsystem value.

getInterceptors

public java.util.List getInterceptors()
Get the Interceptors value.

Returns:
the Interceptors value. not managed

setInterceptors

public void setInterceptors(java.util.List newInterceptors)
Set the Interceptors value.

Parameters:
newInterceptors - The new Interceptors value. not managed

getInterceptorNames

public java.util.List getInterceptorNames()
Get the InterceptorName value.

Returns:
the InterceptorName value.

setInterceptorNames

public void setInterceptorNames(java.util.List newInterceptorNames)
Set the InterceptorName value.


preRegister

public ObjectName (src)  preRegister(MBeanServer (src)  server,
                              ObjectName (src)  objectName)
                       throws java.lang.Exception
The preRegister method

Specified by:
preRegister in interface MBeanRegistration (src)
Parameters:
objectName - an ObjectName value
Returns:
an ObjectName value
Throws:
java.lang.Exception - if an error occurs

postRegister

public void postRegister(java.lang.Boolean success)
The postRegister method

Specified by:
postRegister in interface MBeanRegistration (src)
Parameters:
success - the MBeanServer passes true when the MBean was registered, false otherwise.

preDeregister

public void preDeregister()
                   throws java.lang.Exception
The preDeregister method

Specified by:
preDeregister in interface MBeanRegistration (src)
Throws:
java.lang.Exception - if an error occurs

postDeregister

public void postDeregister()
The postDeregister method

Specified by:
postDeregister in interface MBeanRegistration (src)

start

public void start()
           throws java.lang.Exception
The start method

Throws:
java.lang.Exception - if an error occurs

stop

public void stop()
          throws java.lang.Exception
The stop method

Throws:
java.lang.Exception - if an error occurs

addListener

public void addListener(InvokerCallbackHandler (src)  invokerCallbackHandler)
The addListener method

Specified by:
addListener in interface ServerInvocationHandler (src)
Parameters:
invokerCallbackHandler - an InvokerCallbackHandler value

removeListener

public void removeListener(InvokerCallbackHandler (src)  invokerCallbackHandler)
The removeListener method

Specified by:
removeListener in interface ServerInvocationHandler (src)
Parameters:
invokerCallbackHandler - an InvokerCallbackHandler value

setMBeanServer

public void setMBeanServer(MBeanServer (src)  MBeanServer)
The setMBeanServer method

Specified by:
setMBeanServer in interface ServerInvocationHandler (src)
Parameters:
MBeanServer - a MBeanServer value

invoke

public java.lang.Object invoke(InvocationRequest (src)  invocation)
                        throws java.lang.Throwable
The invoke method

Specified by:
invoke in interface ServerInvocationHandler (src)
Parameters:
invocation -
Returns:
an Object value
Throws:
java.lang.Throwable - if an error occurs

setInvoker

public void setInvoker(ServerInvoker (src)  serverInvoker)
The setInvoker method

Specified by:
setInvoker in interface ServerInvocationHandler (src)
Parameters:
serverInvoker - a ServerInvoker value