incubator-aries-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lin...@apache.org
Subject svn commit: r939092 [1/5] - in /incubator/aries/sandbox/linsun: ./ blueprint/ blueprint/blueprint-annotation-api/ blueprint/blueprint-annotation-api/src/ blueprint/blueprint-annotation-api/src/main/ blueprint/blueprint-annotation-api/src/main/java/ blu...
Date Wed, 28 Apr 2010 21:11:18 GMT
Author: linsun
Date: Wed Apr 28 21:11:16 2010
New Revision: 939092

URL: http://svn.apache.org/viewvc?rev=939092&view=rev
Log:
some initial blueprint annotation prototype work - still work in progress

Added:
    incubator/aries/sandbox/linsun/
    incubator/aries/sandbox/linsun/blueprint/
    incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-api/
    incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-api/pom.xml   (with props)
    incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-api/src/
    incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-api/src/main/
    incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-api/src/main/java/
    incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-api/src/main/java/org/
    incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-api/src/main/java/org/apache/
    incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-api/src/main/java/org/apache/aries/
    incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-api/src/main/java/org/apache/aries/blueprint/
    incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-api/src/main/java/org/apache/aries/blueprint/annotation/
    incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-api/src/main/java/org/apache/aries/blueprint/annotation/Bean.java   (with props)
    incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-api/src/main/java/org/apache/aries/blueprint/annotation/Blueprint.java   (with props)
    incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-api/src/main/java/org/apache/aries/blueprint/annotation/Destroy.java   (with props)
    incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-api/src/main/java/org/apache/aries/blueprint/annotation/Element.java   (with props)
    incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-api/src/main/java/org/apache/aries/blueprint/annotation/Factory.java   (with props)
    incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-api/src/main/java/org/apache/aries/blueprint/annotation/Init.java   (with props)
    incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-api/src/main/java/org/apache/aries/blueprint/annotation/Inject.java   (with props)
    incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-api/src/main/java/org/apache/aries/blueprint/annotation/List.java   (with props)
    incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-api/src/main/java/org/apache/aries/blueprint/annotation/Register.java   (with props)
    incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-api/src/main/java/org/apache/aries/blueprint/annotation/RegistrationListener.java   (with props)
    incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-api/src/main/java/org/apache/aries/blueprint/annotation/Service.java   (with props)
    incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-api/src/main/java/org/apache/aries/blueprint/annotation/Unregister.java   (with props)
    incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-api/src/main/java/org/apache/aries/blueprint/annotation/service/
    incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-api/src/main/java/org/apache/aries/blueprint/annotation/service/BlueprintAnnotationScanner.java   (with props)
    incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-impl/
    incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-impl/pom.xml   (with props)
    incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-impl/src/
    incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-impl/src/main/
    incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-impl/src/main/java/
    incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-impl/src/main/java/org/
    incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-impl/src/main/java/org/apache/
    incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-impl/src/main/java/org/apache/aries/
    incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-impl/src/main/java/org/apache/aries/blueprint/
    incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-impl/src/main/java/org/apache/aries/blueprint/annotation/
    incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-impl/src/main/java/org/apache/aries/blueprint/annotation/impl/
    incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-impl/src/main/java/org/apache/aries/blueprint/annotation/impl/Activator.java   (with props)
    incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-impl/src/main/java/org/apache/aries/blueprint/annotation/impl/BlueprintAnnotationScannerImpl.java   (with props)
    incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-impl/src/main/java/org/apache/aries/blueprint/jaxb/
    incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-impl/src/main/java/org/apache/aries/blueprint/jaxb/ObjectFactory.java   (with props)
    incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-impl/src/main/java/org/apache/aries/blueprint/jaxb/Targument.java   (with props)
    incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-impl/src/main/java/org/apache/aries/blueprint/jaxb/Tbean.java   (with props)
    incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-impl/src/main/java/org/apache/aries/blueprint/jaxb/Tblueprint.java   (with props)
    incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-impl/src/main/java/org/apache/aries/blueprint/jaxb/Tcollection.java   (with props)
    incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-impl/src/main/java/org/apache/aries/blueprint/jaxb/Tcomponent.java   (with props)
    incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-impl/src/main/java/org/apache/aries/blueprint/jaxb/Tdescription.java   (with props)
    incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-impl/src/main/java/org/apache/aries/blueprint/jaxb/TinlinedBean.java   (with props)
    incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-impl/src/main/java/org/apache/aries/blueprint/jaxb/TinlinedReference.java   (with props)
    incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-impl/src/main/java/org/apache/aries/blueprint/jaxb/TinlinedReferenceList.java   (with props)
    incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-impl/src/main/java/org/apache/aries/blueprint/jaxb/TinlinedService.java   (with props)
    incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-impl/src/main/java/org/apache/aries/blueprint/jaxb/Tinterfaces.java   (with props)
    incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-impl/src/main/java/org/apache/aries/blueprint/jaxb/Tkey.java   (with props)
    incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-impl/src/main/java/org/apache/aries/blueprint/jaxb/Tmap.java   (with props)
    incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-impl/src/main/java/org/apache/aries/blueprint/jaxb/TmapEntry.java   (with props)
    incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-impl/src/main/java/org/apache/aries/blueprint/jaxb/Tnull.java   (with props)
    incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-impl/src/main/java/org/apache/aries/blueprint/jaxb/Tprop.java   (with props)
    incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-impl/src/main/java/org/apache/aries/blueprint/jaxb/Tproperty.java   (with props)
    incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-impl/src/main/java/org/apache/aries/blueprint/jaxb/Tprops.java   (with props)
    incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-impl/src/main/java/org/apache/aries/blueprint/jaxb/Tref.java   (with props)
    incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-impl/src/main/java/org/apache/aries/blueprint/jaxb/Treference.java   (with props)
    incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-impl/src/main/java/org/apache/aries/blueprint/jaxb/TreferenceList.java   (with props)
    incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-impl/src/main/java/org/apache/aries/blueprint/jaxb/TreferenceListener.java   (with props)
    incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-impl/src/main/java/org/apache/aries/blueprint/jaxb/TregistrationListener.java   (with props)
    incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-impl/src/main/java/org/apache/aries/blueprint/jaxb/Tservice.java   (with props)
    incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-impl/src/main/java/org/apache/aries/blueprint/jaxb/TserviceProperties.java   (with props)
    incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-impl/src/main/java/org/apache/aries/blueprint/jaxb/TservicePropertyEntry.java   (with props)
    incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-impl/src/main/java/org/apache/aries/blueprint/jaxb/TserviceReference.java   (with props)
    incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-impl/src/main/java/org/apache/aries/blueprint/jaxb/TtypeConverters.java   (with props)
    incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-impl/src/main/java/org/apache/aries/blueprint/jaxb/TtypedCollection.java   (with props)
    incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-impl/src/main/java/org/apache/aries/blueprint/jaxb/Tvalue.java   (with props)
    incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-impl/src/main/java/org/apache/aries/blueprint/jaxb/package-info.java   (with props)
    incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-itest/
    incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-itest/pom.xml   (with props)
    incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-itest/src/
    incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-itest/src/test/
    incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-itest/src/test/java/
    incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-itest/src/test/java/org/
    incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-itest/src/test/java/org/apache/
    incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-itest/src/test/java/org/apache/aries/
    incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-itest/src/test/java/org/apache/aries/blueprint/
    incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-itest/src/test/java/org/apache/aries/blueprint/itests/
    incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-itest/src/test/java/org/apache/aries/blueprint/itests/AbstractIntegrationTest.java   (with props)
    incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-itest/src/test/java/org/apache/aries/blueprint/itests/BlueprintAnnotationTest.java   (with props)
    incubator/aries/sandbox/linsun/blueprint/blueprint-binding.xjb
    incubator/aries/sandbox/linsun/blueprint/blueprint-sample-annotation/
    incubator/aries/sandbox/linsun/blueprint/blueprint-sample-annotation/pom.xml   (with props)
    incubator/aries/sandbox/linsun/blueprint/blueprint-sample-annotation/src/
    incubator/aries/sandbox/linsun/blueprint/blueprint-sample-annotation/src/main/
    incubator/aries/sandbox/linsun/blueprint/blueprint-sample-annotation/src/main/java/
    incubator/aries/sandbox/linsun/blueprint/blueprint-sample-annotation/src/main/java/org/
    incubator/aries/sandbox/linsun/blueprint/blueprint-sample-annotation/src/main/java/org/apache/
    incubator/aries/sandbox/linsun/blueprint/blueprint-sample-annotation/src/main/java/org/apache/aries/
    incubator/aries/sandbox/linsun/blueprint/blueprint-sample-annotation/src/main/java/org/apache/aries/blueprint/
    incubator/aries/sandbox/linsun/blueprint/blueprint-sample-annotation/src/main/java/org/apache/aries/blueprint/sample/
    incubator/aries/sandbox/linsun/blueprint/blueprint-sample-annotation/src/main/java/org/apache/aries/blueprint/sample/Activator.java   (with props)
    incubator/aries/sandbox/linsun/blueprint/blueprint-sample-annotation/src/main/java/org/apache/aries/blueprint/sample/Bar.java   (with props)
    incubator/aries/sandbox/linsun/blueprint/blueprint-sample-annotation/src/main/java/org/apache/aries/blueprint/sample/BindingListener.java   (with props)
    incubator/aries/sandbox/linsun/blueprint/blueprint-sample-annotation/src/main/java/org/apache/aries/blueprint/sample/CurrencyTypeConverter.java   (with props)
    incubator/aries/sandbox/linsun/blueprint/blueprint-sample-annotation/src/main/java/org/apache/aries/blueprint/sample/DateTypeConverter.java   (with props)
    incubator/aries/sandbox/linsun/blueprint/blueprint-sample-annotation/src/main/java/org/apache/aries/blueprint/sample/Foo.java   (with props)
    incubator/aries/sandbox/linsun/blueprint/blueprint-sample-annotation/src/main/java/org/apache/aries/blueprint/sample/FooRegistrationListener.java   (with props)
    incubator/aries/sandbox/linsun/blueprint/blueprint-sample-annotation/src/main/java/org/apache/aries/blueprint/sample/InterfaceA.java   (with props)

