Class ServiceNames


  • public final class ServiceNames
    extends Object
    • Field Detail

      • WELD_START_SERVICE_NAME

        public static final org.jboss.msc.service.ServiceName WELD_START_SERVICE_NAME
      • BEAN_MANAGER_SERVICE_NAME

        public static final org.jboss.msc.service.ServiceName BEAN_MANAGER_SERVICE_NAME
      • WELD_SECURITY_SERVICES_SERVICE_NAME

        public static final org.jboss.msc.service.ServiceName WELD_SECURITY_SERVICES_SERVICE_NAME
      • WELD_TRANSACTION_SERVICES_SERVICE_NAME

        public static final org.jboss.msc.service.ServiceName WELD_TRANSACTION_SERVICES_SERVICE_NAME
      • WELD_START_COMPLETION_SERVICE_NAME

        public static final org.jboss.msc.service.ServiceName WELD_START_COMPLETION_SERVICE_NAME
    • Constructor Detail

      • ServiceNames

        public ServiceNames()
    • Method Detail

      • beanManagerServiceName

        public static org.jboss.msc.service.ServiceName beanManagerServiceName​(org.jboss.as.server.deployment.DeploymentUnit deploymentUnit)
        Gets the Bean Manager MSC service name relative to the Deployment Unit.

        Modules outside of weld subsystem should use WeldCapability instead to get the name of the Bean Manager service associated to the deployment unit.

        Parameters:
        deploymentUnit - The deployment unit to be used.
        Returns:
        The Bean Manager service name.
      • capabilityServiceName

        public static org.jboss.msc.service.ServiceName capabilityServiceName​(org.jboss.as.server.deployment.DeploymentUnit deploymentUnit,
                                                                              String baseCapabilityName,
                                                                              String... dynamicParts)