public final class MicroserviceMetaData extends Object
| Constructor and Description |
|---|
MicroserviceMetaData(String name,
Class type,
Set<Annotation> qualifiers)
Create a representation of a discovered Microservice.
|
MicroserviceMetaData(String name,
Class type,
Set<Annotation> qualifiers,
Set<Annotation> annotations)
Create a representation of a discovered Microservice.
|
MicroserviceMetaData(String name,
Class type,
Set<Annotation> qualifiers,
Set<Annotation> annotations,
String specVersion,
String implVersion)
Create a representation of a discovered Microservice.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Set<Annotation> |
getAnnotations()
Gets the annotations of the discovered Microservice.
|
String |
getImplVersion()
Gets the Microservice implementation version.
|
String |
getName()
Gets the name of the discovered Microservice.
|
Set<Annotation> |
getQualifiers()
Gets the qualifiers of the discovered Microservice.
|
String |
getSpecVersion()
Gets the Microservice specification version.
|
Class |
getType()
Gets the type of the discovered Microservice.
|
int |
hashCode() |
List<ServiceHandle> |
query(Context context,
String host) |
String |
toString() |
public MicroserviceMetaData(String name, Class type, Set<Annotation> qualifiers, Set<Annotation> annotations)
name - The name of the discovered Microservice.type - The type of the discovered Microservice.qualifiers - The qualifiers of the discovered Microservice.annotations - The annotations of the discovered Microservice.public MicroserviceMetaData(String name, Class type, Set<Annotation> qualifiers)
name - The name of the discovered Microservice.type - The type of the discovered Microservice.qualifiers - The qualifiers of the discovered Microservice.public MicroserviceMetaData(String name, Class type, Set<Annotation> qualifiers, Set<Annotation> annotations, String specVersion, String implVersion)
name - The name of the discovered Microservice.type - The type of the discovered Microservice.qualifiers - The qualifiers of the discovered Microservice.annotations - The annotations of the discovered Microservice.specVersion - The specification version we are looking for.implVersion - The implementation version we are looking for.public String getName()
public Class getType()
public Set<Annotation> getQualifiers()
public Set<Annotation> getAnnotations()
public String getSpecVersion()
public String getImplVersion()
Copyright © 2015–2016 px3. All rights reserved.