Added: incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-api/pom.xml
URL: http://svn.apache.org/viewvc/incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-api/pom.xml?rev=939092&view=auto
==============================================================================
--- incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-api/pom.xml (added)
+++ incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-api/pom.xml Wed Apr 28 21:11:16 2010
@@ -0,0 +1,50 @@
+<!--
+    Licensed to the Apache Software Foundation (ASF) under one or more
+    contributor license agreements.  See the NOTICE file distributed with
+    this work for additional information regarding copyright ownership.
+    The ASF licenses this file to You under the Apache License, Version 2.0
+    (the "License"); you may not use this file except in compliance with
+    the License.  You may obtain a copy of the License at
+    
+       http://www.apache.org/licenses/LICENSE-2.0
+    
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+-->
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+    <modelVersion>4.0.0</modelVersion>
+    <parent>
+        <groupId>org.apache.aries.blueprint</groupId>
+        <artifactId>blueprint</artifactId>
+        <version>0.2-incubating-SNAPSHOT</version>
+    </parent>
+
+    <artifactId>org.apache.aries.blueprint.annotation.api</artifactId>
+    <packaging>bundle</packaging>
+    <name>Apache Aries Blueprint Annotation API</name>
+    <description>
+        This bundle contains the blueprint annotation api and the corresponding xml schema.
+    </description>
+
+    <properties>
+         <aries.osgi.export>
+             org.apache.aries.blueprint.annotation.*;version="1.0.1"
+         </aries.osgi.export>
+         <aries.osgi.import>
+             !org.apache.aries.blueprint.annotation.*,
+             *
+         </aries.osgi.import>
+     </properties>
+
+     <dependencies>
+        <dependency>
+            <groupId>org.eclipse</groupId>
+            <artifactId>osgi</artifactId>
+            <scope>provided</scope>
+        </dependency>
+    </dependencies>
+    
+</project>

Propchange: incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-api/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-api/pom.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-api/pom.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-api/src/main/java/org/apache/aries/blueprint/annotation/Bean.java
URL: http://svn.apache.org/viewvc/incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-api/src/main/java/org/apache/aries/blueprint/annotation/Bean.java?rev=939092&view=auto
==============================================================================
--- incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-api/src/main/java/org/apache/aries/blueprint/annotation/Bean.java (added)
+++ incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-api/src/main/java/org/apache/aries/blueprint/annotation/Bean.java Wed Apr 28 21:11:16 2010
@@ -0,0 +1,32 @@
+/**
+ *  Licensed to the Apache Software Foundation (ASF) under one or more
+ *  contributor license agreements.  See the NOTICE file distributed with
+ *  this work for additional information regarding copyright ownership.
+ *  The ASF licenses this file to You under the Apache License, Version 2.0
+ *  (the "License"); you may not use this file except in compliance with
+ *  the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+package org.apache.aries.blueprint.annotation;
+
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+@Target(ElementType.TYPE)
+@Retention(RetentionPolicy.RUNTIME)
+public @interface Bean {
+    String name() default "";
+    String description() default "";
+    // should this be auto generated if none is specified?
+    String id() default "";
+    String factoryRef() default "";
+}

Propchange: incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-api/src/main/java/org/apache/aries/blueprint/annotation/Bean.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-api/src/main/java/org/apache/aries/blueprint/annotation/Bean.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-api/src/main/java/org/apache/aries/blueprint/annotation/Bean.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-api/src/main/java/org/apache/aries/blueprint/annotation/Blueprint.java
URL: http://svn.apache.org/viewvc/incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-api/src/main/java/org/apache/aries/blueprint/annotation/Blueprint.java?rev=939092&view=auto
==============================================================================
--- incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-api/src/main/java/org/apache/aries/blueprint/annotation/Blueprint.java (added)
+++ incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-api/src/main/java/org/apache/aries/blueprint/annotation/Blueprint.java Wed Apr 28 21:11:16 2010
@@ -0,0 +1,31 @@
+/**
+ *  Licensed to the Apache Software Foundation (ASF) under one or more
+ *  contributor license agreements.  See the NOTICE file distributed with
+ *  this work for additional information regarding copyright ownership.
+ *  The ASF licenses this file to You under the Apache License, Version 2.0
+ *  (the "License"); you may not use this file except in compliance with
+ *  the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+package org.apache.aries.blueprint.annotation;
+
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+@Target(ElementType.TYPE)
+@Retention(RetentionPolicy.RUNTIME)
+public @interface Blueprint {
+    String defaultActivation() default "eager";
+    int defaultTimeout() default 300000;
+    String defaultAvailability() default "mandatory";
+    
+}

Propchange: incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-api/src/main/java/org/apache/aries/blueprint/annotation/Blueprint.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-api/src/main/java/org/apache/aries/blueprint/annotation/Blueprint.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-api/src/main/java/org/apache/aries/blueprint/annotation/Blueprint.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-api/src/main/java/org/apache/aries/blueprint/annotation/Destroy.java
URL: http://svn.apache.org/viewvc/incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-api/src/main/java/org/apache/aries/blueprint/annotation/Destroy.java?rev=939092&view=auto
==============================================================================
--- incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-api/src/main/java/org/apache/aries/blueprint/annotation/Destroy.java (added)
+++ incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-api/src/main/java/org/apache/aries/blueprint/annotation/Destroy.java Wed Apr 28 21:11:16 2010
@@ -0,0 +1,31 @@
+/**
+ *  Licensed to the Apache Software Foundation (ASF) under one or more
+ *  contributor license agreements.  See the NOTICE file distributed with
+ *  this work for additional information regarding copyright ownership.
+ *  The ASF licenses this file to You under the Apache License, Version 2.0
+ *  (the "License"); you may not use this file except in compliance with
+ *  the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+package org.apache.aries.blueprint.annotation;
+
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+/**
+ * used to annotation destroy-method in blueprint beans
+ *
+ */
+@Target(ElementType.METHOD)
+@Retention(RetentionPolicy.RUNTIME)
+public @interface Destroy {
+}

Propchange: incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-api/src/main/java/org/apache/aries/blueprint/annotation/Destroy.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-api/src/main/java/org/apache/aries/blueprint/annotation/Destroy.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-api/src/main/java/org/apache/aries/blueprint/annotation/Destroy.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-api/src/main/java/org/apache/aries/blueprint/annotation/Element.java
URL: http://svn.apache.org/viewvc/incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-api/src/main/java/org/apache/aries/blueprint/annotation/Element.java?rev=939092&view=auto
==============================================================================
--- incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-api/src/main/java/org/apache/aries/blueprint/annotation/Element.java (added)
+++ incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-api/src/main/java/org/apache/aries/blueprint/annotation/Element.java Wed Apr 28 21:11:16 2010
@@ -0,0 +1,36 @@
+/**
+ *  Licensed to the Apache Software Foundation (ASF) under one or more
+ *  contributor license agreements.  See the NOTICE file distributed with
+ *  this work for additional information regarding copyright ownership.
+ *  The ASF licenses this file to You under the Apache License, Version 2.0
+ *  (the "License"); you may not use this file except in compliance with
+ *  the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+package org.apache.aries.blueprint.annotation;
+
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+@Target({ElementType.TYPE, ElementType.METHOD, ElementType.FIELD})
+@Retention(RetentionPolicy.RUNTIME)
+public @interface Element {
+    ElementType type() default ElementType.STRING;
+    String value() default "";
+    
+    public enum ElementType {
+        STRING,
+        INTEGER,
+        DATE
+    }
+
+}

Propchange: incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-api/src/main/java/org/apache/aries/blueprint/annotation/Element.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-api/src/main/java/org/apache/aries/blueprint/annotation/Element.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-api/src/main/java/org/apache/aries/blueprint/annotation/Element.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-api/src/main/java/org/apache/aries/blueprint/annotation/Factory.java
URL: http://svn.apache.org/viewvc/incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-api/src/main/java/org/apache/aries/blueprint/annotation/Factory.java?rev=939092&view=auto
==============================================================================
--- incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-api/src/main/java/org/apache/aries/blueprint/annotation/Factory.java (added)
+++ incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-api/src/main/java/org/apache/aries/blueprint/annotation/Factory.java Wed Apr 28 21:11:16 2010
@@ -0,0 +1,31 @@
+/**
+ *  Licensed to the Apache Software Foundation (ASF) under one or more
+ *  contributor license agreements.  See the NOTICE file distributed with
+ *  this work for additional information regarding copyright ownership.
+ *  The ASF licenses this file to You under the Apache License, Version 2.0
+ *  (the "License"); you may not use this file except in compliance with
+ *  the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+package org.apache.aries.blueprint.annotation;
+
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+/**
+ * used to annotation factory-method in blueprint beans
+ *
+ */
+@Target(ElementType.METHOD)
+@Retention(RetentionPolicy.RUNTIME)
+public @interface Factory {
+}

Propchange: incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-api/src/main/java/org/apache/aries/blueprint/annotation/Factory.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-api/src/main/java/org/apache/aries/blueprint/annotation/Factory.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-api/src/main/java/org/apache/aries/blueprint/annotation/Factory.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-api/src/main/java/org/apache/aries/blueprint/annotation/Init.java
URL: http://svn.apache.org/viewvc/incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-api/src/main/java/org/apache/aries/blueprint/annotation/Init.java?rev=939092&view=auto
==============================================================================
--- incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-api/src/main/java/org/apache/aries/blueprint/annotation/Init.java (added)
+++ incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-api/src/main/java/org/apache/aries/blueprint/annotation/Init.java Wed Apr 28 21:11:16 2010
@@ -0,0 +1,31 @@
+/**
+ *  Licensed to the Apache Software Foundation (ASF) under one or more
+ *  contributor license agreements.  See the NOTICE file distributed with
+ *  this work for additional information regarding copyright ownership.
+ *  The ASF licenses this file to You under the Apache License, Version 2.0
+ *  (the "License"); you may not use this file except in compliance with
+ *  the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+package org.apache.aries.blueprint.annotation;
+
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+/**
+ * used to annotation init-method in blueprint beans
+ *
+ */
+@Target(ElementType.METHOD)
+@Retention(RetentionPolicy.RUNTIME)
+public @interface Init {
+}

Propchange: incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-api/src/main/java/org/apache/aries/blueprint/annotation/Init.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-api/src/main/java/org/apache/aries/blueprint/annotation/Init.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-api/src/main/java/org/apache/aries/blueprint/annotation/Init.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-api/src/main/java/org/apache/aries/blueprint/annotation/Inject.java
URL: http://svn.apache.org/viewvc/incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-api/src/main/java/org/apache/aries/blueprint/annotation/Inject.java?rev=939092&view=auto
==============================================================================
--- incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-api/src/main/java/org/apache/aries/blueprint/annotation/Inject.java (added)
+++ incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-api/src/main/java/org/apache/aries/blueprint/annotation/Inject.java Wed Apr 28 21:11:16 2010
@@ -0,0 +1,30 @@
+/**
+ *  Licensed to the Apache Software Foundation (ASF) under one or more
+ *  contributor license agreements.  See the NOTICE file distributed with
+ *  this work for additional information regarding copyright ownership.
+ *  The ASF licenses this file to You under the Apache License, Version 2.0
+ *  (the "License"); you may not use this file except in compliance with
+ *  the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+package org.apache.aries.blueprint.annotation;
+
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+@Target({ElementType.TYPE, ElementType.FIELD, ElementType.METHOD})
+@Retention(RetentionPolicy.RUNTIME)
+public @interface Inject {
+    String value() default "";
+    String name() default "";
+    String description() default "";
+}
\ No newline at end of file

Propchange: incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-api/src/main/java/org/apache/aries/blueprint/annotation/Inject.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-api/src/main/java/org/apache/aries/blueprint/annotation/Inject.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-api/src/main/java/org/apache/aries/blueprint/annotation/Inject.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-api/src/main/java/org/apache/aries/blueprint/annotation/List.java
URL: http://svn.apache.org/viewvc/incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-api/src/main/java/org/apache/aries/blueprint/annotation/List.java?rev=939092&view=auto
==============================================================================
--- incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-api/src/main/java/org/apache/aries/blueprint/annotation/List.java (added)
+++ incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-api/src/main/java/org/apache/aries/blueprint/annotation/List.java Wed Apr 28 21:11:16 2010
@@ -0,0 +1,29 @@
+/**
+ *  Licensed to the Apache Software Foundation (ASF) under one or more
+ *  contributor license agreements.  See the NOTICE file distributed with
+ *  this work for additional information regarding copyright ownership.
+ *  The ASF licenses this file to You under the Apache License, Version 2.0
+ *  (the "License"); you may not use this file except in compliance with
+ *  the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+package org.apache.aries.blueprint.annotation;
+
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+@Target({ElementType.TYPE, ElementType.METHOD, ElementType.FIELD})
+@Retention(RetentionPolicy.RUNTIME)
+public @interface List {
+  public Element[] value();
+  
+}

Propchange: incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-api/src/main/java/org/apache/aries/blueprint/annotation/List.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-api/src/main/java/org/apache/aries/blueprint/annotation/List.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-api/src/main/java/org/apache/aries/blueprint/annotation/List.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-api/src/main/java/org/apache/aries/blueprint/annotation/Register.java
URL: http://svn.apache.org/viewvc/incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-api/src/main/java/org/apache/aries/blueprint/annotation/Register.java?rev=939092&view=auto
==============================================================================
--- incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-api/src/main/java/org/apache/aries/blueprint/annotation/Register.java (added)
+++ incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-api/src/main/java/org/apache/aries/blueprint/annotation/Register.java Wed Apr 28 21:11:16 2010
@@ -0,0 +1,31 @@
+/**
+ *  Licensed to the Apache Software Foundation (ASF) under one or more
+ *  contributor license agreements.  See the NOTICE file distributed with
+ *  this work for additional information regarding copyright ownership.
+ *  The ASF licenses this file to You under the Apache License, Version 2.0
+ *  (the "License"); you may not use this file except in compliance with
+ *  the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+package org.apache.aries.blueprint.annotation;
+
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+/**
+ * used to annotation registration-methodd in blueprint registration listener
+ *
+ */
+@Target(ElementType.METHOD)
+@Retention(RetentionPolicy.RUNTIME)
+public @interface Register {
+}

