|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jboss.ejb3.proxy.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)
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 org.jboss.aop.advice.Interceptor[] |
getInterceptors()
Obtains all interceptors in this Proxy Factory's stack |
protected java.lang.String |
getInterceptorStackName()
Return the name of the interceptor stack to apply to proxies created by this proxy factory, or null if no interceptors should be applied |
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 the ProxyFactoryDeployer 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)
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 java.lang.String getInterceptorStackName()
protected org.jboss.aop.advice.Interceptor[] getInterceptors()
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 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 | ||||||||