SCA API

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: 408581 $ $Date: 2006-05-21 23:34:24 -0700 (Sun, 21 May 2006) $

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

interfaces

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

Default:
{}

value

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

Default:
java.lang.Void.class

SCA API

-