public static ServiceName getServiceName(final String appName, final String moduleName, final String beanName, final String viewClassName) {
    """
	Returns a {@link ServiceName} for the {@link EJBViewMethodSecurityAttributesService}
	
	@param appName       The application name to which the bean belongs. Can be null if the bean is <b>not</b> deployed in a .ear
	@param moduleName    The module name to which the bean belongs
	@param beanName      The bean name
	@param viewClassName The fully qualified class name of the EJB view
	@return
    """
        final ServiceName serviceName;
        if (appName != null) {
            serviceName = BASE_SERVICE_NAME.append(appName);
        } else {
            serviceName = BASE_SERVICE_NAME;
        }
        return serviceName.append(moduleName).append(beanName).append(viewClassName);
    }
public static ServiceName getServiceName(final String appName, final String moduleName, final String beanName, final String viewClassName) {
        final ServiceName serviceName;
        if (appName != null) {
            serviceName = BASE_SERVICE_NAME.append(appName);
        } else {
            serviceName = BASE_SERVICE_NAME;
        }
        return serviceName.append(moduleName).append(beanName).append(viewClassName);
    }
public static ServiceName getServiceName ( final String appName , final String moduleName , final String beanName , final String viewClassName ) { final ServiceName serviceName ; if ( appName != null ) { serviceName = BASE_SERVICE_NAME . append ( appName ) ; } else { serviceName = BASE_SERVICE_NAME ; } return serviceName . append ( moduleName ) . append ( beanName ) . append ( viewClassName ) ; }
Returns a {@link ServiceName} for the {@link EJBViewMethodSecurityAttributesService}

@param appName       The application name to which the bean belongs. Can be null if the bean is <b>not</b> deployed in a .ear
@param moduleName    The module name to which the bean belongs
@param beanName      The bean name
@param viewClassName The fully qualified class name of the EJB view
@return
Returns a { @link ServiceName } for the { @link EJBViewMethodSecurityAttributesService }