diff options
Diffstat (limited to 'sca-java-2.x/tags/2.0-M5.1-RC2/modules/sca-api/src/main/java/org/oasisopen/sca/ServiceReference.java')
-rw-r--r-- | sca-java-2.x/tags/2.0-M5.1-RC2/modules/sca-api/src/main/java/org/oasisopen/sca/ServiceReference.java | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/sca-java-2.x/tags/2.0-M5.1-RC2/modules/sca-api/src/main/java/org/oasisopen/sca/ServiceReference.java b/sca-java-2.x/tags/2.0-M5.1-RC2/modules/sca-api/src/main/java/org/oasisopen/sca/ServiceReference.java deleted file mode 100644 index d2d62763fa..0000000000 --- a/sca-java-2.x/tags/2.0-M5.1-RC2/modules/sca-api/src/main/java/org/oasisopen/sca/ServiceReference.java +++ /dev/null @@ -1,36 +0,0 @@ -/* - * Copyright(C) OASIS(R) 2005,2010. All Rights Reserved. - * OASIS trademark, IPR and other policies apply. - */ -package org.oasisopen.sca; - -/** - * The ServiceReference interface represents a component reference. - * It can be injected using the @Reference annotation - * on a field, a setter method, or constructor parameter taking the - * type ServiceReference. - * - * @param <B> the type of the service reference - */ -public interface ServiceReference<B> extends java.io.Serializable { - - /** - * Returns a type-safe reference to the target of this reference. - * The instance returned is guaranteed to implement the business - * interface for this reference. The value returned is a proxy - * to the target that implements the business interface associated - * with this reference. - * - * @return a type-safe reference to the target of this reference. - */ - B getService(); - - /** - * Returns the Java class for the business interface associated - * with this reference. - * - * @return the Java class for the business interface associated - * with this reference. - */ - Class<B> getBusinessInterface(); -} |