ee/src/main/java/org/jboss/as/ee/component/ComponentDescription.java
public void setNamingMode(final ComponentNamingMode namingMode) {
        if (namingMode == null) {
            throw EeLogger.ROOT_LOGGER.nullVar("namingMode", "component", componentName);
        }
        this.namingMode = namingMode;
    }
public void setNamingMode(final ComponentNamingMode namingMode) {
        if (namingMode == null) {
            throw EeLogger.ROOT_LOGGER.nullVar("namingMode", "component", componentName);
        }
        this.namingMode = namingMode;
    }
Set the naming mode of this component.  May not be {@code null}.

@param namingMode the naming mode