net.sf.eos.config
Annotation Type Service


@Experimental
@Retention(value=RUNTIME)
@Target(value=TYPE)
public @interface Service

Indicates the internal use of a service in an instance. Use Services if the implementation supports more than one Service. Internal services may create thru a method, annotated with FactoryMethod.

Service annotations should be volatile between releases.

Author:
Sascha Kohlmann
See Also:
Services

Required Element Summary
 Class<?> factory
          Class instance of the an internally used service.
 
Optional Element Summary
 String description
          An optional description.
 Class<?> implementation
          The used implementation.
 

Element Detail

factory

public abstract Class<?> factory
Class instance of the an internally used service.

Returns:
instance of the an internally used service

implementation

public abstract Class<?> implementation
The used implementation.

Default:
net.sf.eos.config.FactoryMethod.None.class

description

public abstract String description
An optional description.

Returns:
a description
Default:
""


Copyright © 2008. All Rights Reserved.