org.jboss.ejb3.proxy.impl.remoting
Class ProxyRemotingUtils

java.lang.Object
  extended by org.jboss.ejb3.proxy.impl.remoting.ProxyRemotingUtils

public class ProxyRemotingUtils
extends java.lang.Object

ProxyRemotingUtils


Field Summary
protected static java.lang.String DEFAULT_CLIENT_BINDING
          The default URL for InvokerLocator in the case @RemoteBinding does not specify it Synchronization policy on "this"
protected static java.lang.String DEFAULT_CLIENT_BINDING_IF_CONNECTOR_NOT_FOUND
          The default URL for InvokerLocator if if cannot be read from the EJB3 Remoting Connector
 
Constructor Summary
ProxyRemotingUtils()
           
 
Method Summary
static org.jboss.ejb3.proxy.spi.container.InvokableContext createRemoteProxyToContainer(java.lang.String containerName, java.lang.String containerGuid, java.lang.String url, org.jboss.aop.advice.Interceptor[] interceptors, java.lang.Object target)
          Creates a remote proxy to the container using the specified arguments.
static java.lang.String getClientBinding(java.lang.String invokerName)
          Obtains the client binding for the specified invokerName (supplied as the Object Store bind name in MC)
static java.lang.String getDefaultClientBinding()
          Obtains the default client binding Will return the value of the InvokerLocator used by the EJB3 Remoting Connector EJBTHREE-1419
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_CLIENT_BINDING

protected static java.lang.String DEFAULT_CLIENT_BINDING
The default URL for InvokerLocator in the case @RemoteBinding does not specify it Synchronization policy on "this"


DEFAULT_CLIENT_BINDING_IF_CONNECTOR_NOT_FOUND

protected static final java.lang.String DEFAULT_CLIENT_BINDING_IF_CONNECTOR_NOT_FOUND
The default URL for InvokerLocator if if cannot be read from the EJB3 Remoting Connector

See Also:
Constant Field Values
Constructor Detail

ProxyRemotingUtils

public ProxyRemotingUtils()
Method Detail

getDefaultClientBinding

public static java.lang.String getDefaultClientBinding()
Obtains the default client binding Will return the value of the InvokerLocator used by the EJB3 Remoting Connector EJBTHREE-1419


getClientBinding

public static java.lang.String getClientBinding(java.lang.String invokerName)
                                         throws org.jboss.ejb3.common.registrar.spi.NotBoundException
Obtains the client binding for the specified invokerName (supplied as the Object Store bind name in MC)

Parameters:
invokerName -
Returns:
Throws:
org.jboss.ejb3.common.registrar.spi.NotBoundException - If the specified invokerName is not bound in MC

createRemoteProxyToContainer

public static org.jboss.ejb3.proxy.spi.container.InvokableContext createRemoteProxyToContainer(java.lang.String containerName,
                                                                                               java.lang.String containerGuid,
                                                                                               java.lang.String url,
                                                                                               org.jboss.aop.advice.Interceptor[] interceptors,
                                                                                               java.lang.Object target)
Creates a remote proxy to the container using the specified arguments. This is here to centralize the hackiness of this approach. Ideally remoting should be an add-on capability, not built-in to the core logic of having a proxy to a container. Thus marked as FIXME.

Parameters:
containerName -
containerGuid -
url -
interceptors -
target -
Returns: