Class URISchema<T,P>
java.lang.Object
org.apache.activemq.artemis.utils.uri.URISchema<T,P>
- Direct Known Subclasses:
AbstractCFSchema,AbstractServerLocatorSchema,AbstractTransportConfigurationSchema,ClusterConnectionStaticSchema
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected URIprotected URIFactory<T,P> protected Stringprotected intabstract Stringprotected abstract Tprotected URIinternalNewURI(T bean) This is the default implementation.protected voidIt will create a new Object for the URI selected schema. the propertyOverrides is used to replace whatever was defined on the URL stringparseQuery(String uri, Map<String, String> propertyOverrides) voidpopulateObject(URI uri, T bean) protected StringprintQuery(Map<String, String> query)
-
Constructor Details
-
URISchema
public URISchema()
-
-
Method Details
-
getSchemaName
-
newObject
- Throws:
Exception
-
populateObject
- Throws:
Exception
-
newURI
- Throws:
Exception
-
getFactory
-
getHost
-
getDefaultURI
-
getPort
-
newObject
It will create a new Object for the URI selected schema. the propertyOverrides is used to replace whatever was defined on the URL string- Parameters:
uri- The URIpropertyOverrides- used to replace whatever was defined on the URL string- Returns:
- new Object
- Throws:
Exception- On error
-
internalNewObject
- Throws:
Exception
-
internalNewURI
This is the default implementation. Sub classes are should provide a proper implementation for their schemas.- Throws:
Exception
-
internalPopulateObject
- Throws:
Exception
-
parseQuery
-
printQuery
-