Package org.jboss.as.naming.context

Examples of org.jboss.as.naming.context.ModularReference


     * @param beanName The name for the manage bean
     * @return A reference instance
     */
    public static ModularReference createReference(final Class<?> managedBeanClass, final String beanName) {
        final RefAddr refAddr = new ManagedBeanObjectFactory.ServiceNameRefAdr(beanName);
        return new ModularReference(managedBeanClass.getName(), refAddr, ManagedBeanObjectFactory.class.getName(), Module.forClass(ManagedBeanObjectFactory.class).getIdentifier());
    }
View Full Code Here

TOP

Related Classes of org.jboss.as.naming.context.ModularReference

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.