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.
 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.
 
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

public String getInvokerLocator()

setStrictRMIException

public 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

public 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:


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