|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jboss.ejb3.proxy.factory.ProxyFactoryHelper
public class ProxyFactoryHelper
Comment
| Constructor Summary | |
|---|---|
ProxyFactoryHelper()
|
|
| Method Summary | |
|---|---|
static java.lang.reflect.Constructor<?> |
createProxyConstructor(java.lang.Class<?>[] interfaces,
java.lang.ClassLoader cl)
Create a Proxy Constructor for the specified interfaces, using the specified CL |
static java.util.Set<java.lang.Class<?>> |
getBusinessInterfaces(java.lang.Class<?> beanClass)
Resolve the potential business interfaces on an enterprise bean. |
static java.util.Set<java.lang.Class<?>> |
getBusinessInterfaces(java.lang.Class<?> beanClass,
boolean includeSupers)
Resolve the potential business interfaces on an enterprise bean. |
static java.lang.String |
getDefaultRemoteBusinessJndiName(EJBContainer container)
|
static java.lang.String |
getHomeJndiName(EJBContainer container)
|
static java.lang.String |
getJndiName(EJBContainer container,
java.lang.Class<?> businessInterface)
Obtains the JNDI name for the specified container; may either be explicitly-defined by annotation / XML or will otherwise default to the configured JNDI Binding Policy |
static java.lang.Class<?>[] |
getLocalAndBusinessLocalInterfaces(Container container)
|
static java.lang.Class<?>[] |
getLocalBusinessInterfaces(Container container)
Returns all local business interfaces in the specified container; interfaces marked as "local" via either annotation or XML and not extending EJBLocalObject |
static java.lang.Class<?> |
getLocalHomeInterface(Container container)
|
static java.lang.String |
getLocalHomeJndiName(EJBContainer container)
|
static java.lang.Class<?>[] |
getLocalInterfaces(Container container)
Returns all local interfaces in the specified container; interfaces marked as "local" via either annotation or XML and extending EJBLocalObject |
static java.lang.String |
getLocalJndiName(EJBContainer container)
|
static java.lang.Class<?>[] |
getRemoteAndBusinessRemoteInterfaces(Container container)
Returns all remote and remote business interfaces in the specified container, designated by @Remote or in ejb-jar.xml as "remote" or "business-remote" |
static java.lang.Class<?>[] |
getRemoteBusinessInterfaces(Container container)
Returns all remote business interfaces in the specified container; interfaces marked as "remote" via either annotation or XML and not extending EJBObject |
static java.lang.String |
getRemoteBusinessJndiName(EJBContainer container)
|
static java.lang.String |
getRemoteBusinessJndiName(EJBContainer container,
boolean check)
|
static java.lang.String |
getRemoteBusinessJndiName(EJBContainer container,
org.jboss.ejb3.annotation.RemoteBinding binding,
boolean conflictCheck)
|
static java.lang.Class<?> |
getRemoteHomeInterface(Container container)
|
static java.lang.Class<?>[] |
getRemoteInterfaces(Container container)
Returns all remote interfaces in the specified container; interfaces marked as "remote" via either annotation or XML and extending EJBObject |
static boolean |
publishesInterface(Container container,
java.lang.Class<?> businessInterface)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ProxyFactoryHelper()
| Method Detail |
|---|
public static java.lang.Class<?>[] getLocalAndBusinessLocalInterfaces(Container container)
container -
public static java.util.Set<java.lang.Class<?>> getBusinessInterfaces(java.lang.Class<?> beanClass)
beanClass - the EJB implementation class
EJBContainer.getBusinessAndComponentInterfaces()
public static java.util.Set<java.lang.Class<?>> getBusinessInterfaces(java.lang.Class<?> beanClass,
boolean includeSupers)
beanClass - the EJB implementation classincludeSupers - Whether or not to include superclasses of the specified beanClass in this check
EJBContainer.getBusinessAndComponentInterfaces()public static java.lang.Class<?> getLocalHomeInterface(Container container)
public static java.lang.Class<?> getRemoteHomeInterface(Container container)
public static boolean publishesInterface(Container container,
java.lang.Class<?> businessInterface)
public static java.lang.String getJndiName(EJBContainer container,
java.lang.Class<?> businessInterface)
container - businessInterface -
public static java.lang.Class<?>[] getLocalInterfaces(Container container)
container -
public static java.lang.Class<?>[] getRemoteInterfaces(Container container)
container -
public static java.lang.Class<?>[] getLocalBusinessInterfaces(Container container)
container -
public static java.lang.Class<?>[] getRemoteBusinessInterfaces(Container container)
container -
public static java.lang.Class<?>[] getRemoteAndBusinessRemoteInterfaces(Container container)
container -
public static java.lang.reflect.Constructor<?> createProxyConstructor(java.lang.Class<?>[] interfaces,
java.lang.ClassLoader cl)
throws java.lang.Exception
interfaces - cl -
java.lang.Exceptionpublic static java.lang.String getHomeJndiName(EJBContainer container)
public static java.lang.String getLocalHomeJndiName(EJBContainer container)
public static java.lang.String getLocalJndiName(EJBContainer container)
public static java.lang.String getRemoteBusinessJndiName(EJBContainer container)
public static java.lang.String getRemoteBusinessJndiName(EJBContainer container,
boolean check)
public static java.lang.String getRemoteBusinessJndiName(EJBContainer container,
org.jboss.ejb3.annotation.RemoteBinding binding,
boolean conflictCheck)
public static java.lang.String getDefaultRemoteBusinessJndiName(EJBContainer container)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||