pojo/src/main/java/org/jboss/as/pojo/descriptor/BeanMetaDataConfig.java
public static ServiceName toBeanName(String name, BeanState state) {
        if (state == null)
            state = BeanState.INSTALLED;

        return JBOSS_POJO.append(name).append(state.name());
    }
public static ServiceName toBeanName(String name, BeanState state) {
        if (state == null)
            state = BeanState.INSTALLED;

        return JBOSS_POJO.append(name).append(state.name());
    }
public static ServiceName toBeanName ( String name , BeanState state ) { if ( state == null ) state = BeanState . INSTALLED ; return JBOSS_POJO . append ( name ) . append ( state . name ( ) ) ; }
Get MC bean name.

@param name the original bean name
@param state the state
@return bean service name
Get MC bean name .