From 875e50908c2630d263661af492654cd44bef2d65 Mon Sep 17 00:00:00 2001 From: jsdelfino Date: Tue, 25 Jan 2011 23:30:28 +0000 Subject: Sandbox to experiment with dynamic mass virtual hosting and running a different composite per vhost. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1063520 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/oasisopen/sca/annotation/ComponentName.java | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 sandbox/sebastien/java/vhost/modules/sca-api/src/main/java/org/oasisopen/sca/annotation/ComponentName.java (limited to 'sandbox/sebastien/java/vhost/modules/sca-api/src/main/java/org/oasisopen/sca/annotation/ComponentName.java') diff --git a/sandbox/sebastien/java/vhost/modules/sca-api/src/main/java/org/oasisopen/sca/annotation/ComponentName.java b/sandbox/sebastien/java/vhost/modules/sca-api/src/main/java/org/oasisopen/sca/annotation/ComponentName.java new file mode 100644 index 0000000000..5ea768a9ca --- /dev/null +++ b/sandbox/sebastien/java/vhost/modules/sca-api/src/main/java/org/oasisopen/sca/annotation/ComponentName.java @@ -0,0 +1,21 @@ +/* + * Copyright(C) OASIS(R) 2005,2010. All Rights Reserved. + * OASIS trademark, IPR and other policies apply. + */ +package org.oasisopen.sca.annotation; + +import static java.lang.annotation.ElementType.FIELD; +import static java.lang.annotation.ElementType.METHOD; +import static java.lang.annotation.RetentionPolicy.RUNTIME; +import java.lang.annotation.Retention; +import java.lang.annotation.Target; + +/** + * The @ComponentName annotation is used to denote a Java class field + * or setter method that is used to inject the component name. + */ +@Target({METHOD, FIELD}) +@Retention(RUNTIME) +public @interface ComponentName { + +} -- cgit v1.2.3