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: 431035 $ $Date: 2006-08-12 06:54:25 -0700 (Sat, 12 Aug 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


Copyright © 2006 Apache Software Foundation. All Rights Reserved.