|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Descriptor
A Descriptor is a bean-like structure that describes a service declaration in HK2.
Services have a number of optional attributes such as name and scope. A service is required to minimally have a type name representing the concrete (i.e., byType) definition.
| Method Summary | |
|---|---|
java.util.Collection<java.lang.String> |
getContracts()
The contracts that are used to index the service definition. |
MultiMap<java.lang.String,java.lang.String> |
getMetadata()
The meta data attributes for the service. |
java.lang.String |
getName()
The optional name for the service. |
java.util.Collection<java.lang.String> |
getQualifiers()
Returns the qualifier annotations on the service. |
java.lang.String |
getTypeName()
The implementation definition type. |
| Method Detail |
|---|
java.lang.String getName()
MultiMap<java.lang.String,java.lang.String> getMetadata()
java.util.Collection<java.lang.String> getQualifiers()
java.util.Collection<java.lang.String> getContracts()
java.lang.String getTypeName()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||