Interface ContainerCapabilityFactory

  • All Known Implementing Classes:
    DefaultContainerCapabilityFactory

    public interface ContainerCapabilityFactory
    Allow finding a Container's capability by container id.
    • Method Detail

      • registerContainerCapability

        void registerContainerCapability​(String containerId,
                                         Class<? extends ContainerCapability> containerCapabilityClass)
        Parameters:
        containerId - the id of the container to register
        containerCapabilityClass - the container capability implementation class to register
      • createContainerCapability

        ContainerCapability createContainerCapability​(String containerId)
        Create a ContainerCapability instance.
        Parameters:
        containerId - the id under which the container will be looked up
        Returns:
        the container capability instance matching the parameter passed