|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@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.
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 |
---|
public abstract Class<?> factory
Class
instance of the an internally used service.
public abstract Class<?> implementation
public abstract String description
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |