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 7B51F1748B for ; Tue, 9 Jun 2015 21:33:39 +0000 (UTC) Received: (qmail 4601 invoked by uid 500); 9 Jun 2015 21:33:39 -0000 Delivered-To: apmail-felix-commits-archive@felix.apache.org Received: (qmail 4467 invoked by uid 500); 9 Jun 2015 21:33:39 -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 3803 invoked by uid 99); 9 Jun 2015 21:33:39 -0000 Received: from eris.apache.org (HELO hades.apache.org) (140.211.11.105) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Jun 2015 21:33:39 +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 D3A70AC0140 for ; Tue, 9 Jun 2015 21:33:38 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r954319 [11/14] - in /websites/staging/felix/trunk/content: ./ apidocs/dependencymanager/r5/ apidocs/dependencymanager/r5/org/ apidocs/dependencymanager/r5/org/apache/ apidocs/dependencymanager/r5/org/apache/felix/ apidocs/dependencymanager... Date: Tue, 09 Jun 2015 21:33:38 -0000 To: commits@felix.apache.org From: buildbot@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20150609213338.D3A70AC0140@hades.apache.org> Added: websites/staging/felix/trunk/content/apidocs/dependencymanager/r5/org/apache/felix/dm/context/package-tree.html ============================================================================== --- websites/staging/felix/trunk/content/apidocs/dependencymanager/r5/org/apache/felix/dm/context/package-tree.html (added) +++ websites/staging/felix/trunk/content/apidocs/dependencymanager/r5/org/apache/felix/dm/context/package-tree.html Tue Jun 9 21:33:36 2015 @@ -0,0 +1,152 @@ + + + + + +org.apache.felix.dm.context Class Hierarchy + + + + + + + +
+ + + + + +
+ + +
+

Hierarchy For Package org.apache.felix.dm.context

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +

Interface Hierarchy

+ +

Enum Hierarchy

+
    +
  • java.lang.Object +
      +
    • java.lang.Enum<E> (implements java.lang.Comparable<T>, java.io.Serializable) + +
    • +
    +
  • +
+
+ +
+ + + + + +
+ + + + Added: websites/staging/felix/trunk/content/apidocs/dependencymanager/r5/org/apache/felix/dm/diagnostics/CircularDependency.html ============================================================================== --- websites/staging/felix/trunk/content/apidocs/dependencymanager/r5/org/apache/felix/dm/diagnostics/CircularDependency.html (added) +++ websites/staging/felix/trunk/content/apidocs/dependencymanager/r5/org/apache/felix/dm/diagnostics/CircularDependency.html Tue Jun 9 21:33:36 2015 @@ -0,0 +1,271 @@ + + + + + +CircularDependency + + + + + + + + + + + +
+
org.apache.felix.dm.diagnostics
+

Class CircularDependency

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.apache.felix.dm.diagnostics.CircularDependency
    • +
    +
  • +
+
+
    +
  • +
    +
    +
    public class CircularDependency
    +extends java.lang.Object
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      CircularDependency() 
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + +
      Methods 
      Modifier and TypeMethod and Description
      java.util.List<ComponentDeclaration>getComponents() 
      java.lang.StringtoString() 
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

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

      Constructor Detail

      + + + +
        +
      • +

        CircularDependency

        +
        public CircularDependency()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + + + + + +
        +
      • +

        toString

        +
        public java.lang.String toString()
        +
        +
        Overrides:
        +
        toString in class java.lang.Object
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + + + Added: websites/staging/felix/trunk/content/apidocs/dependencymanager/r5/org/apache/felix/dm/diagnostics/DependencyGraph.ComponentState.html ============================================================================== --- websites/staging/felix/trunk/content/apidocs/dependencymanager/r5/org/apache/felix/dm/diagnostics/DependencyGraph.ComponentState.html (added) +++ websites/staging/felix/trunk/content/apidocs/dependencymanager/r5/org/apache/felix/dm/diagnostics/DependencyGraph.ComponentState.html Tue Jun 9 21:33:36 2015 @@ -0,0 +1,322 @@ + + + + + +DependencyGraph.ComponentState + + + + + + + + + + + +
+
org.apache.felix.dm.diagnostics
+

Enum DependencyGraph.ComponentState

