Return-Path: X-Original-To: apmail-felix-commits-archive@www.apache.org Delivered-To: apmail-felix-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5013310677 for ; Tue, 26 May 2015 22:07:26 +0000 (UTC) Received: (qmail 69564 invoked by uid 500); 26 May 2015 22:07:10 -0000 Delivered-To: apmail-felix-commits-archive@felix.apache.org Received: (qmail 69433 invoked by uid 500); 26 May 2015 22:07:10 -0000 Mailing-List: contact commits-help@felix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@felix.apache.org Delivered-To: mailing list commits@felix.apache.org Received: (qmail 69220 invoked by uid 99); 26 May 2015 22:07:10 -0000 Received: from eris.apache.org (HELO hades.apache.org) (140.211.11.105) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 May 2015 22:07:10 +0000 Received: from hades.apache.org (localhost [127.0.0.1]) by hades.apache.org (ASF Mail Server at hades.apache.org) with ESMTP id 2AC80AC0C43 for ; Tue, 26 May 2015 22:07:10 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r952780 [9/13] - in /websites/staging/felix/trunk/content: ./ apidocs/dependencymanager/r2/ apidocs/dependencymanager/r2/org/ apidocs/dependencymanager/r2/org/apache/ apidocs/dependencymanager/r2/org/apache/felix/ apidocs/dependencymanager/... Date: Tue, 26 May 2015 22:07:08 -0000 To: commits@felix.apache.org From: buildbot@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20150526220710.2AC80AC0C43@hades.apache.org> Added: websites/staging/felix/trunk/content/apidocs/dependencymanager/r2/org/apache/felix/dm/context/AbstractDependency.html ============================================================================== --- websites/staging/felix/trunk/content/apidocs/dependencymanager/r2/org/apache/felix/dm/context/AbstractDependency.html (added) +++ websites/staging/felix/trunk/content/apidocs/dependencymanager/r2/org/apache/felix/dm/context/AbstractDependency.html Tue May 26 22:07:07 2015 @@ -0,0 +1,1342 @@ + + + + + +AbstractDependency + + + + + + + + + + + +
+
org.apache.felix.dm.context
+

