|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jboss.ejb3.proxy.impl.factory.ProxyFactoryBase
public abstract class ProxyFactoryBase
ProxyFactoryBase A Base upon which Proxy Factory Implementations may build
| Constructor Summary | |
|---|---|
ProxyFactoryBase(java.lang.String name,
java.lang.String containerName,
java.lang.String containerGuid,
java.lang.ClassLoader classloader,
org.jboss.aop.Advisor advisor,
java.lang.String overrideInterceptorStackName)
Constructor |
|
| Method Summary | |
|---|---|
protected java.lang.reflect.Constructor<?> |
createProxyConstructor(java.util.Set<java.lang.Class<?>> interfaces,
java.lang.ClassLoader cl)
Create a Proxy Constructor for the specified interfaces, using the specified CL |
protected org.jboss.aop.Advisor |
getAdvisor()
|
java.lang.ClassLoader |
getClassLoader()
|
protected java.util.Set<java.lang.Class<?>> |
getCommonProxyInterfaces()
Returns Proxy interfaces common to all Proxies generated by this ProxyFactory |
protected java.lang.String |
getContainerGuid()
|
protected java.lang.String |
getContainerName()
|
protected abstract java.lang.String |
getDefaultInterceptorStackName()
Obtains the name of the default interceptor stack |
protected org.jboss.aop.advice.Interceptor[] |
getInterceptors()
Obtains all interceptors in this Proxy Factory's stack |
java.lang.String |
getName()
Returns the unique name of this ProxyFactory |
protected void |
setClassLoader(java.lang.ClassLoader classloader)
|
void |
setContainerName(java.lang.String containerName)
|
protected void |
setName(java.lang.String name)
|
void |
start()
Lifecycle callback to be invoked by before the ProxyFactory is able to service requests |
void |
stop()
Lifecycle callback to be invoked by the ProxyFactoryDeployer before the ProxyFactory is taken out of service, possibly GC'd |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ProxyFactoryBase(java.lang.String name,
java.lang.String containerName,
java.lang.String containerGuid,
java.lang.ClassLoader classloader,
org.jboss.aop.Advisor advisor,
java.lang.String overrideInterceptorStackName)
name - The unique name for this ProxyFactorycontainerName - The name of the InvokableContext (container)
upon which Proxies will invokecontainerGuid - The globally-unique name of the containerclassloader - The ClassLoader associated with the EJBContainer
for which this ProxyFactory is to generate Proxiesadvisor - The Advisor for proxies created by this factory| Method Detail |
|---|
protected java.lang.reflect.Constructor<?> createProxyConstructor(java.util.Set<java.lang.Class<?>> interfaces,
java.lang.ClassLoader cl)
interfaces - cl -
java.lang.Exceptionprotected java.util.Set<java.lang.Class<?>> getCommonProxyInterfaces()
protected org.jboss.aop.advice.Interceptor[] getInterceptors()
protected abstract java.lang.String getDefaultInterceptorStackName()
public void start()
throws java.lang.Exception
start in interface ProxyFactoryjava.lang.Exception
public void stop()
throws java.lang.Exception
stop in interface ProxyFactoryjava.lang.Exceptionpublic java.lang.ClassLoader getClassLoader()
protected void setClassLoader(java.lang.ClassLoader classloader)
public java.lang.String getName()
ProxyFactory
getName in interface ProxyFactoryprotected void setName(java.lang.String name)
protected java.lang.String getContainerName()
public void setContainerName(java.lang.String containerName)
protected final org.jboss.aop.Advisor getAdvisor()
protected java.lang.String getContainerGuid()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||