2016/05/28 - Apache Tuscany has been retired.

For more information, please explore the Attic.


org.osoa.sca.annotations
Annotation Type Service


@Target(value=TYPE)
@Retention(value=RUNTIME)
public @interface Service

Annotation used to indicate the service interfaces exposed by a Java class.

Version:
$Rev: 537744 $ $Date: 2007-05-14 09:00:18 +0100 (Mon, 14 May 2007) $

Optional Element Summary
 java.lang.Class<?>[] interfaces
          Array of interfaces that should be exposed as services.
 java.lang.Class<?> value
          Shortcut allowing a single interface to be exposed.
 

interfaces

public abstract java.lang.Class<?>[] interfaces
Array of interfaces that should be exposed as services.

Returns:
a list of interfaces that should be exposed as services
Default:
{}

value

public abstract java.lang.Class<?> value
Shortcut allowing a single interface to be exposed.

Returns:
a single service interfaces to be exposed
Default:
java.lang.Void.class