Class StaticServiceRegistry

  • All Implemented Interfaces:
    org.kie.api.internal.utils.ServiceRegistry, org.kie.api.Service

    public class StaticServiceRegistry
    extends Object
    implements org.kie.api.internal.utils.ServiceRegistry
    • Constructor Detail

      • StaticServiceRegistry

        protected StaticServiceRegistry()
    • Method Detail

      • wireServices

        protected void wireServices()
      • registerService

        protected void registerService​(String service,
                                       String implementation,
                                       boolean mandatory)
      • get

        public <T> T get​(Class<T> cls)
        Specified by:
        get in interface org.kie.api.internal.utils.ServiceRegistry
      • getAll

        public <T> List<T> getAll​(Class<T> cls)
        Specified by:
        getAll in interface org.kie.api.internal.utils.ServiceRegistry
      • newInstance

        public <T> T newInstance​(String name)