summaryrefslogtreecommitdiffstats
path: root/sandbox/event/modules/sca-api/src/main/java/org/osoa/sca/annotations/EventType.java
diff options
context:
space:
mode:
Diffstat (limited to 'sandbox/event/modules/sca-api/src/main/java/org/osoa/sca/annotations/EventType.java')
-rw-r--r--sandbox/event/modules/sca-api/src/main/java/org/osoa/sca/annotations/EventType.java30
1 files changed, 30 insertions, 0 deletions
diff --git a/sandbox/event/modules/sca-api/src/main/java/org/osoa/sca/annotations/EventType.java b/sandbox/event/modules/sca-api/src/main/java/org/osoa/sca/annotations/EventType.java
new file mode 100644
index 0000000000..f783e7cb24
--- /dev/null
+++ b/sandbox/event/modules/sca-api/src/main/java/org/osoa/sca/annotations/EventType.java
@@ -0,0 +1,30 @@
+/*
+ * (c) Copyright BEA Systems, Inc., Cape Clear Software, International Business Machines Corp, Interface21, IONA Technologies,
+ * Oracle, Primeton Technologies, Progress Software, Red Hat, Rogue Wave Software, SAP AG., Siemens AG., Software AG., Sybase
+ * Inc., TIBCO Software Inc., 2005, 2007. All rights reserved.
+ *
+ * see http://www.osoa.org/display/Main/Service+Component+Architecture+Specifications
+ */
+package org.osoa.sca.annotations;
+
+import static java.lang.annotation.ElementType.TYPE;
+import static java.lang.annotation.RetentionPolicy.RUNTIME;
+
+import java.lang.annotation.Retention;
+import java.lang.annotation.Target;
+
+/**
+ * Annotation used to indicate the service interfaces exposed by a Java class.
+ *
+ * @version $$
+ */
+@Target({TYPE})
+@Retention(RUNTIME)
+public @interface EventType {
+
+ /**
+ * Name of this EventType
+ * @return
+ */
+ String name() default "";
+}