|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ServiceType
The Service Type interface Services possess a name and an implementation (definition) A subtyping hierarchy is provided, Service being the top-level service.
| Method Summary | |
|---|---|
java.lang.Class<?> |
getImplementation()
get the implementation of the service Note: this is not the implementation of a provider for the service. |
java.lang.String |
getName()
get the name of the service (a service name is unique) |
boolean |
isProvidedBy(java.lang.Object o)
tell if the service is provided by the argument |
boolean |
isSameType(ServiceType type2)
tell if the service is identical to the argument |
boolean |
isStrictSubType(ServiceType supertype)
tell if the service is a strict subtype of the argument |
boolean |
isStrictSuperType(ServiceType subtype)
tell if the service is a strict supertype of the argument |
boolean |
isSubType(ServiceType supertype)
tell if the service is a subtype of the argument |
boolean |
isSuperType(ServiceType subtype)
tell if the service is a supertype of the argument |
| Method Detail |
|---|
java.lang.String getName()
java.lang.Class<?> getImplementation()
boolean isSuperType(ServiceType subtype)
subtype - the subtype candidate
boolean isStrictSuperType(ServiceType subtype)
subtype - the subtype candidate
boolean isSubType(ServiceType supertype)
supertype - the supertype candidate
boolean isStrictSubType(ServiceType supertype)
supertype - the supertype candidate
boolean isSameType(ServiceType type2)
type2 - the identical type candidate
boolean isProvidedBy(java.lang.Object o)
o - the provider candidate
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||