Added javadoc. Added missing method "isAutoConfig()".

git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@936781 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/dependencymanager/compat/src/main/java/org/apache/felix/dependencymanager/ServiceDependency.java b/dependencymanager/compat/src/main/java/org/apache/felix/dependencymanager/ServiceDependency.java
index a3837b9..aebf1bc 100644
--- a/dependencymanager/compat/src/main/java/org/apache/felix/dependencymanager/ServiceDependency.java
+++ b/dependencymanager/compat/src/main/java/org/apache/felix/dependencymanager/ServiceDependency.java
@@ -167,7 +167,28 @@
     public abstract ServiceDependency setCallbacks(Object instance, String added, String changed,
         String removed);
 
+    /**
+     * Returns <code>true>code> if auto configuration is enabled for this dependency.
+     * Auto configuration means that a dependency is injected in the service instance
+     * when it's available, and if it's unavailable, a "null object" will be inserted
+     * instead.
+     * 
+     * @return <code>true>code> if auto configuration is enabled for this dependency
+     */
+    public abstract boolean isAutoConfig();
+
+    /**
+     * Returns <code>true</code> if the dependency is available.
+     * 
+     * @return <code>true</code> if the dependency is available
+     */
     public abstract boolean isAvailable();
 
+    /**
+     * Returns <code>true</code> if this a required dependency. Required dependencies
+     * are dependencies that must be available before the service can be activated.
+     * 
+     * @return <code>true</code> if the dependency is required
+     */
     public abstract boolean isRequired();
 }
diff --git a/dependencymanager/compat/src/main/java/org/apache/felix/dependencymanager/impl/ServiceDependencyImpl.java b/dependencymanager/compat/src/main/java/org/apache/felix/dependencymanager/impl/ServiceDependencyImpl.java
index c5f0de3..351159a 100644
--- a/dependencymanager/compat/src/main/java/org/apache/felix/dependencymanager/impl/ServiceDependencyImpl.java
+++ b/dependencymanager/compat/src/main/java/org/apache/felix/dependencymanager/impl/ServiceDependencyImpl.java
@@ -86,6 +86,11 @@
         return this;
     }
 
+    public boolean isAutoConfig()
+    {
+        return m_delegate.isAutoConfig();
+    }
+    
     public boolean isAvailable()
     {
         return m_delegate.isAvailable();