1 22 package org.jboss.invocation.jrmp.server; 23 24 import javax.management.ObjectName ; 25 26 import org.jboss.system.ServiceMBean; 27 import org.jboss.invocation.Invocation; 28 29 import org.w3c.dom.Element ; 30 31 38 public interface JRMPProxyFactoryMBean extends ServiceMBean 39 { 40 43 public ObjectName getInvokerName(); 44 47 public void setInvokerName(ObjectName jmxInvokerName); 48 49 51 public ObjectName getTargetName(); 52 54 public void setTargetName(ObjectName targetName); 55 56 57 public String getJndiName(); 58 59 public void setJndiName(String jndiName); 60 61 62 public Class getExportedInterface(); 63 64 public void setExportedInterface(Class exportedInterface); 65 66 67 public Class [] getExportedInterfaces(); 68 69 public void setExportedInterfaces(Class [] exportedInterface); 70 71 75 public Element getClientInterceptors(); 76 80 public void setClientInterceptors(Element config) throws Exception ; 81 82 85 public boolean getInvokeTargetMethod(); 86 89 public void setInvokeTargetMethod(boolean invokeTargetMethod); 90 91 93 public Object getProxy(); 94 95 public Object invoke(Invocation mi) throws Exception ; 96 } 97 | Popular Tags |