blob: c7a0c4591104e6974dd0e0040f4e95e1fa3fe3ed [file] [log] [blame]
David Jencks40913692015-12-28 06:45:16 +00001/*
2 * Licensed to the Apache Software Foundation (ASF) under one
3 * or more contributor license agreements. See the NOTICE file
4 * distributed with this work for additional information
5 * regarding copyright ownership. The ASF licenses this file
6 * to you under the Apache License, Version 2.0 (the
7 * "License"); you may not use this file except in compliance
8 * with the License. You may obtain a copy of the License at
9 *
10 * http://www.apache.org/licenses/LICENSE-2.0
11 *
12 * Unless required by applicable law or agreed to in writing,
13 * software distributed under the License is distributed on an
14 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 * KIND, either express or implied. See the License for the
16 * specific language governing permissions and limitations
17 * under the License.
18 */
19package org.apache.felix.scr.ext.annotation;
20
21import java.lang.annotation.ElementType;
22import java.lang.annotation.Retention;
23import java.lang.annotation.RetentionPolicy;
24import java.lang.annotation.Target;
25
26import aQute.bnd.annotation.xml.XMLAttribute;
27
28
29public interface DSExt {
30
31 @XMLAttribute(namespace = "http://felix.apache.org/xmlns/scr/extensions/v1.0.0", prefix = "felix", mapping="value=configurableServiceProperties")
32 @Retention(RetentionPolicy.CLASS)
33 @Target(ElementType.TYPE)
34 @interface ConfigurableServiceProperties {
35 boolean value() default true;
36 }
37
38 @XMLAttribute(namespace = "http://felix.apache.org/xmlns/scr/extensions/v1.0.0", prefix = "felix", mapping="value=persistentFactoryComponent")
39 @Retention(RetentionPolicy.CLASS)
40 @Target(ElementType.TYPE)
41 @interface PersistentFactoryComponent {
42 boolean value() default true;
43 }
44
45 @XMLAttribute(namespace = "http://felix.apache.org/xmlns/scr/extensions/v1.0.0", prefix = "felix", mapping="value=deleteCallsModify")
46 @Retention(RetentionPolicy.CLASS)
47 @Target(ElementType.TYPE)
48 @interface DeleteCallsModify {
49 boolean value() default true;
50 }
51
52 @XMLAttribute(namespace = "http://felix.apache.org/xmlns/scr/extensions/v1.0.0", prefix = "felix", mapping="value=obsoleteFactoryComponentFactory")
53 @Retention(RetentionPolicy.CLASS)
54 @Target(ElementType.TYPE)
55 @interface ObsoleteFactoryComponentFactory {
56 boolean value() default true;
57 }
58
59 @XMLAttribute(namespace = "http://felix.apache.org/xmlns/scr/extensions/v1.0.0", prefix = "felix", mapping="value=configureWithInterfaces")
60 @Retention(RetentionPolicy.CLASS)
61 @Target(ElementType.TYPE)
62 @interface ConfigureWithInterfaces {
63 boolean value() default true;
64 }
65
66 @XMLAttribute(namespace = "http://felix.apache.org/xmlns/scr/extensions/v1.0.0", prefix = "felix", mapping="value=delayedKeepInstances")
67 @Retention(RetentionPolicy.CLASS)
68 @Target(ElementType.TYPE)
69 @interface DelayedKeepInstances {
70 boolean value() default true;
71 }
72
73}