class MethodSourceSupport
extends java.lang.Object
MethodSource
from URI
.MethodSource
,
MethodSelector
Modifier and Type | Field and Description |
---|---|
(package private) static java.lang.String |
METHOD_SCHEME |
Constructor and Description |
---|
MethodSourceSupport() |
Modifier and Type | Method and Description |
---|---|
(package private) static MethodSource |
from(java.net.URI uri)
Create a new
MethodSource from the supplied URI . |
static final java.lang.String METHOD_SCHEME
static MethodSource from(java.net.URI uri)
MethodSource
from the supplied URI
.
The supplied URI
should be of the form method:<FQMN>
where FQMN is the fully qualified method name. See
DiscoverySelectors.selectMethod(String)
for the supported formats.
scheme-specific part
component of the URI
will be used as fully qualified class name.
The fragment component of the URI
will be used to retrieve the method name and method parameter types.uri
- the URI
for the method; never null
MethodSource
; never null
METHOD_SCHEME
,
DiscoverySelectors.selectMethod(String)