Interface ComponentInstance

    • Method Detail

      • getInstance

        Object getInstance()
        Gets the actual component implementation instance.
        Returns:
        the component implementation instance
      • getName

        ComponentName getName()
        Gets the name of the component.
        Returns:
        the component name
      • getContext

        RuntimeContext getContext()
        Gets the runtime context attached to this instance.
        Returns:
        the runtime context
      • activate

        void activate()
        Activates the implementation instance.
      • start

        void start()
        Starts the implementation instance.
        Since:
        9.3
      • deactivate

        void deactivate()
        Deactivates the implementation instance.
      • destroy

        void destroy()
        Destroys this instance.
      • reload

        @Deprecated
        void reload()
        Deprecated.
        since 9.3, but in fact since 5.6, only usage in RegistrationInfoImpl
        Reload the component. All the extensions and registries are reloaded.
      • getProvidedServiceNames

        String[] getProvidedServiceNames()
        Gets the list of provided services, or null if no service is provided.
        Returns:
        an array containing the service class names or null if no service is provided
      • getRegistrationInfo

        RegistrationInfo getRegistrationInfo()
        Gets the Registration Info
        Returns:
        the registration info
        Since:
        10.3