org.jboss.ejb3.proxy.impl.factory.session.service
Class ServiceRemoteProxyFactory

java.lang.Object
  extended by org.jboss.ejb3.proxy.impl.factory.ProxyFactoryBase
      extended by org.jboss.ejb3.proxy.impl.factory.session.service.ServiceProxyFactoryBase
          extended by org.jboss.ejb3.proxy.impl.factory.session.service.ServiceRemoteProxyFactory
All Implemented Interfaces:
ProxyFactory, ServiceProxyFactory, SessionProxyFactory

public class ServiceRemoteProxyFactory
extends ServiceProxyFactoryBase
implements ServiceProxyFactory

ServiceRemoteProxyFactory A @Service Proxy Factory for Remote Views

Version:
$Revision: $
Author:
ALR

Constructor Summary
ServiceRemoteProxyFactory(String name, String containerName, String containerGuid, org.jboss.metadata.ejb.jboss.JBossServiceBeanMetaData metadata, ClassLoader classloader, String url, org.jboss.aop.Advisor advisor, String interceptorStackName)
          Constructor
 
Method Summary
protected  SessionRemoteProxyInvocationHandler createInvocationHandler()
          Returns the ServiceProxyInvocationHandler to be used in Proxy Creation
protected  Set<String> getBusinessInterfaceTypes()
          Returns the a Set of String representations of the Business Interface Types
protected  String getInterceptorStackName()
          Return the name of the interceptor stack to apply to proxies created by this proxy factory
 String getUrl()
           
protected  void setInterceptorStackName(String interceptorStackName)
           
 void setUrl(String url)
           
 
Methods inherited from class org.jboss.ejb3.proxy.impl.factory.session.service.ServiceProxyFactoryBase
createProxyDefault, getMetadata, getProxyConstructor, setMetadata, setProxyConstructor, start, stop
 
Methods inherited from class org.jboss.ejb3.proxy.impl.factory.ProxyFactoryBase
createProxyConstructor, getAdvisor, getClassLoader, getCommonProxyInterfaces, getContainerGuid, getContainerName, getInterceptors, getName, setClassLoader, setContainerName, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jboss.ejb3.proxy.impl.factory.session.SessionProxyFactory
createProxyDefault
 
Methods inherited from interface org.jboss.ejb3.proxy.impl.factory.ProxyFactory
getName, start, stop
 

Constructor Detail

ServiceRemoteProxyFactory

public ServiceRemoteProxyFactory(String name,
                                 String containerName,
                                 String containerGuid,
                                 org.jboss.metadata.ejb.jboss.JBossServiceBeanMetaData metadata,
                                 ClassLoader classloader,
                                 String url,
                                 org.jboss.aop.Advisor advisor,
                                 String interceptorStackName)
Constructor

Parameters:
name - The unique name for this ProxyFactory
containerName - The name of the InvokableContext (container) upon which Proxies will invoke
containerGuid - The globally-unique name of the container
metadata - The metadata representing this SLSB
classloader - The ClassLoader associated with the StatelessContainer for which this ProxyFactory is to generate Proxies
url - The URL to use for remoting
advisor - The Advisor for proxies created by this factory
interceptorStackName - The name of the client-side interceptor stack to use. If null the default will apply.
Method Detail

getBusinessInterfaceTypes

protected final Set<String> getBusinessInterfaceTypes()
Returns the a Set of String representations of the Business Interface Types

Specified by:
getBusinessInterfaceTypes in class ServiceProxyFactoryBase
Returns:

getInterceptorStackName

protected String getInterceptorStackName()
Return the name of the interceptor stack to apply to proxies created by this proxy factory

Overrides:
getInterceptorStackName in class ProxyFactoryBase
Returns:

createInvocationHandler

protected SessionRemoteProxyInvocationHandler createInvocationHandler()
Description copied from class: ServiceProxyFactoryBase
Returns the ServiceProxyInvocationHandler to be used in Proxy Creation

Specified by:
createInvocationHandler in class ServiceProxyFactoryBase
Returns:

getUrl

public String getUrl()

setUrl

public void setUrl(String url)

setInterceptorStackName

protected void setInterceptorStackName(String interceptorStackName)


Copyright © 2010 JBoss, a division of Red Hat, Inc.. All Rights Reserved.