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: 368822 $ $Date: 2006-01-13 13:54:38 -0500 (Fri, 13 Jan 2006) $

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.

Default:
{}

value

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

Default:
java.lang.Void.class

SCA API

-