|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jboss.ejb3.proxy.objectfactory.ProxyObjectFactory
org.jboss.ejb3.proxy.objectfactory.Ejb3RegistrarProxyObjectFactory
org.jboss.ejb3.proxy.objectfactory.session.SessionProxyObjectFactory
public abstract class SessionProxyObjectFactory
SessionProxyObjectFactory A Base JNDI Object Factory responsible for parsing metadata obtained from Reference Address information, and returning the appropriate Session Proxy
| Constructor Summary | |
|---|---|
SessionProxyObjectFactory()
|
|
| Method Summary | |
|---|---|
protected java.lang.Object |
createProxy(ProxyFactory factory,
javax.naming.Name name,
java.util.Map<java.lang.String,java.util.List<java.lang.String>> referenceAddresses)
Creates an proxy from the appropriate ProxyFactory as determined by metadata in the specified reference addresses |
protected java.lang.Class<?> |
getProxyFactoryClass()
Obtains the type or supertype used by proxy factories for this Object Factory |
protected boolean |
hasBusiness(javax.naming.Name name,
java.util.Map<java.lang.String,java.util.List<java.lang.String>> referenceAddresses)
Looks to the metadata specified by the reference addresses to determine if an EJB3 Business View is defined here. |
protected boolean |
hasHome(javax.naming.Name name,
java.util.Map<java.lang.String,java.util.List<java.lang.String>> referenceAddresses)
Looks to the metadata specified by the reference addresses to determine if an EJB2.x home interface is defined here. |
protected boolean |
hasLocalBusiness(java.util.Map<java.lang.String,java.util.List<java.lang.String>> referenceAddresses)
Determines if the specified metadata contains a type of local business |
protected boolean |
hasRemoteBusiness(java.util.Map<java.lang.String,java.util.List<java.lang.String>> referenceAddresses)
Determines if the specified metadata contains a type of remote business |
| Methods inherited from class org.jboss.ejb3.proxy.objectfactory.ProxyObjectFactory |
|---|
createProxyFactoryProxy, getObjectInstance, getProxy, getSingleReferenceAddressValue, getSingleRequiredReferenceAddressValue |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface javax.naming.spi.ObjectFactory |
|---|
getObjectInstance |
| Constructor Detail |
|---|
public SessionProxyObjectFactory()
| Method Detail |
|---|
protected java.lang.Object createProxy(ProxyFactory factory,
javax.naming.Name name,
java.util.Map<java.lang.String,java.util.List<java.lang.String>> referenceAddresses)
name - The JNDI Name looked upreferenceAddresses - A Map of RefAddr instances in form key = type and
value = List of values for this typeprotected java.lang.Class<?> getProxyFactoryClass()
getProxyFactoryClass in class ProxyObjectFactory
protected boolean hasHome(javax.naming.Name name,
java.util.Map<java.lang.String,java.util.List<java.lang.String>> referenceAddresses)
name - referenceAddresses -
protected boolean hasBusiness(javax.naming.Name name,
java.util.Map<java.lang.String,java.util.List<java.lang.String>> referenceAddresses)
name - referenceAddresses -
protected boolean hasLocalBusiness(java.util.Map<java.lang.String,java.util.List<java.lang.String>> referenceAddresses)
referenceAddresses -
protected boolean hasRemoteBusiness(java.util.Map<java.lang.String,java.util.List<java.lang.String>> referenceAddresses)
referenceAddresses -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||