+
+
+ +
+ +
+
+
    +
  • + +
      +
    • + + +

      Enum Constant Summary

      + + + + + + + + + + + +
      Enum Constants 
      Enum Constant and Description
      ALL 
      UNREGISTERED 
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + +
      Methods 
      Modifier and TypeMethod and Description
      static DependencyGraph.ComponentStatevalueOf(java.lang.String name) +
      Returns the enum constant of this type with the specified name.
      +
      static DependencyGraph.ComponentState[]values() +
      Returns an array containing the constants of this enum type, in +the order they are declared.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Enum

        +clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +getClass, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + + + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        values

        +
        public static DependencyGraph.ComponentState[] values()
        +
        Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
        +for (DependencyGraph.ComponentState c : DependencyGraph.ComponentState.values())
        +    System.out.println(c);
        +
        +
        Returns:
        an array containing the constants of this enum type, in the order they are declared
        +
      • +
      + + + +
        +
      • +

        valueOf

        +
        public static DependencyGraph.ComponentState valueOf(java.lang.String name)
        +
        Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.)
        +
        Parameters:
        name - the name of the enum constant to be returned.
        +
        Returns:
        the enum constant with the specified name
        +
        Throws:
        +
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        +
        java.lang.NullPointerException - if the argument is null
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + + + Added: websites/staging/felix/trunk/content/apidocs/dependencymanager/r5/org/apache/felix/dm/diagnostics/DependencyGraph.DependencyState.html ============================================================================== --- websites/staging/felix/trunk/content/apidocs/dependencymanager/r5/org/apache/felix/dm/diagnostics/DependencyGraph.DependencyState.html (added) +++ websites/staging/felix/trunk/content/apidocs/dependencymanager/r5/org/apache/felix/dm/diagnostics/DependencyGraph.DependencyState.html Tue Jun 9 21:33:36 2015 @@ -0,0 +1,334 @@ + + + + + +DependencyGraph.DependencyState + + + + + + + + + + + +
+
org.apache.felix.dm.diagnostics
+

Enum DependencyGraph.DependencyState

+
+
+ +
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + +
      Methods 
      Modifier and TypeMethod and Description
      static DependencyGraph.DependencyStatevalueOf(java.lang.String name) +
      Returns the enum constant of this type with the specified name.
      +
      static DependencyGraph.DependencyState[]values() +
      Returns an array containing the constants of this enum type, in +the order they are declared.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Enum

        +clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +getClass, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + + + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        values

        +
        public static DependencyGraph.DependencyState[] values()
        +
        Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
        +for (DependencyGraph.DependencyState c : DependencyGraph.DependencyState.values())
        +    System.out.println(c);
        +
        +
        Returns:
        an array containing the constants of this enum type, in the order they are declared
        +
      • +
      + + + +
        +
      • +

        valueOf

        +
        public static DependencyGraph.DependencyState valueOf(java.lang.String name)
        +
        Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.)
        +
        Parameters:
        name - the name of the enum constant to be returned.
        +
        Returns:
        the enum constant with the specified name
        +
        Throws:
        +
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        +
        java.lang.NullPointerException - if the argument is null
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + + + Added: websites/staging/felix/trunk/content/apidocs/dependencymanager/r5/org/apache/felix/dm/diagnostics/DependencyGraph.html ============================================================================== --- websites/staging/felix/trunk/content/apidocs/dependencymanager/r5/org/apache/felix/dm/diagnostics/DependencyGraph.html (added) +++ websites/staging/felix/trunk/content/apidocs/dependencymanager/r5/org/apache/felix/dm/diagnostics/DependencyGraph.html Tue Jun 9 21:33:36 2015 @@ -0,0 +1,374 @@ + + + + + +DependencyGraph + + + + + + + + + + + +
+
org.apache.felix.dm.diagnostics
+

Class DependencyGraph

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.apache.felix.dm.diagnostics.DependencyGraph
    • +
    +
  • +
+
+
    +
  • +
    +
    +
    public class DependencyGraph
    +extends java.lang.Object
    +
    The dependency graph is a view of all components managed by the dependency manager + and of their dependencies. Using this API you can get the dependencies of a given component, + the components providing a given service, the circular dependencies that might exist.
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getGraph

        +
        public static DependencyGraph getGraph(DependencyGraph.ComponentState componentState,
        +                       DependencyGraph.DependencyState dependencyState)
        +
        Build the dependency graph. It will contain all the components managed by the dependency manager, provided + that those components are in the given state, and all dependencies of their dependencies, provided that the + dependencies are in the given state. + +

        This implementation currently only builds a graph of unregistered components and + required unavailable dependencies.

        +
        Parameters:
        componentState - Include only the components in this state
        dependencyState - Include only the dependencies in this state
        +
        Returns:
        +
      • +
      + + + +
        +
      • +

        getAllComponents

        +
        public java.util.List<ComponentDeclaration> getAllComponents()
        +
        Returns the list of components in the graph
        +
        Returns:
        the list of components in the graph
        +
      • +
      + + + +
        +
      • +

        getAllDependencies

        +
        public java.util.List<ComponentDependencyDeclaration> getAllDependencies()
        +
        Returns a list all dependencies in the graph
        +
        Returns:
        the list of all dependencies in the graph
        +
      • +
      + + + +
        +
      • +

        getDependecies

        +
        public java.util.List<ComponentDependencyDeclaration> getDependecies(ComponentDeclaration componentDeclaration)
        +
        For a given component declaration, it returns a list of its dependencies in the state + specified when the graph was built.
        +
        Parameters:
        componentDeclaration -
        +
        Returns:
        the list of dependencies or null if the component declaration is not in the graph
        +
      • +
      + + + +
        +
      • +

        getProviders

        +
        public java.util.List<ComponentDeclaration> getProviders(ComponentDependencyDeclaration dependency)
        +
        Returns the list of components that provide the given dependency. This only returns the components + managed by the dependency manager that are in the state specified when the graph was built. The + dependency can only be a service dependency.
        +
        Parameters:
        dependency -
        +
        Returns:
        the list of components providing this dependency or null if the dependency declaration is + not in the graph
        +
      • +
      + + + +
        +
      • +

        getCircularDependencies

        +
        public java.util.List<CircularDependency> getCircularDependencies()
        +
        Returns the list of circular dependencies in the graph
        +
        Returns:
        the list of circular dependencies
        +
      • +
      + + + +
        +
      • +

        getMissingDependencies

        +
        public java.util.List<MissingDependency> getMissingDependencies(java.lang.String type)
        +
        Returns all the missing dependencies of a given type.
        +
        Parameters:
        type - The type of the dependencies to be returned. This can be either one of the types + known by the DependencyManager (service, bundle, configuration, resource), + a user defined type or null, in which case all missing dependencies must be returned.
        +
        Returns:
        The missing dependencies of the given type or all the missing dependencies.
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + + + Added: websites/staging/felix/trunk/content/apidocs/dependencymanager/r5/org/apache/felix/dm/diagnostics/MissingDependency.html ============================================================================== --- websites/staging/felix/trunk/content/apidocs/dependencymanager/r5/org/apache/felix/dm/diagnostics/MissingDependency.html (added) +++ websites/staging/felix/trunk/content/apidocs/dependencymanager/r5/org/apache/felix/dm/diagnostics/MissingDependency.html Tue Jun 9 21:33:36 2015 @@ -0,0 +1,305 @@ + + + + + +MissingDependency + + + + + + + + + + + +
+
org.apache.felix.dm.diagnostics
+

