Class TCPServerLocatorSchema
- java.lang.Object
-
- org.apache.activemq.artemis.utils.uri.URISchema<ServerLocator,String>
-
- org.apache.activemq.artemis.uri.schema.serverLocator.AbstractServerLocatorSchema
-
- org.apache.activemq.artemis.uri.schema.serverLocator.TCPServerLocatorSchema
-
public class TCPServerLocatorSchema extends AbstractServerLocatorSchema
-
-
Constructor Summary
Constructors Constructor Description TCPServerLocatorSchema()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetSchemaName()static URIgetURI(String query, TransportConfiguration[] staticConnectors)protected ServerLocatorinternalNewObject(URI uri, Map<String,String> query, String name)protected URIinternalNewURI(ServerLocator bean)This is the default implementation.-
Methods inherited from class org.apache.activemq.artemis.uri.schema.serverLocator.AbstractServerLocatorSchema
newConnectionOptions
-
Methods inherited from class org.apache.activemq.artemis.utils.uri.URISchema
getDefaultURI, getFactory, getHost, getPort, internalPopulateObject, newObject, newObject, newURI, parseQuery, populateObject, printQuery
-
-
-
-
Method Detail
-
getSchemaName
public String getSchemaName()
- Specified by:
getSchemaNamein classURISchema<ServerLocator,String>
-
internalNewObject
protected ServerLocator internalNewObject(URI uri, Map<String,String> query, String name) throws Exception
- Specified by:
internalNewObjectin classURISchema<ServerLocator,String>- Throws:
Exception
-
internalNewURI
protected URI internalNewURI(ServerLocator bean) throws Exception
Description copied from class:URISchemaThis is the default implementation. Sub classes are should provide a proper implementation for their schemas.- Overrides:
internalNewURIin classURISchema<ServerLocator,String>- Throws:
Exception
-
getURI
public static URI getURI(String query, TransportConfiguration[] staticConnectors) throws Exception
- Throws:
Exception
-
-