org.jboss.remoting.transport.mock
Class MockServerInvoker

java.lang.Object
  extended byorg.jboss.remoting.AbstractInvoker
      extended byorg.jboss.remoting.ServerInvoker
          extended byorg.jboss.remoting.transport.mock.MockServerInvoker
All Implemented Interfaces:
Invoker

public class MockServerInvoker
extends ServerInvoker

MockServerInvoker

Version:
$Revision: 1.3 $
Author:
Jeff Haynie

Field Summary
 
Fields inherited from class org.jboss.remoting.ServerInvoker
callbackHandlers, handlers, MAX_NUM_ONEWAY_THREADS
 
Fields inherited from class org.jboss.remoting.AbstractInvoker
classbyteloader, localServerLocator, locator, log, logExtra
 
Constructor Summary
MockServerInvoker(InvokerLocator locator)
           
 
Method Summary
 byte[] getClassBytes(String className)
          method is called to retrieve a byte array of a Class for a given class name
 boolean isTransportBiDirectional()
          returns true if the transport is bi-directional in nature, for example, SOAP in unidirectional and SOCKETs are bi-directional (unless behind a firewall for example).
 
Methods inherited from class org.jboss.remoting.ServerInvoker
addInvocationHandler, getInvocationHandler, getInvocationHandlers, getSupportedSubsystems, hasInvocationHandler, invoke, invoke, isStarted, postProcess, preProcess, removeInvocationHandler, start, stop
 
Methods inherited from class org.jboss.remoting.AbstractInvoker
addClass, getClientLocator, getLocator, loadClass, read, setClassLoader, setClientLocator, unmarshal
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MockServerInvoker

public MockServerInvoker(InvokerLocator locator)
Method Detail

isTransportBiDirectional

public boolean isTransportBiDirectional()
returns true if the transport is bi-directional in nature, for example, SOAP in unidirectional and SOCKETs are bi-directional (unless behind a firewall for example).

Specified by:
isTransportBiDirectional in class ServerInvoker
Returns:

getClassBytes

public byte[] getClassBytes(String className)
Description copied from class: AbstractInvoker
method is called to retrieve a byte array of a Class for a given class name

Overrides:
getClassBytes in class AbstractInvoker
Parameters:
className -
Returns:


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