Propchange: incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-api/src/main/java/org/apache/aries/blueprint/annotation/Register.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-api/src/main/java/org/apache/aries/blueprint/annotation/Register.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-api/src/main/java/org/apache/aries/blueprint/annotation/Register.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-api/src/main/java/org/apache/aries/blueprint/annotation/RegistrationListener.java
URL: http://svn.apache.org/viewvc/incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-api/src/main/java/org/apache/aries/blueprint/annotation/RegistrationListener.java?rev=939092&view=auto
==============================================================================
--- incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-api/src/main/java/org/apache/aries/blueprint/annotation/RegistrationListener.java (added)
+++ incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-api/src/main/java/org/apache/aries/blueprint/annotation/RegistrationListener.java Wed Apr 28 21:11:16 2010
@@ -0,0 +1,31 @@
+/**
+ *  Licensed to the Apache Software Foundation (ASF) under one or more
+ *  contributor license agreements.  See the NOTICE file distributed with
+ *  this work for additional information regarding copyright ownership.
+ *  The ASF licenses this file to You under the Apache License, Version 2.0
+ *  (the "License"); you may not use this file except in compliance with
+ *  the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+package org.apache.aries.blueprint.annotation;
+
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+@Target(ElementType.TYPE)
+@Retention(RetentionPolicy.RUNTIME)
+public @interface RegistrationListener {
+    String name() default "";
+    String description() default "";
+    // point to bean id that is doing the registration listening
+    String id() default "";
+}

Propchange: incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-api/src/main/java/org/apache/aries/blueprint/annotation/RegistrationListener.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-api/src/main/java/org/apache/aries/blueprint/annotation/RegistrationListener.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-api/src/main/java/org/apache/aries/blueprint/annotation/RegistrationListener.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-api/src/main/java/org/apache/aries/blueprint/annotation/Service.java
URL: http://svn.apache.org/viewvc/incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-api/src/main/java/org/apache/aries/blueprint/annotation/Service.java?rev=939092&view=auto
==============================================================================
--- incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-api/src/main/java/org/apache/aries/blueprint/annotation/Service.java (added)
+++ incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-api/src/main/java/org/apache/aries/blueprint/annotation/Service.java Wed Apr 28 21:11:16 2010
@@ -0,0 +1,34 @@
+/**
+ *  Licensed to the Apache Software Foundation (ASF) under one or more
+ *  contributor license agreements.  See the NOTICE file distributed with
+ *  this work for additional information regarding copyright ownership.
+ *  The ASF licenses this file to You under the Apache License, Version 2.0
+ *  (the "License"); you may not use this file except in compliance with
+ *  the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+package org.apache.aries.blueprint.annotation;
+
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+import java.util.Properties;
+
+@Target(ElementType.TYPE)
+@Retention(RetentionPolicy.RUNTIME)
+public @interface Service {
+    String name() default "";
+    String description() default "";
+    RegistrationListener registerationListener();
+    int ranking() default 0;
+    String autoExport() default "disabled";
+    String publishInterface() default "";
+}
\ No newline at end of file

Propchange: incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-api/src/main/java/org/apache/aries/blueprint/annotation/Service.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-api/src/main/java/org/apache/aries/blueprint/annotation/Service.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-api/src/main/java/org/apache/aries/blueprint/annotation/Service.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-api/src/main/java/org/apache/aries/blueprint/annotation/Unregister.java
URL: http://svn.apache.org/viewvc/incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-api/src/main/java/org/apache/aries/blueprint/annotation/Unregister.java?rev=939092&view=auto
==============================================================================
--- incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-api/src/main/java/org/apache/aries/blueprint/annotation/Unregister.java (added)
+++ incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-api/src/main/java/org/apache/aries/blueprint/annotation/Unregister.java Wed Apr 28 21:11:16 2010
@@ -0,0 +1,31 @@
+/**
+ *  Licensed to the Apache Software Foundation (ASF) under one or more
+ *  contributor license agreements.  See the NOTICE file distributed with
+ *  this work for additional information regarding copyright ownership.
+ *  The ASF licenses this file to You under the Apache License, Version 2.0
+ *  (the "License"); you may not use this file except in compliance with
+ *  the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+package org.apache.aries.blueprint.annotation;
+
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+/**
+ * used to annotation unregistration-methodd in blueprint registration listener
+ *
+ */
+@Target(ElementType.METHOD)
+@Retention(RetentionPolicy.RUNTIME)
+public @interface Unregister {
+}

