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: 701389 $ $Date: 2008-10-03 19:55:27 +0530 (Fri, 03 Oct 2008) $

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


Copyright © 2009. All Rights Reserved.