| Package | Description |
|---|---|
| org.wildfly.discovery | |
| org.wildfly.discovery.impl | |
| org.wildfly.discovery.spi |
| Modifier and Type | Class and Description |
|---|---|
class |
AllFilterSpec
A filter specification matching all of a set of sub-filters.
|
class |
AnyFilterSpec
A filter specification matching any of a set of sub-filters.
|
class |
BooleanFilterSpec
A filter spec which is either always true or always false.
|
class |
EqualsFilterSpec |
class |
GreaterEqualFilterSpec |
class |
HasFilterSpec |
class |
LessEqualFilterSpec |
class |
NotFilterSpec |
class |
SubstringFilterSpec |
| Modifier and Type | Method and Description |
|---|---|
static FilterSpec |
FilterSpec.all()
Create a filter which matches everything.
|
static FilterSpec |
FilterSpec.all(Collection<FilterSpec> specs)
Create a filter which matches all of the given sub-filters.
|
static FilterSpec |
FilterSpec.all(FilterSpec... specs)
Create a filter which matches all of the given sub-filters.
|
static FilterSpec |
FilterSpec.any(Collection<FilterSpec> specs)
Create a filter which matches any of the given sub-filters.
|
static FilterSpec |
FilterSpec.any(FilterSpec... specs)
Create a filter which matches any of the given sub-filters.
|
static FilterSpec |
FilterSpec.approx(String attribute,
String value)
Create a filter specification which approximately matches one attribute value.
|
static FilterSpec |
FilterSpec.equal(String attribute,
byte[] value)
Create a filter specification which matches one attribute value.
|
static FilterSpec |
FilterSpec.equal(String attribute,
String value)
Create a filter specification which matches one attribute value.
|
static FilterSpec |
FilterSpec.fromString(String string)
Create a new filter from a string.
|
FilterSpec |
NotFilterSpec.getChild()
Get the child (inverted) filter spec.
|
FilterSpec |
ServiceDescription.getFilterSpec()
Get the filter specification.
|
static FilterSpec |
FilterSpec.greaterOrEqual(String attribute,
byte[] value)
Create a filter specification which matches when the given attribute's value is lexicographically greater than or
equal to the given value.
|
static FilterSpec |
FilterSpec.greaterOrEqual(String attribute,
String value)
Create a filter specification which matches when the given attribute's value is lexicographically greater than or
equal to the given value.
|
static FilterSpec |
FilterSpec.hasAttribute(String attribute)
Create a filter specification which matches when the given attribute is present.
|
static FilterSpec |
FilterSpec.lessOrEqual(String attribute,
byte[] value)
Create a filter specification which matches when the given attribute's value is lexicographically less than or
equal to the given value.
|
static FilterSpec |
FilterSpec.lessOrEqual(String attribute,
String value)
Create a filter specification which matches when the given attribute's value is lexicographically less than or
equal to the given value.
|
static FilterSpec |
FilterSpec.none()
Create a filter which matches nothing.
|
static FilterSpec |
FilterSpec.not(FilterSpec spec)
Create a filter which matches the inverse of the given filter.
|
static FilterSpec |
FilterSpec.substringMatch(String attribute,
String initialPart,
String finalPart)
Create a filter specification which matches a leading or trailing (or both) substring of one attribute value.
|
| Modifier and Type | Method and Description |
|---|---|
ListIterator<FilterSpec> |
AllFilterSpec.iterator() |
ListIterator<FilterSpec> |
AnyFilterSpec.iterator() |
| Modifier and Type | Method and Description |
|---|---|
static FilterSpec |
FilterSpec.all(FilterSpec... specs)
Create a filter which matches all of the given sub-filters.
|
static FilterSpec |
FilterSpec.any(FilterSpec... specs)
Create a filter which matches any of the given sub-filters.
|
ServicesQueue |
Discovery.discover(ServiceType serviceType,
FilterSpec filterSpec)
Perform a service discovery.
|
boolean |
SubstringFilterSpec.equals(FilterSpec other) |
boolean |
HasFilterSpec.equals(FilterSpec other) |
boolean |
AllFilterSpec.equals(FilterSpec obj) |
boolean |
NotFilterSpec.equals(FilterSpec other) |
boolean |
GreaterEqualFilterSpec.equals(FilterSpec other) |
boolean |
AnyFilterSpec.equals(FilterSpec obj) |
boolean |
LessEqualFilterSpec.equals(FilterSpec other) |
boolean |
BooleanFilterSpec.equals(FilterSpec other) |
boolean |
EqualsFilterSpec.equals(FilterSpec other) |
abstract boolean |
FilterSpec.equals(FilterSpec other) |
default R |
FilterSpec.Visitor.handle(FilterSpec filterSpec,
P parameter)
Handle any otherwise-unmatched filter specification type.
|
static FilterSpec |
FilterSpec.not(FilterSpec spec)
Create a filter which matches the inverse of the given filter.
|
boolean |
ServiceURL.satisfies(FilterSpec filterSpec)
Determine whether this service URL satisfies the given filter specification.
|
| Modifier and Type | Method and Description |
|---|---|
static FilterSpec |
FilterSpec.all(Collection<FilterSpec> specs)
Create a filter which matches all of the given sub-filters.
|
static FilterSpec |
FilterSpec.any(Collection<FilterSpec> specs)
Create a filter which matches any of the given sub-filters.
|
| Constructor and Description |
|---|
ServiceDescription(ServiceType serviceType,
FilterSpec filterSpec)
Construct a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
DiscoveryRequest |
LocalRegistryAndDiscoveryProvider.discover(ServiceType serviceType,
FilterSpec filterSpec,
DiscoveryResult result) |
DiscoveryRequest |
AggregateDiscoveryProvider.discover(ServiceType serviceType,
FilterSpec filterSpec,
DiscoveryResult result) |
DiscoveryRequest |
MutableDiscoveryProvider.discover(ServiceType serviceType,
FilterSpec filterSpec,
DiscoveryResult result) |
DiscoveryRequest |
StaticDiscoveryProvider.discover(ServiceType serviceType,
FilterSpec filterSpec,
DiscoveryResult result) |
| Modifier and Type | Method and Description |
|---|---|
DiscoveryRequest |
DiscoveryProvider.discover(ServiceType serviceType,
FilterSpec filterSpec,
DiscoveryResult result)
Attempt to discover implementations of a service.
|
void |
BlockingDiscoveryProvider.discover(ServiceType serviceType,
FilterSpec filterSpec,
DiscoveryResult result)
Attempt to discover implementations of a service synchronously.
|
Copyright © 2018 JBoss by Red Hat. All rights reserved.