public class PropertiesBrokerFactory extends java.lang.Object implements BrokerFactoryHandler
BrokerFactoryHandler
which uses a properties file to configure the
broker's various policies.Constructor and Description |
---|
PropertiesBrokerFactory() |
Modifier and Type | Method and Description |
---|---|
BrokerService |
createBroker(java.net.URI brokerURI) |
protected BrokerService |
createBrokerService(java.net.URI brokerURI,
java.util.Map properties) |
protected java.io.InputStream |
findResourceOnClassPath(java.lang.String remaining) |
protected java.util.Map |
loadProperties(java.net.URI brokerURI)
Lets load the properties from some external URL or a relative file
|
public BrokerService createBroker(java.net.URI brokerURI) throws java.lang.Exception
createBroker
in interface BrokerFactoryHandler
java.lang.Exception
protected java.util.Map loadProperties(java.net.URI brokerURI) throws java.io.IOException
java.io.IOException
protected java.io.InputStream findResourceOnClassPath(java.lang.String remaining)
protected BrokerService createBrokerService(java.net.URI brokerURI, java.util.Map properties)
Copyright © 2005-2014 Red Hat, Inc.. All Rights Reserved.