Class ManagerImpl

    • Constructor Detail

      • ManagerImpl

        public ManagerImpl​(Registry dependencies,
                           Registry registrations)
      • ManagerImpl

        public ManagerImpl​(Registry dependencies,
                           Registry registrations,
                           boolean allowCustomServices)
    • Method Detail

      • register

        public void register​(Class<?> clazz)
        Description copied from interface: Manager
        Register a service. If the given class is an Action, a Command will be created and registered, else, an instance of the class will be created, injected and registered.
        Specified by:
        register in interface Manager
        Parameters:
        clazz - the Action class to register.
      • unregister

        public void unregister​(Class<?> clazz)
        Description copied from interface: Manager
        Unregister a previously registered class.
        Specified by:
        unregister in interface Manager
        Parameters:
        clazz - the Action class to unregister.