diff options
Diffstat (limited to 'tags/java/sca/2.0-M4-RC1/modules/sca-api/src/main/java/org/oasisopen/sca/ServiceReference.java')
-rw-r--r-- | tags/java/sca/2.0-M4-RC1/modules/sca-api/src/main/java/org/oasisopen/sca/ServiceReference.java | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/tags/java/sca/2.0-M4-RC1/modules/sca-api/src/main/java/org/oasisopen/sca/ServiceReference.java b/tags/java/sca/2.0-M4-RC1/modules/sca-api/src/main/java/org/oasisopen/sca/ServiceReference.java new file mode 100644 index 0000000000..05c39cb04b --- /dev/null +++ b/tags/java/sca/2.0-M4-RC1/modules/sca-api/src/main/java/org/oasisopen/sca/ServiceReference.java @@ -0,0 +1,22 @@ +/* + * (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.oasisopen.sca; + +import java.io.Serializable; + + +/** + * A ServiceReference represents a client's perspective of a reference to another service. + * + * @version $Rev$ $Date$ + * @param <B> the Java interface associated with this reference + */ +public interface ServiceReference<B> extends Serializable { + B getService(); + Class<B> getBusinessInterface(); +} |