org.jboss.invocation.unified.server
Interface UnifiedInvokerMBean

All Superinterfaces:
org.jboss.remoting.ServerInvocationHandler, org.jboss.system.Service, org.jboss.system.ServiceMBean
All Known Implementing Classes:
UnifiedInvoker

public interface UnifiedInvokerMBean
extends org.jboss.system.ServiceMBean, org.jboss.remoting.ServerInvocationHandler

Author:
Tom Elrod

Field Summary
 
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
 
Method Summary
 String getInvokerLocator()
           
 boolean getStrictRMIException()
          A return of true means that the UnifiedInvokerProxy (on the client side) will wrap all RemoteExceptions within a new ServerException.
 String getSubSystem()
          Gets the subsystem that the invoker will be registered under within remoting connector
 void setConnector(org.jboss.remoting.transport.ConnectorMBean connector)
          This may be called if set depends in config with optional-attribute-name.
 void setStrictRMIException(boolean isStrict)
          If set to true, this will cause the UnifiedInvokerProxy (on the client side) to wrap all RemoteExceptions thrown from the server in a new ServerException.
 void setSubSystem(String subsystem)
          Sets the subsystem that the invoker will be registered under within remoting connector.
 
Methods inherited from interface org.jboss.system.ServiceMBean
getName, getState, getStateString, jbossInternalLifecycle
 
Methods inherited from interface org.jboss.system.Service
create, destroy, start, stop
 
Methods inherited from interface org.jboss.remoting.ServerInvocationHandler
addListener, invoke, removeListener, setInvoker, setMBeanServer
 

Method Detail

getInvokerLocator

String getInvokerLocator()

setStrictRMIException

void setStrictRMIException(boolean isStrict)
If set to true, this will cause the UnifiedInvokerProxy (on the client side) to wrap all RemoteExceptions thrown from the server in a new ServerException. If false, will unwrap the original exception thrown from withint the RemoteException and throw that. The default is false.

Parameters:
isStrict -

getStrictRMIException

boolean getStrictRMIException()
A return of true means that the UnifiedInvokerProxy (on the client side) will wrap all RemoteExceptions within a new ServerException. A return of false, will unwrap the original exception thrown from within the RemoteException and throw that. The default, if not explicitly set, is false.

Returns:

setConnector

void setConnector(org.jboss.remoting.transport.ConnectorMBean connector)
This may be called if set depends in config with optional-attribute-name.

Parameters:
connector -

getSubSystem

String getSubSystem()
Gets the subsystem that the invoker will be registered under within remoting connector

Returns:

setSubSystem

void setSubSystem(String subsystem)
Sets the subsystem that the invoker will be registered under within remoting connector.

Parameters:
subsystem -


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.