Package org.wildfly.discovery
Class ServiceDescription
java.lang.Object
org.wildfly.discovery.ServiceDescription
- All Implemented Interfaces:
Serializable
An abstract location description for a service, consisting of a service type and a filter specification.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionServiceDescription(ServiceType serviceType, FilterSpec filterSpec) Construct a new instance. -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanequals(ServiceDescription other) Get the filter specification.Get the service type.inthashCode()toString()
-
Constructor Details
-
ServiceDescription
Construct a new instance.- Parameters:
serviceType- the service type (must not benull)filterSpec- the filter specification (must not benull)
-
-
Method Details
-
getServiceType
Get the service type.- Returns:
- the service type (not
null)
-
getFilterSpec
Get the filter specification.- Returns:
- the filter specification (not
null)
-
equals
-
equals
-
hashCode
public int hashCode() -
toString
-