|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jboss.ejb3.proxy.objectfactory.ProxyObjectFactory
public abstract class ProxyObjectFactory
ProxyObjectFactory Base upon which Proxy Object Factories may build. Defines abstractions to:
| Constructor Summary | |
|---|---|
ProxyObjectFactory()
|
|
| Method Summary | |
|---|---|
protected ProxyFactory |
createProxyFactoryProxy(javax.naming.Name name,
java.util.Map<java.lang.String,java.util.List<java.lang.String>> refAddrs,
java.lang.String proxyFactoryRegistryKey)
Creates a remoting proxy to the proxy factory. |
java.lang.Object |
getObjectInstance(java.lang.Object obj,
javax.naming.Name name,
javax.naming.Context nameCtx,
java.util.Hashtable<?,?> environment)
Returns an appropriate Proxy based on the Reference Address information associated with the Reference (obj) bound at name in the specified nameCtx with specified environment. |
protected abstract java.lang.Object |
getProxy(ProxyFactory proxyFactory,
javax.naming.Name name,
java.util.Map<java.lang.String,java.util.List<java.lang.String>> referenceAddresses)
|
protected abstract java.lang.Class<?> |
getProxyFactoryClass()
Obtains the type or supertype used by proxy factories for this Object Factory |
protected java.lang.String |
getSingleReferenceAddressValue(javax.naming.Name name,
java.util.Map<java.lang.String,java.util.List<java.lang.String>> referenceAddresses,
java.lang.String refAddrType)
Obtains the single value of the specified type as obtained from the specified reference addresses bound at the specified Name. |
protected java.lang.String |
getSingleRequiredReferenceAddressValue(javax.naming.Name name,
java.util.Map<java.lang.String,java.util.List<java.lang.String>> referenceAddresses,
java.lang.String refAddrType)
Obtains the single value of the specified type as obtained from the specified reference addresses bound at the specified Name. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ProxyObjectFactory()
| Method Detail |
|---|
public java.lang.Object getObjectInstance(java.lang.Object obj,
javax.naming.Name name,
javax.naming.Context nameCtx,
java.util.Hashtable<?,?> environment)
throws java.lang.Exception
getObjectInstance in interface javax.naming.spi.ObjectFactoryjava.lang.ExceptionObjectFactory.getObjectInstance(java.lang.Object,
javax.naming.Name, javax.naming.Context, java.util.Hashtable)
protected ProxyFactory createProxyFactoryProxy(javax.naming.Name name,
java.util.Map<java.lang.String,java.util.List<java.lang.String>> refAddrs,
java.lang.String proxyFactoryRegistryKey)
throws java.lang.Exception
name - refAddrs - proxyFactoryRegistryKey -
java.lang.Exception
protected java.lang.String getSingleRequiredReferenceAddressValue(javax.naming.Name name,
java.util.Map<java.lang.String,java.util.List<java.lang.String>> referenceAddresses,
java.lang.String refAddrType)
name - referenceAddresses - refAddrType -
protected java.lang.String getSingleReferenceAddressValue(javax.naming.Name name,
java.util.Map<java.lang.String,java.util.List<java.lang.String>> referenceAddresses,
java.lang.String refAddrType)
name - referenceAddresses - refAddrType -
protected abstract java.lang.Object getProxy(ProxyFactory proxyFactory,
javax.naming.Name name,
java.util.Map<java.lang.String,java.util.List<java.lang.String>> referenceAddresses)
protected abstract java.lang.Class<?> getProxyFactoryClass()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||