|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecttamago.ServiceTypeDescriptor
public class ServiceTypeDescriptor
| Constructor Summary | |
|---|---|
ServiceTypeDescriptor(java.lang.String type_name,
java.lang.Class<?> type_class)
|
|
| 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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ServiceTypeDescriptor(java.lang.String type_name,
java.lang.Class<?> type_class)
| Method Detail |
|---|
public java.lang.String getName()
ServiceType
getName in interface ServiceTypepublic java.lang.Class<?> getImplementation()
ServiceType
getImplementation in interface ServiceTypepublic boolean isSuperType(ServiceType subtype)
ServiceType
isSuperType in interface ServiceTypesubtype - the subtype candidate
public boolean isSubType(ServiceType supertype)
ServiceType
isSubType in interface ServiceTypesupertype - the supertype candidate
public boolean isSameType(ServiceType type2)
ServiceType
isSameType in interface ServiceTypetype2 - the identical type candidate
public boolean isStrictSuperType(ServiceType subtype)
ServiceType
isStrictSuperType in interface ServiceTypesubtype - the subtype candidate
public boolean isStrictSubType(ServiceType supertype)
ServiceType
isStrictSubType in interface ServiceTypesupertype - the supertype candidate
public boolean isProvidedBy(java.lang.Object o)
ServiceType
isProvidedBy in interface ServiceTypeo - the provider candidate
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||