Class ComponentRegistry


  • public class ComponentRegistry
    extends Object
    Registry that can be used to create a fully injected class instance. If there is an appropriate component regiestered an instance of the component will be created. Otherwise the default class introspector will be used to create an instance.

    This can be problematic in theory, as it is possible to have multiple components for a single class, however it does not seem to be an issue in practice.

    This registry only contains simple component types that have at most 1 view

    Author:
    Stuart Douglas
    • Constructor Detail

      • ComponentRegistry

        public ComponentRegistry​(org.jboss.msc.service.ServiceRegistry serviceRegistry)
    • Method Detail

      • serviceName

        public static org.jboss.msc.service.ServiceName serviceName​(org.jboss.as.server.deployment.DeploymentUnit deploymentUnit)
      • getClassIntrospectorInjectedValue

        public org.jboss.msc.value.InjectedValue<EEClassIntrospector> getClassIntrospectorInjectedValue()