|
||||||||||
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 Constructor<?> |
createProxyConstructor(Class<?>[] interfaces,
ClassLoader cl)
Create a Proxy Constructor for the specified interfaces, using the specified CL |
static Set<Class<?>> |
getBusinessInterfaces(Class<?> beanClass)
Resolve the potential business interfaces on an enterprise bean. |
static Set<Class<?>> |
getBusinessInterfaces(Class<?> beanClass,
boolean includeSupers)
Resolve the potential business interfaces on an enterprise bean. |
static String |
getDefaultRemoteBusinessJndiName(EJBContainer container)
|
static String |
getHomeJndiName(EJBContainer container)
|
static String |
getJndiName(EJBContainer container,
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 Class<?>[] |
getLocalAndBusinessLocalInterfaces(Container container)
|
static 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 Class<?> |
getLocalHomeInterface(Container container)
|
static String |
getLocalHomeJndiName(EJBContainer container)
|
static 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 String |
getLocalJndiName(EJBContainer container)
|
static 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 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 String |
getRemoteBusinessJndiName(EJBContainer container)
|
static String |
getRemoteBusinessJndiName(EJBContainer container,
boolean check)
|
static String |
getRemoteBusinessJndiName(EJBContainer container,
org.jboss.ejb3.annotation.RemoteBinding binding,
boolean conflictCheck)
|
static Class<?> |
getRemoteHomeInterface(Container container)
|
static 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,
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 Class<?>[] getLocalAndBusinessLocalInterfaces(Container container)
container
-
public static Set<Class<?>> getBusinessInterfaces(Class<?> beanClass)
beanClass
- the EJB implementation class
EJBContainer.getBusinessInterfaces()
public static Set<Class<?>> getBusinessInterfaces(Class<?> beanClass, boolean includeSupers)
beanClass
- the EJB implementation classincludeSupers
- Whether or not to include superclasses of the specified beanClass in this check
EJBContainer.getBusinessInterfaces()
public static Class<?> getLocalHomeInterface(Container container)
public static Class<?> getRemoteHomeInterface(Container container)
public static boolean publishesInterface(Container container, Class<?> businessInterface)
public static String getJndiName(EJBContainer container, Class<?> businessInterface)
container
- businessInterface
-
public static Class<?>[] getLocalInterfaces(Container container)
container
-
public static Class<?>[] getRemoteInterfaces(Container container)
container
-
public static Class<?>[] getLocalBusinessInterfaces(Container container)
container
-
public static Class<?>[] getRemoteBusinessInterfaces(Container container)
container
-
public static Class<?>[] getRemoteAndBusinessRemoteInterfaces(Container container)
container
-
public static Constructor<?> createProxyConstructor(Class<?>[] interfaces, ClassLoader cl) throws Exception
interfaces
- cl
-
Exception
public static String getHomeJndiName(EJBContainer container)
public static String getLocalHomeJndiName(EJBContainer container)
public static String getLocalJndiName(EJBContainer container)
public static String getRemoteBusinessJndiName(EJBContainer container)
public static String getRemoteBusinessJndiName(EJBContainer container, boolean check)
public static String getRemoteBusinessJndiName(EJBContainer container, org.jboss.ejb3.annotation.RemoteBinding binding, boolean conflictCheck)
public static String getDefaultRemoteBusinessJndiName(EJBContainer container)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |