|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.remoting.util.ServiceURI
public final class ServiceURI
A parser for JBoss Remoting URI types.
Field Summary | |
---|---|
static String |
SCHEME
|
Method Summary | |
---|---|
static URI |
create(String serviceType,
String groupName,
String endpointName)
Create a Remoting service URI. |
static String |
getEndpointName(URI uri)
Get the endpoint name from a Remoting service URI. |
static String |
getGroupName(URI uri)
Get the group name from a Remoting service URI. |
static String |
getServiceType(URI uri)
Get the service type from a Remoting service URI. |
static boolean |
isRemotingServiceUri(URI uri)
Determine if this URI is a valid Remoting service URI. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String SCHEME
Method Detail |
---|
public static boolean isRemotingServiceUri(URI uri)
uri
- the URI
true
if the given URI is a valid Remoting service URIpublic static String getServiceType(URI uri) throws IllegalArgumentException
uri
- the URI
IllegalArgumentException
- if the given URI is not for a remoting servicepublic static String getGroupName(URI uri) throws IllegalArgumentException
uri
- the URI
IllegalArgumentException
- if the given URI is not for a remoting servicepublic static String getEndpointName(URI uri) throws IllegalArgumentException
uri
- the URI
IllegalArgumentException
- if the given URI is not for a remoting servicepublic static URI create(String serviceType, String groupName, String endpointName)
serviceType
- the service type, if anygroupName
- the group name, if anyendpointName
- the endpoint name, if any
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |