Class WrapperServiceManager

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean hasService​(java.lang.String key)
      Return true if the component is available in ServiceManager.
      java.lang.Object lookup​(java.lang.String key)
      Retrieve a service using specified key.
      void release​(java.lang.Object service)
      Release the service back to the ServiceManager.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • WrapperServiceManager

        public WrapperServiceManager​(ComponentManager componentManager)
        This constructor is a constructor for a WrapperServiceManager.
        Parameters:
        componentManager - the ComponentManager instance that is being wrapped
    • Method Detail

      • hasService

        public boolean hasService​(java.lang.String key)
        Return true if the component is available in ServiceManager.
        Specified by:
        hasService in interface ServiceManager
        Parameters:
        key - the lookup
        Returns:
        true if the component is available in ServiceManager
      • release

        public void release​(java.lang.Object service)
        Release the service back to the ServiceManager.
        Specified by:
        release in interface ServiceManager
        Parameters:
        service - the service