Class ComponentRegistryAgent

  • All Implemented Interfaces:
    IComponentRegistryService

    public class ComponentRegistryAgent
    extends java.lang.Object
    implements IComponentRegistryService
    The component registry is a component for creating proxy services. Real services/components are created on demand on service call.
    • Field Detail

      • components

        protected java.util.Map<java.lang.String,​java.lang.Object> components
        The registered components (future or iexternalaccess).
    • Constructor Detail

      • ComponentRegistryAgent

        public ComponentRegistryAgent()
    • Method Detail

      • agentCreated

        public IFuture<java.lang.Void> agentCreated()
        Called once after agent creation.
      • removeComponentType

        public IFuture<java.lang.Void> removeComponentType​(java.lang.String componentmodel)
        Remove a new component type and a strategy.
        Specified by:
        removeComponentType in interface IComponentRegistryService
        Parameters:
        componentmodel - The component model.
      • cleanupComponent

        protected IFuture<java.lang.Void> cleanupComponent​(IExternalAccess comp)
        Remove service proxies from the registry component. Possibly kill the created delegation component.