Class MissingDependency

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.apache.felix.dm.diagnostics.MissingDependency
    • +
    +
  • +
+
+
    +
  • +
    +
    +
    public class MissingDependency
    +extends java.lang.Object
    +
    This represents a missing dependency. It can have any of the four types known to the Dependency Manager (service, + configuration, bundle and resource) or it can be a type defined by the programmer. + A missing dependency is defined by its name, its type and the bundle name of the bundle for which + this dependency is unavailable.
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      MissingDependency(java.lang.String name, + java.lang.String type, + java.lang.String bundleName) 
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + +
      Methods 
      Modifier and TypeMethod and Description
      java.lang.StringgetBundleName() 
      java.lang.StringgetName() 
      java.lang.StringgetType() 
      java.lang.StringtoString() 
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

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

      Constructor Detail

      + + + +
        +
      • +

        MissingDependency

        +
        public MissingDependency(java.lang.String name,
        +                 java.lang.String type,
        +                 java.lang.String bundleName)
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getName

        +
        public java.lang.String getName()
        +
      • +
      + + + +
        +
      • +

        getType

        +
        public java.lang.String getType()
        +
      • +
      + + + +
        +
      • +

        getBundleName

        +
        public java.lang.String getBundleName()
        +
      • +
      + + + +
        +
      • +

        toString

        +
        public java.lang.String toString()
        +
        +
        Overrides:
        +
        toString in class java.lang.Object
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + + + Added: websites/staging/felix/trunk/content/apidocs/dependencymanager/r5/org/apache/felix/dm/diagnostics/package-frame.html ============================================================================== --- websites/staging/felix/trunk/content/apidocs/dependencymanager/r5/org/apache/felix/dm/diagnostics/package-frame.html (added) +++ websites/staging/felix/trunk/content/apidocs/dependencymanager/r5/org/apache/felix/dm/diagnostics/package-frame.html Tue Jun 9 21:33:36 2015 @@ -0,0 +1,26 @@ + + + + + +org.apache.felix.dm.diagnostics + + + + +

org.apache.felix.dm.diagnostics

+ + + Added: websites/staging/felix/trunk/content/apidocs/dependencymanager/r5/org/apache/felix/dm/diagnostics/package-summary.html ============================================================================== --- websites/staging/felix/trunk/content/apidocs/dependencymanager/r5/org/apache/felix/dm/diagnostics/package-summary.html (added) +++ websites/staging/felix/trunk/content/apidocs/dependencymanager/r5/org/apache/felix/dm/diagnostics/package-summary.html Tue Jun 9 21:33:36 2015 @@ -0,0 +1,167 @@ + + + + + +org.apache.felix.dm.diagnostics + + + + + + + +
+ + + + + +
+ + +
+

Package org.apache.felix.dm.diagnostics

+
+
+
    +
  • + + + + + + + + + + + + + + + + + + + + +
    Class Summary 
    ClassDescription
    CircularDependency 
    DependencyGraph +
    The dependency graph is a view of all components managed by the dependency manager + and of their dependencies.
    +
    MissingDependency +
    This represents a missing dependency.
    +
    +
  • +
  • + + + + + + + + + + + + + + + + +
    Enum Summary 
    EnumDescription
    DependencyGraph.ComponentState +
    Use this to specify which components the dependency graph should contain
    +
    DependencyGraph.DependencyState +
    Use this to specify which dependencies the graph should contain
    +
    +
  • +
+
+ +
+ + + + + +
+ + + +