naming/src/main/java/org/jboss/as/naming/context/ModularReference.java
public static ModularReference create(final String className, final Class<?> factoryClass) {
        return new ModularReference(className, factoryClass.getName(), Module.forClass(factoryClass).getIdentifier());
    }
public static ModularReference create(final String className, final Class<?> factoryClass) {
        return new ModularReference(className, factoryClass.getName(), Module.forClass(factoryClass).getIdentifier());
    }
public static ModularReference create ( final String className , final Class < ? > factoryClass ) { return new ModularReference ( className , factoryClass . getName ( ) , Module . forClass ( factoryClass ) . getIdentifier ( ) ) ; }
Create a ModuleReference from a target class name and factory class.

@param className The class name for the reference
@param factoryClass The factory class
@return A ModularReference
Create a ModuleReference from a target class name and factory class .