org.apache.hivemind.annotations.definition
Annotation Type Service
@Documented
@Retention(value=RUNTIME)
@Target(value=METHOD)
public @interface Service
Marks a method in an annotated module as service point.
The return type of the method defines the service interface.
The method is used factory method for the construction of service implementations.
- Author:
- Achim Huegen
Required Element Summary |
java.lang.String |
id
|
id
public abstract java.lang.String id
serviceModel
public abstract java.lang.String serviceModel
- Default:
- "singleton"
Copyright © 2006-2007 Apache Software Foundation. All Rights Reserved.