|
Apache CXF API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.cxf.transport.jms.uri.JMSEndpointParser
public final class JMSEndpointParser
Method Summary | |
---|---|
protected static String |
convertPathToActualDestination(String path)
A strategy method allowing the URI destination to be translated into the actual JMS destination name (say by looking up in JNDI or something) |
static JMSEndpoint |
createEndpoint(String uri)
|
protected static JMSEndpoint |
createEndpoint(String uri,
String remaining)
A factory method allowing derived components to create a new endpoint from the given URI, remaining path and optional parameters |
static JMSURIConstants |
getConfiguration()
|
static String |
removeStartingCharacters(String text,
char ch)
Removes any starting characters on the given text which match the given character |
protected static void |
validateURI(String uri,
String path,
Map parameters)
Strategy for validation of the uri when creating the endpoint. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static JMSEndpoint createEndpoint(String uri) throws Exception
Exception
protected static void validateURI(String uri, String path, Map parameters) throws ResolveEndpointFailedException
uri
- the uri - the uri the end user provided untouchedpath
- the path - part after the schemeparameters
- the parameters, an empty map if no parameters given
ResolveEndpointFailedException
- should be thrown if the URI validation failedprotected static JMSEndpoint createEndpoint(String uri, String remaining) throws Exception
uri
- the full URI of the endpointremaining
- the remaining part of the URI without the query parameters or component prefixparameters
- the optional parameters passed in
Exception
protected static String convertPathToActualDestination(String path)
public static JMSURIConstants getConfiguration()
public static String removeStartingCharacters(String text, char ch)
text
- the stringch
- the initial characters to remove
|
Apache CXF API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |