felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pde...@apache.org
Subject svn commit: r957371 - /felix/trunk/dependencymanager/annotation/src/main/java/org/apache/felix/dm/annotation/api/AspectService.java
Date Wed, 23 Jun 2010 22:10:28 GMT
Author: pderop
Date: Wed Jun 23 22:10:28 2010
New Revision: 957371

URL: http://svn.apache.org/viewvc?rev=957371&view=rev
Log:
added a factoryMethod attribute in order to allow the creation of the service implementation
from a static method

Modified:
    felix/trunk/dependencymanager/annotation/src/main/java/org/apache/felix/dm/annotation/api/AspectService.java

Modified: felix/trunk/dependencymanager/annotation/src/main/java/org/apache/felix/dm/annotation/api/AspectService.java
URL: http://svn.apache.org/viewvc/felix/trunk/dependencymanager/annotation/src/main/java/org/apache/felix/dm/annotation/api/AspectService.java?rev=957371&r1=957370&r2=957371&view=diff
==============================================================================
--- felix/trunk/dependencymanager/annotation/src/main/java/org/apache/felix/dm/annotation/api/AspectService.java
(original)
+++ felix/trunk/dependencymanager/annotation/src/main/java/org/apache/felix/dm/annotation/api/AspectService.java
Wed Jun 23 22:10:28 2010
@@ -68,4 +68,9 @@ public @interface AspectService
      * in any attributes in the aspect implementation that are of the same type as the aspect
interface.
      */
     String field() default "";
+    
+    /**
+     * Sets the static method used to create the AspectService implementation instance.
+     */
+    String factoryMethod() default "";
 }



Mime
View raw message