ee/src/main/java/org/jboss/as/ee/component/ViewDescription.java
public ServiceName getServiceName() {
        //TODO: need to set viewNameParts somewhere
        if (!viewNameParts.isEmpty()) {
            return componentDescription.getServiceName().append("VIEW").append(viewNameParts.toArray(new String[viewNameParts.size()]));
        } else {
            return componentDescription.getServiceName().append("VIEW").append(viewClassName);
        }
    }
public ServiceName getServiceName() {
        //TODO: need to set viewNameParts somewhere
        if (!viewNameParts.isEmpty()) {
            return componentDescription.getServiceName().append("VIEW").append(viewNameParts.toArray(new String[viewNameParts.size()]));
        } else {
            return componentDescription.getServiceName().append("VIEW").append(viewClassName);
        }
    }
public ServiceName getServiceName ( ) { //TODO: need to set viewNameParts somewhere if ( ! viewNameParts . isEmpty ( ) ) { return componentDescription . getServiceName ( ) . append ( "VIEW" ) . append ( viewNameParts . toArray ( new String [ viewNameParts . size ( ) ] ) ) ; } else { return componentDescription . getServiceName ( ) . append ( "VIEW" ) . append ( viewClassName ) ; } }
Get the service name for this view.

@return the service name
Get the service name for this view .