Class ComponentDependencyBase

    • Constructor Detail

      • ComponentDependencyBase

        public ComponentDependencyBase()
    • Method Detail

      • getAddedCallback

        public String getAddedCallback()
        Description copied from interface: ComponentDependency
        Returns the name of a method that should be invoke when an instance of this dependency comes available. The component should implement a method with the following signature: public void (ServiceReference ref, Object inst)
        Specified by:
        getAddedCallback in interface ComponentDependency
        Returns:
        the methodName
      • setAddedCallback

        public void setAddedCallback​(String addedCallback)
      • setServiceName

        public void setServiceName​(String serviceName)
      • getRemovedCallback

        public String getRemovedCallback()
        Description copied from interface: ComponentDependency
        Returns the name of a method that should be invoke when an instance of this dependency comes unavailable. The component should implement a method with the following signature: public void (ServiceReference ref, Object inst)
        Specified by:
        getRemovedCallback in interface ComponentDependency
        Returns:
        the methodName
      • setRemovedCallback

        public void setRemovedCallback​(String removedCallback)
      • setRequired

        public void setRequired​(boolean required)
      • getFilter

        public String getFilter()
        Description copied from interface: ComponentDependency
        TODO re-factor to a dictionary or add getFileterProperties? Returns the LDAP filter of the dependency
        Specified by:
        getFilter in interface ComponentDependency
        Returns:
        the filter
      • setFilter

        public void setFilter​(String filter)