Added an @author tag to all class comments.
Fixed a couple of missing license headers.
Implemented InvocationUtil to use a LRU method cache.
Reformatted and removed some dead code.


git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1096719 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/dependencymanager/core/src/main/java/org/apache/felix/dm/ComponentDeclaration.java b/dependencymanager/core/src/main/java/org/apache/felix/dm/ComponentDeclaration.java
index 1a180f2..8795160 100644
--- a/dependencymanager/core/src/main/java/org/apache/felix/dm/ComponentDeclaration.java
+++ b/dependencymanager/core/src/main/java/org/apache/felix/dm/ComponentDeclaration.java
@@ -18,6 +18,8 @@
  */
 package org.apache.felix.dm;
 
+import org.osgi.framework.BundleContext;
+
 /**
  * Describes a component. Component declarations form descriptions of components
  * that are managed by the dependency manager. They can be used to query their state
@@ -39,4 +41,6 @@
     public String getName();
     /** Returns the state of this component. */
     public int getState();
+    /** Returns the bundle context associated with this component. */
+    public BundleContext getBundleContext();
 }