Propchange: incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-api/src/main/java/org/apache/aries/blueprint/annotation/Unregister.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-api/src/main/java/org/apache/aries/blueprint/annotation/Unregister.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-api/src/main/java/org/apache/aries/blueprint/annotation/Unregister.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-api/src/main/java/org/apache/aries/blueprint/annotation/service/BlueprintAnnotationScanner.java
URL: http://svn.apache.org/viewvc/incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-api/src/main/java/org/apache/aries/blueprint/annotation/service/BlueprintAnnotationScanner.java?rev=939092&view=auto
==============================================================================
--- incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-api/src/main/java/org/apache/aries/blueprint/annotation/service/BlueprintAnnotationScanner.java (added)
+++ incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-api/src/main/java/org/apache/aries/blueprint/annotation/service/BlueprintAnnotationScanner.java Wed Apr 28 21:11:16 2010
@@ -0,0 +1,28 @@
+/**
+ *  Licensed to the Apache Software Foundation (ASF) under one or more
+ *  contributor license agreements.  See the NOTICE file distributed with
+ *  this work for additional information regarding copyright ownership.
+ *  The ASF licenses this file to You under the Apache License, Version 2.0
+ *  (the "License"); you may not use this file except in compliance with
+ *  the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+package org.apache.aries.blueprint.annotation.service;
+
+import java.net.URL;
+
+import org.osgi.framework.Bundle;
+
+public interface BlueprintAnnotationScanner {
+    public boolean foundBlueprintAnnotation(Bundle bundle);
+    
+    public URL generateBlueprintModel(Bundle bundle);
+    
+}

Propchange: incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-api/src/main/java/org/apache/aries/blueprint/annotation/service/BlueprintAnnotationScanner.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-api/src/main/java/org/apache/aries/blueprint/annotation/service/BlueprintAnnotationScanner.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-api/src/main/java/org/apache/aries/blueprint/annotation/service/BlueprintAnnotationScanner.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-impl/pom.xml
URL: http://svn.apache.org/viewvc/incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-impl/pom.xml?rev=939092&view=auto
==============================================================================
--- incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-impl/pom.xml (added)
+++ incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-impl/pom.xml Wed Apr 28 21:11:16 2010
@@ -0,0 +1,94 @@
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements.  See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership.  The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied.  See the License for the
+ specific language governing permissions and limitations
+ under the License.
+-->
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+  <modelVersion>4.0.0</modelVersion>
+  <parent>
+    <groupId>org.apache.aries.blueprint</groupId>
+    <artifactId>blueprint</artifactId>
+    <version>0.2-incubating-SNAPSHOT</version>
+  </parent>
+
+  <artifactId>org.apache.aries.blueprint.annotation.impl</artifactId>
+  <packaging>bundle</packaging>
+  <name>Apache Aries Blueprint Annotation Impl</name>
+  <description>
+      This bundle contains the core implementation of Blueprint 
+      along with the "ext" namespace handler.
+  </description>
+
+  <properties>
+      <aries.osgi.activator>
+          org.apache.aries.blueprint.annotation.impl.Activator
+      </aries.osgi.activator>
+      <aries.osgi.export.pkg>
+          org.apache.aries.blueprint.jaxb.*, org.aoache.aries.blueprint.annotation.*
+      </aries.osgi.export.pkg>
+      <aries.osgi.import>
+          !org.apache.aries.blueprint.jaxb.*,
+          org.apache.aries.blueprint.annotation,
+        *
+      </aries.osgi.import>
+      <aries.osgi.export.service>
+          org.apache.aries.blueprint.annotation.AnnotationScannerService
+      </aries.osgi.export.service>
+  </properties>
+  
+  <dependencies>
+      <dependency>
+          <groupId>org.apache.aries.blueprint</groupId>
+          <artifactId>org.apache.aries.blueprint.annotation.api</artifactId>
+          <version>${version}</version>
+      </dependency>
+      <dependency>
+          <groupId>org.osgi</groupId>
+          <artifactId>org.osgi.core</artifactId>
+          <scope>provided</scope>
+      </dependency>
+      <dependency>
+          <groupId>org.osgi</groupId>
+          <artifactId>org.osgi.compendium</artifactId>
+          <scope>provided</scope>
+      </dependency>
+      <dependency>
+          <groupId>org.eclipse</groupId>
+          <artifactId>osgi</artifactId>
+          <scope>provided</scope>
+      </dependency>
+      <dependency>
+          <groupId>org.slf4j</groupId>
+          <artifactId>slf4j-api</artifactId>
+      </dependency>
+      <dependency>
+          <groupId>org.slf4j</groupId>
+          <artifactId>slf4j-simple</artifactId>
+          <scope>test</scope>
+      </dependency>
+      <dependency>
+          <groupId>asm</groupId>
+          <artifactId>asm-all</artifactId>
+          <optional>true</optional>
+      </dependency>
+      <dependency>
+          <groupId>org.apache.xbean</groupId>
+          <artifactId>xbean-finder</artifactId>
+          <version>3.7-SNAPSHOT</version>
+      </dependency>
+  </dependencies>
+  
+</project>

Propchange: incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-impl/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-impl/pom.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-impl/pom.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-impl/src/main/java/org/apache/aries/blueprint/annotation/impl/Activator.java
URL: http://svn.apache.org/viewvc/incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-impl/src/main/java/org/apache/aries/blueprint/annotation/impl/Activator.java?rev=939092&view=auto
==============================================================================
--- incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-impl/src/main/java/org/apache/aries/blueprint/annotation/impl/Activator.java (added)
+++ incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-impl/src/main/java/org/apache/aries/blueprint/annotation/impl/Activator.java Wed Apr 28 21:11:16 2010
@@ -0,0 +1,40 @@
+/**
+ *  Licensed to the Apache Software Foundation (ASF) under one or more
+ *  contributor license agreements.  See the NOTICE file distributed with
+ *  this work for additional information regarding copyright ownership.
+ *  The ASF licenses this file to You under the Apache License, Version 2.0
+ *  (the "License"); you may not use this file except in compliance with
+ *  the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+package org.apache.aries.blueprint.annotation.impl;
+
+import org.osgi.framework.BundleActivator;
+import org.osgi.framework.BundleContext;
+import org.osgi.framework.ServiceRegistration;
+import org.apache.aries.blueprint.annotation.service.BlueprintAnnotationScanner;
+
+public class Activator implements BundleActivator {
+
+    ServiceRegistration sr;
+    
+    public void start(BundleContext context) {
+        System.out.println("Annotation Scanner Impl Bundle start");
+        sr = context.registerService(BlueprintAnnotationScanner.class.getName(), new BlueprintAnnotationScannerImpl(context), null);
+    }
+
+    public void stop(BundleContext context) {
+        System.out.println("Annotation Scanner Impl Bundle stop");
+        if (sr != null) {
+            sr.unregister();
+        }
+    }
+   
+}

Propchange: incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-impl/src/main/java/org/apache/aries/blueprint/annotation/impl/Activator.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-impl/src/main/java/org/apache/aries/blueprint/annotation/impl/Activator.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-impl/src/main/java/org/apache/aries/blueprint/annotation/impl/Activator.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-impl/src/main/java/org/apache/aries/blueprint/annotation/impl/BlueprintAnnotationScannerImpl.java
URL: http://svn.apache.org/viewvc/incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-impl/src/main/java/org/apache/aries/blueprint/annotation/impl/BlueprintAnnotationScannerImpl.java?rev=939092&view=auto
==============================================================================
--- incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-impl/src/main/java/org/apache/aries/blueprint/annotation/impl/BlueprintAnnotationScannerImpl.java (added)
+++ incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-impl/src/main/java/org/apache/aries/blueprint/annotation/impl/BlueprintAnnotationScannerImpl.java Wed Apr 28 21:11:16 2010
@@ -0,0 +1,181 @@
+/**
+ *  Licensed to the Apache Software Foundation (ASF) under one or more
+ *  contributor license agreements.  See the NOTICE file distributed with
+ *  this work for additional information regarding copyright ownership.
+ *  The ASF licenses this file to You under the Apache License, Version 2.0
+ *  (the "License"); you may not use this file except in compliance with
+ *  the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+package org.apache.aries.blueprint.annotation.impl;
+
+import java.io.File;
+import java.io.IOException;
+import java.lang.reflect.Field;
+import java.net.MalformedURLException;
+import java.net.URL;
+import java.util.List;
+
+import javax.xml.bind.JAXBContext;
+import javax.xml.bind.JAXBException;
+import javax.xml.bind.Marshaller;
+
+import org.apache.xbean.finder.BundleAnnotationFinder;
+import org.apache.aries.blueprint.annotation.service.BlueprintAnnotationScanner;
+import org.apache.aries.blueprint.jaxb.Tbean;
+import org.apache.aries.blueprint.jaxb.Tproperty;
+import org.apache.aries.blueprint.jaxb.Tvalue;
+import org.apache.aries.blueprint.jaxb.Tblueprint;
+import org.osgi.framework.Bundle;
+import org.osgi.framework.BundleContext;
+import org.osgi.framework.ServiceReference;
+import org.apache.aries.blueprint.annotation.Bean;
+import org.apache.aries.blueprint.annotation.Blueprint;
+import org.apache.aries.blueprint.annotation.Inject;
+import org.osgi.service.packageadmin.PackageAdmin;
+
+public class BlueprintAnnotationScannerImpl implements BlueprintAnnotationScanner {
+    private BundleContext context;
+    private List<Class> classes;
+    
+    public BlueprintAnnotationScannerImpl(BundleContext bc) {
+        this.context = bc;    
+    }
+    public boolean foundBlueprintAnnotation(Bundle bundle) {
+        if (this.classes != null && !this.classes.isEmpty()) {
+            return true;
+        }
+        ServiceReference sr = this.context.getServiceReference(PackageAdmin.class.getName());
+        PackageAdmin pa = (PackageAdmin)this.context.getService(sr);
+        BundleAnnotationFinder baf = null;
+        try {
+            baf = new BundleAnnotationFinder(pa, bundle);
+            // locate the classes that has @blueprint annotation
+            this.classes = baf.findAnnotatedClasses(Blueprint.class);
+            
+        } catch (Exception e) {
+            // TODO Auto-generated catch block
+            e.printStackTrace();
+        }
+        
+
+        this.context.ungetService(sr);
+        if (this.classes == null || this.classes.isEmpty()) {
+            return false;
+        }
+        
+        return true;
+    }
+
+    private BundleContext getBlueprintExtenderContext() {
+        Bundle[] bundles = this.context.getBundles();
+        for (Bundle b : bundles) {
+            if (b.getSymbolicName().equals("org.apache.aries.blueprint.core")) {
+                return b.getBundleContext();
+            }
+        }
+        
+        throw new NullPointerException("unable to get bundle context for aries blueprint extender");
+    }
+    
+    public URL generateBlueprintModel(Bundle bundle) {
+        if (foundBlueprintAnnotation(bundle)) {
+            Tblueprint tblueprint = generateBlueprintModel(classes);
+            
+            if (tblueprint != null) {
+                // create the generated blueprint xml file in bundle storage area
+                BundleContext extenderContext = getBlueprintExtenderContext();
+                File dir = extenderContext.getDataFile(bundle.getSymbolicName() + "/" + bundle.getVersion() + "/");
+                if (!dir.exists()) {
+                    dir.mkdirs();
+                }
+                String blueprintPath = cachePath(bundle, "annotation-generated-blueprint.xml");
+                File file = extenderContext.getDataFile(blueprintPath);
+                if (!file.exists()) {
+                    try {
+                        file.createNewFile();
+                    } catch (IOException e) {
+                        // TODO Auto-generated catch block
+                        e.printStackTrace();
+                    }
+                }
+                try {
+                    marshallOBRModel(tblueprint, file);
+                } catch (JAXBException e) {
+                    // TODO Auto-generated catch block
+                    e.printStackTrace();
+                }
+                try {
+                    return file.toURL();
+                } catch (MalformedURLException e) {
+                    // TODO Auto-generated catch block
+                    e.printStackTrace();
+                }
+            }
+            
+        }
+        
+        return null;
+
+    }
+
+    private void marshallOBRModel(Tblueprint tblueprint, File blueprintFile) throws JAXBException {
+        JAXBContext context = JAXBContext.newInstance(Tblueprint.class);
+        Marshaller marshaller = context.createMarshaller();
+        marshaller.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, Boolean.TRUE);
+        marshaller.marshal(tblueprint, blueprintFile);
+        
+    }
+
+    
+    private Tblueprint generateBlueprintModel(List<Class> classes) {
+        if (classes.isEmpty()) {
+            return null;
+        }
+        
+        Tblueprint tblueprint = new Tblueprint();
+        List<Object> components = tblueprint.getServiceOrReferenceListOrBean();
+        for (Class clazz : classes) {
+            if (clazz.isAnnotationPresent(Bean.class)) {
+                // @Bean annotation detected
+                Tbean tbean = new Tbean();
+                tbean.setId(clazz.getSimpleName());
+                tbean.setClazz(clazz.getName());
+                List<Object> props = tbean.getArgumentOrPropertyOrAny();
+                
+                Field[] fields = clazz.getDeclaredFields();
+                for (int i = 0; i < fields.length; i++) {
+                    if (fields[i].isAnnotationPresent(Inject.class)) {
+                       Inject inj = fields[i].getAnnotation(Inject.class);
+                       String value = inj.value();
+                       Tproperty tp = new Tproperty();
+                       tp.setName(fields[i].getName());
+                       Tvalue tvalue = new Tvalue();
+                       tvalue.setContent(value);
+                       tp.setValue(tvalue);
+                       props.add(tp);
+                    }
+                }
+                components.add(tbean);
+            }
+        }
+        
+        return tblueprint;
+        
+
+    }
+    
+    
+    // copy from blueprint extender
+    private String cachePath(Bundle bundle, String filePath)
+    {
+      return bundle.getSymbolicName() + "/" + bundle.getVersion() + "/" + filePath;
+    } 
+}

Propchange: incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-impl/src/main/java/org/apache/aries/blueprint/annotation/impl/BlueprintAnnotationScannerImpl.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-impl/src/main/java/org/apache/aries/blueprint/annotation/impl/BlueprintAnnotationScannerImpl.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-impl/src/main/java/org/apache/aries/blueprint/annotation/impl/BlueprintAnnotationScannerImpl.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-impl/src/main/java/org/apache/aries/blueprint/jaxb/ObjectFactory.java
URL: http://svn.apache.org/viewvc/incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-impl/src/main/java/org/apache/aries/blueprint/jaxb/ObjectFactory.java?rev=939092&view=auto
==============================================================================
--- incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-impl/src/main/java/org/apache/aries/blueprint/jaxb/ObjectFactory.java (added)
+++ incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-impl/src/main/java/org/apache/aries/blueprint/jaxb/ObjectFactory.java Wed Apr 28 21:11:16 2010
@@ -0,0 +1,497 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6 
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
+// Any modifications to this file will be lost upon recompilation of the source schema. 
+// Generated on: 2010.04.23 at 12:57:08 PM EDT 
+//
+
+
+package org.apache.aries.blueprint.jaxb;
+
+import javax.xml.bind.JAXBElement;
+import javax.xml.bind.annotation.XmlElementDecl;
+import javax.xml.bind.annotation.XmlRegistry;
+import javax.xml.namespace.QName;
+
+
+/**
+ * This object contains factory methods for each 
+ * Java content interface and Java element interface 
+ * generated in the org.apache.aries.blueprint.jaxb package. 
+ * <p>An ObjectFactory allows you to programatically 
+ * construct new instances of the Java representation 
+ * for XML content. The Java representation of XML 
+ * content can consist of schema derived interfaces 
+ * and classes representing the binding of schema 
+ * type definitions, element declarations and model 
+ * groups.  Factory methods for each of these are 
+ * provided in this class.
+ * 
+ */
+@XmlRegistry
+public class ObjectFactory {
+
+    private final static QName _Blueprint_QNAME = new QName("http://www.osgi.org/xmlns/blueprint/v1.0.0", "blueprint");
+    private final static QName _TbeanArgument_QNAME = new QName("http://www.osgi.org/xmlns/blueprint/v1.0.0", "argument");
+    private final static QName _TbeanProperty_QNAME = new QName("http://www.osgi.org/xmlns/blueprint/v1.0.0", "property");
+    private final static QName _TtypeConvertersReference_QNAME = new QName("http://www.osgi.org/xmlns/blueprint/v1.0.0", "reference");
+    private final static QName _TtypeConvertersBean_QNAME = new QName("http://www.osgi.org/xmlns/blueprint/v1.0.0", "bean");
+    private final static QName _TtypeConvertersRef_QNAME = new QName("http://www.osgi.org/xmlns/blueprint/v1.0.0", "ref");
+    private final static QName _TblueprintReferenceList_QNAME = new QName("http://www.osgi.org/xmlns/blueprint/v1.0.0", "reference-list");
+    private final static QName _TblueprintService_QNAME = new QName("http://www.osgi.org/xmlns/blueprint/v1.0.0", "service");
+    private final static QName _TcollectionIdref_QNAME = new QName("http://www.osgi.org/xmlns/blueprint/v1.0.0", "idref");
+    private final static QName _TcollectionArray_QNAME = new QName("http://www.osgi.org/xmlns/blueprint/v1.0.0", "array");
+    private final static QName _TcollectionMap_QNAME = new QName("http://www.osgi.org/xmlns/blueprint/v1.0.0", "map");
+    private final static QName _TcollectionList_QNAME = new QName("http://www.osgi.org/xmlns/blueprint/v1.0.0", "list");
+    private final static QName _TcollectionProps_QNAME = new QName("http://www.osgi.org/xmlns/blueprint/v1.0.0", "props");
+    private final static QName _TcollectionValue_QNAME = new QName("http://www.osgi.org/xmlns/blueprint/v1.0.0", "value");
+    private final static QName _TcollectionSet_QNAME = new QName("http://www.osgi.org/xmlns/blueprint/v1.0.0", "set");
+    private final static QName _TcollectionNull_QNAME = new QName("http://www.osgi.org/xmlns/blueprint/v1.0.0", "null");
+
+    /**
+     * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.apache.aries.blueprint.jaxb
+     * 
+     */
+    public ObjectFactory() {
+    }
+
+    /**
+     * Create an instance of {@link Tprop }
+     * 
+     */
+    public Tprop createTprop() {
+        return new Tprop();
+    }
+
+    /**
+     * Create an instance of {@link Tref }
+     * 
+     */
+    public Tref createTref() {
+        return new Tref();
+    }
+
+    /**
+     * Create an instance of {@link Tbean }
+     * 
+     */
+    public Tbean createTbean() {
+        return new Tbean();
+    }
+
+    /**
+     * Create an instance of {@link TtypeConverters }
+     * 
+     */
+    public TtypeConverters createTtypeConverters() {
+        return new TtypeConverters();
+    }
+
+    /**
+     * Create an instance of {@link TtypedCollection }
+     * 
+     */
+    public TtypedCollection createTtypedCollection() {
+        return new TtypedCollection();
+    }
+
+    /**
+     * Create an instance of {@link TinlinedService }
+     * 
+     */
+    public TinlinedService createTinlinedService() {
+        return new TinlinedService();
+    }
+
+    /**
+     * Create an instance of {@link TinlinedReferenceList }
+     * 
+     */
+    public TinlinedReferenceList createTinlinedReferenceList() {
+        return new TinlinedReferenceList();
+    }
+
+    /**
+     * Create an instance of {@link Targument }
+     * 
+     */
+    public Targument createTargument() {
+        return new Targument();
+    }
+
+    /**
+     * Create an instance of {@link Tinterfaces }
+     * 
+     */
+    public Tinterfaces createTinterfaces() {
+        return new Tinterfaces();
+    }
+
+    /**
+     * Create an instance of {@link Tblueprint }
+     * 
+     */
+    public Tblueprint createTblueprint() {
+        return new Tblueprint();
+    }
+
+    /**
+     * Create an instance of {@link Tproperty }
+     * 
+     */
+    public Tproperty createTproperty() {
+        return new Tproperty();
+    }
+
+    /**
+     * Create an instance of {@link TserviceReference }
+     * 
+     */
+    public TserviceReference createTserviceReference() {
+        return new TserviceReference();
+    }
+
+    /**
+     * Create an instance of {@link TserviceProperties }
+     * 
+     */
+    public TserviceProperties createTserviceProperties() {
+        return new TserviceProperties();
+    }
+
+    /**
+     * Create an instance of {@link TinlinedReference }
+     * 
+     */
+    public TinlinedReference createTinlinedReference() {
+        return new TinlinedReference();
+    }
+
+    /**
+     * Create an instance of {@link Tkey }
+     * 
+     */
+    public Tkey createTkey() {
+        return new Tkey();
+    }
+
+    /**
+     * Create an instance of {@link Tdescription }
+     * 
+     */
+    public Tdescription createTdescription() {
+        return new Tdescription();
+    }
+
+    /**
+     * Create an instance of {@link Tvalue }
+     * 
+     */
+    public Tvalue createTvalue() {
+        return new Tvalue();
+    }
+
+    /**
+     * Create an instance of {@link TreferenceList }
+     * 
+     */
+    public TreferenceList createTreferenceList() {
+        return new TreferenceList();
+    }
+
+    /**
+     * Create an instance of {@link TreferenceListener }
+     * 
+     */
+    public TreferenceListener createTreferenceListener() {
+        return new TreferenceListener();
+    }
+
+    /**
+     * Create an instance of {@link Treference }
+     * 
+     */
+    public Treference createTreference() {
+        return new Treference();
+    }
+
+    /**
+     * Create an instance of {@link Tservice }
+     * 
+     */
+    public Tservice createTservice() {
+        return new Tservice();
+    }
+
+    /**
+     * Create an instance of {@link Tnull }
+     * 
+     */
+    public Tnull createTnull() {
+        return new Tnull();
+    }
+
+    /**
+     * Create an instance of {@link TmapEntry }
+     * 
+     */
+    public TmapEntry createTmapEntry() {
+        return new TmapEntry();
+    }
+
+    /**
+     * Create an instance of {@link TregistrationListener }
+     * 
+     */
+    public TregistrationListener createTregistrationListener() {
+        return new TregistrationListener();
+    }
+
+    /**
+     * Create an instance of {@link TinlinedBean }
+     * 
+     */
+    public TinlinedBean createTinlinedBean() {
+        return new TinlinedBean();
+    }
+
+    /**
+     * Create an instance of {@link Tprops }
+     * 
+     */
+    public Tprops createTprops() {
+        return new Tprops();
+    }
+
+    /**
+     * Create an instance of {@link Tmap }
+     * 
+     */
+    public Tmap createTmap() {
+        return new Tmap();
+    }
+
+    /**
+     * Create an instance of {@link TservicePropertyEntry }
+     * 
+     */
+    public TservicePropertyEntry createTservicePropertyEntry() {
+        return new TservicePropertyEntry();
+    }
+
+    /**
+     * Create an instance of {@link Tcollection }
+     * 
+     */
+    public Tcollection createTcollection() {
+        return new Tcollection();
+    }
+
+    /**
+     * Create an instance of {@link JAXBElement }{@code <}{@link Tblueprint }{@code >}}
+     * 
+     */
+    @XmlElementDecl(namespace = "http://www.osgi.org/xmlns/blueprint/v1.0.0", name = "blueprint")
+    public JAXBElement<Tblueprint> createBlueprint(Tblueprint value) {
+        return new JAXBElement<Tblueprint>(_Blueprint_QNAME, Tblueprint.class, null, value);
+    }
+
+    /**
+     * Create an instance of {@link JAXBElement }{@code <}{@link Targument }{@code >}}
+     * 
+     */
+    @XmlElementDecl(namespace = "http://www.osgi.org/xmlns/blueprint/v1.0.0", name = "argument", scope = Tbean.class)
+    public JAXBElement<Targument> createTbeanArgument(Targument value) {
+        return new JAXBElement<Targument>(_TbeanArgument_QNAME, Targument.class, Tbean.class, value);
+    }
+
+    /**
+     * Create an instance of {@link JAXBElement }{@code <}{@link Tproperty }{@code >}}
+     * 
+     */
+    @XmlElementDecl(namespace = "http://www.osgi.org/xmlns/blueprint/v1.0.0", name = "property", scope = Tbean.class)
+    public JAXBElement<Tproperty> createTbeanProperty(Tproperty value) {
+        return new JAXBElement<Tproperty>(_TbeanProperty_QNAME, Tproperty.class, Tbean.class, value);
+    }
+
+    /**
+     * Create an instance of {@link JAXBElement }{@code <}{@link Treference }{@code >}}
+     * 
+     */
+    @XmlElementDecl(namespace = "http://www.osgi.org/xmlns/blueprint/v1.0.0", name = "reference", scope = TtypeConverters.class)
+    public JAXBElement<Treference> createTtypeConvertersReference(Treference value) {
+        return new JAXBElement<Treference>(_TtypeConvertersReference_QNAME, Treference.class, TtypeConverters.class, value);
+    }
+
+    /**
+     * Create an instance of {@link JAXBElement }{@code <}{@link Tbean }{@code >}}
+     * 
+     */
+    @XmlElementDecl(namespace = "http://www.osgi.org/xmlns/blueprint/v1.0.0", name = "bean", scope = TtypeConverters.class)
+    public JAXBElement<Tbean> createTtypeConvertersBean(Tbean value) {
+        return new JAXBElement<Tbean>(_TtypeConvertersBean_QNAME, Tbean.class, TtypeConverters.class, value);
+    }
+
+    /**
+     * Create an instance of {@link JAXBElement }{@code <}{@link Tref }{@code >}}
+     * 
+     */
+    @XmlElementDecl(namespace = "http://www.osgi.org/xmlns/blueprint/v1.0.0", name = "ref", scope = TtypeConverters.class)
+    public JAXBElement<Tref> createTtypeConvertersRef(Tref value) {
+        return new JAXBElement<Tref>(_TtypeConvertersRef_QNAME, Tref.class, TtypeConverters.class, value);
+    }
+
+    /**
+     * Create an instance of {@link JAXBElement }{@code <}{@link Treference }{@code >}}
+     * 
+     */
+    @XmlElementDecl(namespace = "http://www.osgi.org/xmlns/blueprint/v1.0.0", name = "reference", scope = Tblueprint.class)
+    public JAXBElement<Treference> createTblueprintReference(Treference value) {
+        return new JAXBElement<Treference>(_TtypeConvertersReference_QNAME, Treference.class, Tblueprint.class, value);
+    }
+
+    /**
+     * Create an instance of {@link JAXBElement }{@code <}{@link TreferenceList }{@code >}}
+     * 
+     */
+    @XmlElementDecl(namespace = "http://www.osgi.org/xmlns/blueprint/v1.0.0", name = "reference-list", scope = Tblueprint.class)
+    public JAXBElement<TreferenceList> createTblueprintReferenceList(TreferenceList value) {
+        return new JAXBElement<TreferenceList>(_TblueprintReferenceList_QNAME, TreferenceList.class, Tblueprint.class, value);
+    }
+
+    /**
+     * Create an instance of {@link JAXBElement }{@code <}{@link Tbean }{@code >}}
+     * 
+     */
+    @XmlElementDecl(namespace = "http://www.osgi.org/xmlns/blueprint/v1.0.0", name = "bean", scope = Tblueprint.class)
+    public JAXBElement<Tbean> createTblueprintBean(Tbean value) {
+        return new JAXBElement<Tbean>(_TtypeConvertersBean_QNAME, Tbean.class, Tblueprint.class, value);
+    }
+
+    /**
+     * Create an instance of {@link JAXBElement }{@code <}{@link Tservice }{@code >}}
+     * 
+     */
+    @XmlElementDecl(namespace = "http://www.osgi.org/xmlns/blueprint/v1.0.0", name = "service", scope = Tblueprint.class)
+    public JAXBElement<Tservice> createTblueprintService(Tservice value) {
+        return new JAXBElement<Tservice>(_TblueprintService_QNAME, Tservice.class, Tblueprint.class, value);
+    }
+
+    /**
+     * Create an instance of {@link JAXBElement }{@code <}{@link Tref }{@code >}}
+     * 
+     */
+    @XmlElementDecl(namespace = "http://www.osgi.org/xmlns/blueprint/v1.0.0", name = "idref", scope = Tcollection.class)
+    public JAXBElement<Tref> createTcollectionIdref(Tref value) {
+        return new JAXBElement<Tref>(_TcollectionIdref_QNAME, Tref.class, Tcollection.class, value);
+    }
+
+    /**
+     * Create an instance of {@link JAXBElement }{@code <}{@link Tcollection }{@code >}}
+     * 
+     */
+    @XmlElementDecl(namespace = "http://www.osgi.org/xmlns/blueprint/v1.0.0", name = "array", scope = Tcollection.class)
+    public JAXBElement<Tcollection> createTcollectionArray(Tcollection value) {
+        return new JAXBElement<Tcollection>(_TcollectionArray_QNAME, Tcollection.class, Tcollection.class, value);
+    }
+
+    /**
+     * Create an instance of {@link JAXBElement }{@code <}{@link Tmap }{@code >}}
+     * 
+     */
+    @XmlElementDecl(namespace = "http://www.osgi.org/xmlns/blueprint/v1.0.0", name = "map", scope = Tcollection.class)
+    public JAXBElement<Tmap> createTcollectionMap(Tmap value) {
+        return new JAXBElement<Tmap>(_TcollectionMap_QNAME, Tmap.class, Tcollection.class, value);
+    }
+
+    /**
+     * Create an instance of {@link JAXBElement }{@code <}{@link Tcollection }{@code >}}
+     * 
+     */
+    @XmlElementDecl(namespace = "http://www.osgi.org/xmlns/blueprint/v1.0.0", name = "list", scope = Tcollection.class)
+    public JAXBElement<Tcollection> createTcollectionList(Tcollection value) {
+        return new JAXBElement<Tcollection>(_TcollectionList_QNAME, Tcollection.class, Tcollection.class, value);
+    }
+
+    /**
+     * Create an instance of {@link JAXBElement }{@code <}{@link Tprops }{@code >}}
+     * 
+     */
+    @XmlElementDecl(namespace = "http://www.osgi.org/xmlns/blueprint/v1.0.0", name = "props", scope = Tcollection.class)
+    public JAXBElement<Tprops> createTcollectionProps(Tprops value) {
+        return new JAXBElement<Tprops>(_TcollectionProps_QNAME, Tprops.class, Tcollection.class, value);
+    }
+
+    /**
+     * Create an instance of {@link JAXBElement }{@code <}{@link TinlinedBean }{@code >}}
+     * 
+     */
+    @XmlElementDecl(namespace = "http://www.osgi.org/xmlns/blueprint/v1.0.0", name = "bean", scope = Tcollection.class)
+    public JAXBElement<TinlinedBean> createTcollectionBean(TinlinedBean value) {
+        return new JAXBElement<TinlinedBean>(_TtypeConvertersBean_QNAME, TinlinedBean.class, Tcollection.class, value);
+    }
+
+    /**
+     * Create an instance of {@link JAXBElement }{@code <}{@link Tvalue }{@code >}}
+     * 
+     */
+    @XmlElementDecl(namespace = "http://www.osgi.org/xmlns/blueprint/v1.0.0", name = "value", scope = Tcollection.class)
+    public JAXBElement<Tvalue> createTcollectionValue(Tvalue value) {
+        return new JAXBElement<Tvalue>(_TcollectionValue_QNAME, Tvalue.class, Tcollection.class, value);
+    }
+
+    /**
+     * Create an instance of {@link JAXBElement }{@code <}{@link Tref }{@code >}}
+     * 
+     */
+    @XmlElementDecl(namespace = "http://www.osgi.org/xmlns/blueprint/v1.0.0", name = "ref", scope = Tcollection.class)
+    public JAXBElement<Tref> createTcollectionRef(Tref value) {
+        return new JAXBElement<Tref>(_TtypeConvertersRef_QNAME, Tref.class, Tcollection.class, value);
+    }
+
+    /**
+     * Create an instance of {@link JAXBElement }{@code <}{@link TinlinedService }{@code >}}
+     * 
+     */
+    @XmlElementDecl(namespace = "http://www.osgi.org/xmlns/blueprint/v1.0.0", name = "service", scope = Tcollection.class)
+    public JAXBElement<TinlinedService> createTcollectionService(TinlinedService value) {
+        return new JAXBElement<TinlinedService>(_TblueprintService_QNAME, TinlinedService.class, Tcollection.class, value);
+    }
+
+    /**
+     * Create an instance of {@link JAXBElement }{@code <}{@link TinlinedReference }{@code >}}
+     * 
+     */
+    @XmlElementDecl(namespace = "http://www.osgi.org/xmlns/blueprint/v1.0.0", name = "reference", scope = Tcollection.class)
+    public JAXBElement<TinlinedReference> createTcollectionReference(TinlinedReference value) {
+        return new JAXBElement<TinlinedReference>(_TtypeConvertersReference_QNAME, TinlinedReference.class, Tcollection.class, value);
+    }
+
+    /**
+     * Create an instance of {@link JAXBElement }{@code <}{@link TinlinedReferenceList }{@code >}}
+     * 
+     */
+    @XmlElementDecl(namespace = "http://www.osgi.org/xmlns/blueprint/v1.0.0", name = "reference-list", scope = Tcollection.class)
+    public JAXBElement<TinlinedReferenceList> createTcollectionReferenceList(TinlinedReferenceList value) {
+        return new JAXBElement<TinlinedReferenceList>(_TblueprintReferenceList_QNAME, TinlinedReferenceList.class, Tcollection.class, value);
+    }
+
+    /**
+     * Create an instance of {@link JAXBElement }{@code <}{@link Tcollection }{@code >}}
+     * 
+     */
+    @XmlElementDecl(namespace = "http://www.osgi.org/xmlns/blueprint/v1.0.0", name = "set", scope = Tcollection.class)
+    public JAXBElement<Tcollection> createTcollectionSet(Tcollection value) {
+        return new JAXBElement<Tcollection>(_TcollectionSet_QNAME, Tcollection.class, Tcollection.class, value);
+    }
+
+    /**
+     * Create an instance of {@link JAXBElement }{@code <}{@link Tnull }{@code >}}
+     * 
+     */
+    @XmlElementDecl(namespace = "http://www.osgi.org/xmlns/blueprint/v1.0.0", name = "null", scope = Tcollection.class)
+    public JAXBElement<Tnull> createTcollectionNull(Tnull value) {
+        return new JAXBElement<Tnull>(_TcollectionNull_QNAME, Tnull.class, Tcollection.class, value);
+    }
+
+}

Propchange: incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-impl/src/main/java/org/apache/aries/blueprint/jaxb/ObjectFactory.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-impl/src/main/java/org/apache/aries/blueprint/jaxb/ObjectFactory.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-impl/src/main/java/org/apache/aries/blueprint/jaxb/ObjectFactory.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain



Mime
View raw message