1 9 package org.jboss.remoting.transport.mock; 10 11 import org.jboss.remoting.InvokerLocator; 12 import org.jboss.remoting.ServerInvoker; 13 14 import java.util.Map ; 15 16 22 public class MockServerInvoker extends ServerInvoker 23 { 24 boolean loaded = false; 25 26 public MockServerInvoker(InvokerLocator locator) 27 { 28 super(locator); 29 } 30 31 public MockServerInvoker(InvokerLocator locator, Map configuration) 32 { 33 super(locator, configuration); 34 } 35 36 protected String getDefaultDataType() 37 { 38 return null; 39 } 40 41 public String getMBeanObjectName() 42 { 43 return "jboss.remoting:service=invoker,transport=mock"; 44 } 45 46 53 public boolean isTransportBiDirectional() 54 { 55 return false; 56 } 57 58 } 59 | Popular Tags |