Class AbstractDependency<T extends Dependency>

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.apache.felix.dm.context.AbstractDependency<T>
    • +
    +
  • +
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Field Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      Fields 
      Modifier and TypeField and Description
      protected static java.util.Dictionary<java.lang.Object,java.lang.Object>EMPTY_PROPERTIES +
      Default empty dependency properties.
      +
      protected java.lang.Stringm_add +
      Component callback used to inject an added dependency.
      +
      protected booleanm_autoConfig +
      Can this Dependency be auto configured in the component instance fields ?
      +
      protected java.lang.Stringm_autoConfigInstance +
      The Component field name where the Dependency can be injected (null means any field with a compatible type + will be injected).
      +
      protected booleanm_autoConfigInvoked +
      Indicates if the setAutoConfig method has been invoked.
      +
      protected booleanm_available +
      Is this Dependency available ? Volatile because the getState method (part of the + ComponentDependencyDeclaration interface) may be called by any thread, at any time.
      +
      protected java.lang.Objectm_callbackInstance +
      The object instance on which the dependency callbacks are invoked on.
      +
      protected java.lang.Stringm_change +
      Component callback invoked when the dependency has changed.
      +
      protected ComponentContextm_component +
      The Component implementation is exposed to Dependencies through this interface.
      +
      protected booleanm_instanceBound +
      Is this Dependency "instance bound" ? A dependency is "instance bound" if it is defined within the component's + init method, meaning that it won't deactivate the component if it is not currently available when being added + from the component's init method.
      +
      protected booleanm_isStarted +
      Has this Dependency been started by the Component implementation ? Volatile because the getState method + (part of the ComponentDependencyDeclaration interface) may be called by any thread, at any time.
      +
      protected booleanm_propagate +
      Tells if the dependency service properties have to be propagated to the Component service properties.
      +
      protected java.lang.Objectm_propagateCallbackInstance +
      The propagate callback instance that is invoked in order to supply dynamically some dependency service properties.
      +
      protected java.lang.Stringm_propagateCallbackMethod +
      The propagate callback method that is invoked in order to supply dynamically some dependency service properties.
      +
      protected java.lang.Stringm_remove +
      Component callback invoked when the dependency becomes unavailable.
      +
      protected booleanm_required +
      Is this dependency required (false by default) ?
      +
      + +
    • +
    + + + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      Methods 
      Modifier and TypeMethod and Description
      voidcopyToCollection(java.util.Collection<java.lang.Object> services) +
      Copy all dependency service instances to the given collection.
      +
      voidcopyToMap(java.util.Map<java.lang.Object,java.util.Dictionary<?,?>> map) +
      Copy all dependency service instances to the given map (key = dependency service, value = dependency service properties.
      +
      abstract DependencyContextcreateCopy() +
      Creates a copy of this Dependency.
      +
      protected voidensureNotActive() +
      Checks if the component dependency is not started.
      +
      java.lang.StringgetAutoConfigName() +
      Returns the field name when the dependency can be injected to.
      +
      abstract java.lang.Class<?>getAutoConfigType() +
      Returns the type of the field where this dependency can be injected (auto config), or return null + if autoconfig is not supported.
      +
      ComponentContextgetComponentContext() +
      Returns the component implementation context
      +
      protected java.lang.ObjectgetDefaultService(boolean nullObject) +
      Returns the default service, or null.
      +
      java.lang.StringgetFilter() +
      Returns the dependency filter, if any.
      +
      java.lang.Object[]getInstances() +
      Returns the dependency callback instances
      +
      java.lang.StringgetName() +
      Returns a description of this dependency (like the dependency service class name with associated filters)
      +
      <K,V> java.util.Dictionary<K,V>getProperties() +
      Returns the dependency service properties (empty by default).
      +
      EventgetService() +
      Get the highest ranked available dependency service, or null.
      +
      abstract java.lang.StringgetSimpleName() +
      Returns a simple name for this dependency (like the dependency service class name).
      +
      intgetState() +
      Returns this dependency state.
      +
      abstract java.lang.StringgetType() +
      Returns the dependency symbolic type.
      +
      voidinvokeCallback(EventType type, + Event... events) +
      A Component callback must be invoked with dependency event(s).
      +
      booleanisAutoConfig() +
      Can this dependency be injected in a component class field (by reflexion, true by default) ?
      +
      booleanisAvailable() +
      Is this Dependency satisfied and available ?
      +
      booleanisInstanceBound() +
      Is this Dependency "instance bound" (has been defined within the component's init method) ?
      +
      booleanisPropagated() +
      Returns the propagate callback method that is invoked in order to supply dynamically some dependency service properties.
      +
      booleanisRequired() +
      Is this Dependency required (false by default) ?
      +
      booleanisStarted() +
      Indicates if this dependency has been started by the Component implementation.
      +
      booleanneedsInstance() +
      Tells if the Component must be first instantiated before starting this dependency (false by default).
      +
      TsetAutoConfig(boolean autoConfig) 
      TsetAutoConfig(java.lang.String instanceName) 
      voidsetAvailable(boolean available) +
      Called by the Component implementation when the dependency is considered to be available.
      +
      TsetCallbacks(java.lang.Object instance, + java.lang.String add, + java.lang.String remove) +
      Sets the callbacks for this service.
      +
      TsetCallbacks(java.lang.Object instance, + java.lang.String add, + java.lang.String change, + java.lang.String remove) +
      Sets the callbacks for this service.
      +
      TsetCallbacks(java.lang.String add, + java.lang.String remove) +
      Sets the add/remove callbacks.
      +
      TsetCallbacks(java.lang.String add, + java.lang.String change, + java.lang.String remove) +
      Sets the add/change/remove callbacks.
      +
      voidsetComponentContext(ComponentContext component) +
      Called by the Component implementation before the Dependency can be started.
      +
      voidsetInstanceBound(boolean instanceBound) +
      Called by the Component implementation when the dependency is declared within the Component's init method.
      +
      TsetPropagate(boolean propagate) +
      Activates Dependency service properties propagation (to the service properties of the component to which this + dependency is added).
      +
      TsetPropagate(java.lang.Object instance, + java.lang.String method) +
      Sets a callback instance which can ba invoked with the given method in order to dynamically retrieve the + dependency service properties.
      +
      TsetRequired(boolean required) 
      voidstart() +
      Starts this dependency.
      +
      voidstop() +
      Starts this dependency.
      +
      java.lang.StringtoString() 
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        m_component

        +
        protected ComponentContext m_component
        +
        The Component implementation is exposed to Dependencies through this interface.
        +
      • +
      + + + +
        +
      • +

        m_available

        +
        protected volatile boolean m_available
        +
        Is this Dependency available ? Volatile because the getState method (part of the + ComponentDependencyDeclaration interface) may be called by any thread, at any time.
        +
      • +
      + + + +
        +
      • +

        m_instanceBound

        +
        protected boolean m_instanceBound
        +
        Is this Dependency "instance bound" ? A dependency is "instance bound" if it is defined within the component's + init method, meaning that it won't deactivate the component if it is not currently available when being added + from the component's init method.
        +
      • +
      + + + +
        +
      • +

        m_required

        +
        protected volatile boolean m_required
        +
        Is this dependency required (false by default) ?
        +
      • +
      + + + +
        +
      • +

        m_add

        +
        protected java.lang.String m_add
        +
        Component callback used to inject an added dependency.
        +
      • +
      + + + +
        +
      • +

        m_change

        +
        protected java.lang.String m_change
        +
        Component callback invoked when the dependency has changed.
        +
      • +
      + + + +
        +
      • +

        m_remove

        +
        protected java.lang.String m_remove
        +
        Component callback invoked when the dependency becomes unavailable.
        +
      • +
      + + + +
        +
      • +

        m_autoConfig

        +
        protected boolean m_autoConfig
        +
        Can this Dependency be auto configured in the component instance fields ?
        +
      • +
      + + + +
        +
      • +

        m_autoConfigInstance

        +
        protected java.lang.String m_autoConfigInstance
        +
        The Component field name where the Dependency can be injected (null means any field with a compatible type + will be injected).
        +
      • +
      + + + +
        +
      • +

        m_autoConfigInvoked

        +
        protected boolean m_autoConfigInvoked
        +
        Indicates if the setAutoConfig method has been invoked. This flag is used to force autoconfig to "false" + when the setCallbacks method is invoked, unless the setAutoConfig method has been called.
        +
      • +
      + + + +
        +
      • +

        m_isStarted

        +
        protected volatile boolean m_isStarted
        +
        Has this Dependency been started by the Component implementation ? Volatile because the getState method + (part of the ComponentDependencyDeclaration interface) may be called by any thread, at any time.
        +
      • +
      + + + +
        +
      • +

        m_callbackInstance

        +
        protected java.lang.Object m_callbackInstance
        +
        The object instance on which the dependency callbacks are invoked on. Null means the dependency will be + injected to the Component implementation instance(s).
        +
      • +
      + + + +
        +
      • +

        m_propagate

        +
        protected boolean m_propagate
        +
        Tells if the dependency service properties have to be propagated to the Component service properties.
        +
      • +
      + + + +
        +
      • +

        m_propagateCallbackInstance

        +
        protected java.lang.Object m_propagateCallbackInstance
        +
        The propagate callback instance that is invoked in order to supply dynamically some dependency service properties.
        +
      • +
      + + + +
        +
      • +

        m_propagateCallbackMethod

        +
        protected volatile java.lang.String m_propagateCallbackMethod
        +
        The propagate callback method that is invoked in order to supply dynamically some dependency service properties.
        +
        See Also:
        #m_propagateCallbackInstance}
        +
      • +
      + + + +
        +
      • +

        EMPTY_PROPERTIES

        +
        protected static final java.util.Dictionary<java.lang.Object,java.lang.Object> EMPTY_PROPERTIES
        +
        Default empty dependency properties.
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        AbstractDependency

        +
        public AbstractDependency()
        +
        Creates a new Dependency. By default, the dependency is optional and autoconfig.
        +
      • +
      + + + +
        +
      • +

        AbstractDependency

        +
        public AbstractDependency(AbstractDependency<T> prototype)
        +
        Create a clone of a given Dependency.
        +
        Parameters:
        prototype - all the fields of the prototype will be copied to this dependency.
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        toString

        +
        public java.lang.String toString()
        +
        +
        Overrides:
        +
        toString in class java.lang.Object
        +
        +
      • +
      + + + +
        +
      • +

        isRequired

        +
        public boolean isRequired()
        +
        Is this Dependency required (false by default) ?
        +
        +
        Specified by:
        +
        isRequired in interface Dependency
        +
        Returns:
        true if the dependency is required
        +
      • +
      + + + +
        +
      • +

        isAvailable

        +
        public boolean isAvailable()
        +
        Is this Dependency satisfied and available ?
        +
        +
        Specified by:
        +
        isAvailable in interface Dependency
        +
        Returns:
        true if the dependency is available
        +
      • +
      + + + +
        +
      • +

        isAutoConfig

        +
        public boolean isAutoConfig()
        +
        Can this dependency be injected in a component class field (by reflexion, true by default) ?
        +
        +
        Specified by:
        +
        isAutoConfig in interface Dependency
        +
        Returns:
        true if auto configuration is enabled for this dependency
        +
      • +
      + + + +
        +
      • +

        getAutoConfigName

        +
        public java.lang.String getAutoConfigName()
        +
        Returns the field name when the dependency can be injected to.
        +
        +
        Specified by:
        +
        getAutoConfigName in interface Dependency
        +
        Returns:
        the name of the member in the class of the component instance to inject into
        +
      • +
      + + + +
        +
      • +

        isPropagated

        +
        public boolean isPropagated()
        +
        Returns the propagate callback method that is invoked in order to supply dynamically some dependency service properties.
        +
        +
        Specified by:
        +
        isPropagated in interface Dependency
        +
        Returns:
        true if the properties should be propagated
        See Also:
        #m_propagateCallbackInstance}
        +
      • +
      + + + +
        +
      • +

        getProperties

        +
        public <K,V> java.util.Dictionary<K,V> getProperties()
        +
        Returns the dependency service properties (empty by default).
        +
        +
        Specified by:
        +
        getProperties in interface Dependency
        +
        Returns:
        the properties
        See Also:
        Dependency.isPropagated()
        +
      • +
      + + + +
        +
      • +

        setComponentContext

        +
        public void setComponentContext(ComponentContext component)
        +
        Called by the Component implementation before the Dependency can be started.
        +
        +
        Specified by:
        +
        setComponentContext in interface DependencyContext
        +
        Parameters:
        component - the Component implementation context
        +
      • +
      + + + +
        +
      • +

        invokeCallback

        +
        public void invokeCallback(EventType type,
        +                  Event... events)
        +
        A Component callback must be invoked with dependency event(s).
        +
        +
        Specified by:
        +
        invokeCallback in interface DependencyContext
        +
        Parameters:
        type - the dependency event type
        events - the dependency service event to inject in the component. + The number of events depends on the dependency event type: ADDED/CHANGED/REMOVED types only has one event parameter, + but the SWAPPED type has two event parameters: the first one is the old event which must be replaced by the second one.
        See Also:
        ComponentContext.handleEvent(DependencyContext, EventType, Event...), +EventType
        +
      • +
      + + + +
        +
      • +

        start

        +
        public void start()
        +
        Starts this dependency. Subclasses can override this method but must then call super.start().
        +
        +
        Specified by:
        +
        start in interface DependencyContext
        +
        +
      • +
      + + + +
        +
      • +

        stop

        +
        public void stop()
        +
        Starts this dependency. Subclasses can override this method but must then call super.stop().
        +
        +
        Specified by:
        +
        stop in interface DependencyContext
        +
        +
      • +
      + + + +
        +
      • +

        isStarted

        +
        public boolean isStarted()
        +
        Indicates if this dependency has been started by the Component implementation.
        +
        +
        Specified by:
        +
        isStarted in interface DependencyContext
        +
        Returns:
        true if the dependency has been started, false if not
        +
      • +
      + + + +
        +
      • +

        setAvailable

        +
        public void setAvailable(boolean available)
        +
        Called by the Component implementation when the dependency is considered to be available.
        +
        +
        Specified by:
        +
        setAvailable in interface DependencyContext
        +
        Parameters:
        available - true to mark this dependency as available, false to mark it as unavailable
        +
      • +
      + + + +
        +
      • +

        isInstanceBound

        +
        public boolean isInstanceBound()
        +
        Is this Dependency "instance bound" (has been defined within the component's init method) ?
        +
        +
        Specified by:
        +
        isInstanceBound in interface DependencyContext
        +
        Returns:
        true if this dependency is instance bound, false if not
        +
      • +
      + + + +
        +
      • +

        setInstanceBound

        +
        public void setInstanceBound(boolean instanceBound)
        +
        Called by the Component implementation when the dependency is declared within the Component's init method.
        +
        +
        Specified by:
        +
        setInstanceBound in interface DependencyContext
        +
        +
      • +
      + + + +
        +
      • +

        needsInstance

        +
        public boolean needsInstance()
        +
        Tells if the Component must be first instantiated before starting this dependency (false by default).
        +
        +
        Specified by:
        +
        needsInstance in interface DependencyContext
        +
        Returns:
        true if the dependency need the component instances before it can be started, false if not.
        +
      • +
      + + + +
        +
      • +

        getAutoConfigType

        +
        public abstract java.lang.Class<?> getAutoConfigType()
        +
        Returns the type of the field where this dependency can be injected (auto config), or return null + if autoconfig is not supported.
        +
        +
        Specified by:
        +
        getAutoConfigType in interface DependencyContext
        +
        Returns:
        the type of the field which can be injected with the dependency service, or null if the dependency does not + support auto config mode.
        +
      • +
      + + + +
        +
      • +

        getService

        +
        public Event getService()
        +
        Get the highest ranked available dependency service, or null.
        +
        +
        Specified by:
        +
        getService in interface DependencyContext
        +
        Returns:
        the highest ranked available dependency service instance, or null
        +
      • +
      + + + +
        +
      • +

        copyToCollection

        +
        public void copyToCollection(java.util.Collection<java.lang.Object> services)
        +
        Copy all dependency service instances to the given collection.
        +
        +
        Specified by:
        +
        copyToCollection in interface DependencyContext
        +
        Parameters:
        services - the collection where the dependency service instances will be copied
        +
      • +
      + + + +
        +
      • +

        copyToMap

        +
        public void copyToMap(java.util.Map<java.lang.Object,java.util.Dictionary<?,?>> map)
        +
        Copy all dependency service instances to the given map (key = dependency service, value = dependency service properties.
        +
        +
        Specified by:
        +
        copyToMap in interface DependencyContext
        +
        Parameters:
        map - the map where the dependency service instances (with the corresponding service properties)
        +
      • +
      + + + + + + + +
        +
      • +

        getName

        +
        public java.lang.String getName()
        +
        Returns a description of this dependency (like the dependency service class name with associated filters)
        +
        +
        Specified by:
        +
        getName in interface ComponentDependencyDeclaration
        +
        +
      • +
      + + + +
        +
      • +

        getSimpleName

        +
        public abstract java.lang.String getSimpleName()
        +
        Returns a simple name for this dependency (like the dependency service class name).
        +
        +
        Specified by:
        +
        getSimpleName in interface ComponentDependencyDeclaration
        +
        +
      • +
      + + + + + + + + + + + + + + + +
        +
      • +

        setPropagate

        +
        public T setPropagate(boolean propagate)
        +
        Activates Dependency service properties propagation (to the service properties of the component to which this + dependency is added).
        +
        Parameters:
        propagate - true if the dependency service properties must be propagated to the service properties of + the component to which this dependency is added.
        +
        Returns:
        this dependency instance
        +
      • +
      + + + +
        +
      • +

        setPropagate

        +
        public T setPropagate(java.lang.Object instance,
        +             java.lang.String method)
        +
        Sets a callback instance which can ba invoked with the given method in order to dynamically retrieve the + dependency service properties.
        +
        Parameters:
        instance - the callback instance
        method - the method to invoke on the callback instance
        +
        Returns:
        this dependency instance
        +
      • +
      + + + +
        +
      • +

        setCallbacks

        +
        public T setCallbacks(java.lang.String add,
        +             java.lang.String remove)
        +
        Sets the add/remove callbacks.
        +
        Parameters:
        add - the callback to invoke when a dependency is added
        remove - the callback to invoke when a dependency is removed
        +
        Returns:
        this dependency instance
        +
      • +
      + + + +
        +
      • +

        setCallbacks

        +
        public T setCallbacks(java.lang.String add,
        +             java.lang.String change,
        +             java.lang.String remove)
        +
        Sets the add/change/remove callbacks.
        +
        Parameters:
        add - the callback to invoke when a dependency is added
        change - the callback to invoke when a dependency has changed
        remove - the callback to invoke when a dependency is removed
        +
        Returns:
        this dependency instance
        +
      • +
      + + + +
        +
      • +

        setCallbacks

        +
        public T setCallbacks(java.lang.Object instance,
        +             java.lang.String add,
        +             java.lang.String remove)
        +
        Sets the callbacks for this service. These callbacks can be used as hooks whenever a + dependency is added or removed. They are called on the instance you provide. When you + specify callbacks, the auto configuration feature is automatically turned off, because + we're assuming you don't need it in this case.
        +
        Parameters:
        instance - the instance to call the callbacks on
        add - the method to call when a service was added
        remove - the method to call when a service was removed
        +
        Returns:
        this service dependency
        +
      • +
      + + + +
        +
      • +

        setCallbacks

        +
        public T setCallbacks(java.lang.Object instance,
        +             java.lang.String add,
        +             java.lang.String change,
        +             java.lang.String remove)
        +
        Sets the callbacks for this service. These callbacks can be used as hooks whenever a + dependency is added, changed or removed. They are called on the instance you provide. When you + specify callbacks, the auto configuration feature is automatically turned off, because + we're assuming you don't need it in this case.
        +
        Parameters:
        instance - the instance to call the callbacks on
        add - the method to call when a service was added
        change - the method to call when a service was changed
        remove - the method to call when a service was removed
        +
        Returns:
        this service dependency
        +
      • +
      + + + +
        +
      • +

        getInstances

        +
        public java.lang.Object[] getInstances()
        +
        Returns the dependency callback instances
        +
        Returns:
        the dependency callback instances
        +
      • +
      + + + +
        +
      • +

        setRequired

        +
        public T setRequired(boolean required)
        +
        See Also:
        ServiceDependency#setRequired(boolean)}
        +
      • +
      + + + +
        +
      • +

        setAutoConfig

        +
        public T setAutoConfig(boolean autoConfig)
        +
        See Also:
        ServiceDependency#setAutoConfig(boolean)}
        +
      • +
      + + + +
        +
      • +

        setAutoConfig

        +
        public T setAutoConfig(java.lang.String instanceName)
        +
        See Also:
        ServiceDependency#setAutoConfig(String instanceName)}
        +
      • +
      + + + + + + + +
        +
      • +

        getDefaultService

        +
        protected java.lang.Object getDefaultService(boolean nullObject)
        +
        Returns the default service, or null.
        +
        Parameters:
        nullObject - if true, a null object may be returned.
        +
        Returns:
        the default service
        +
      • +
      + + + +
        +
      • +

        ensureNotActive

        +
        protected void ensureNotActive()
        +
        Checks if the component dependency is not started.
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + + +