Interface Deployable
- All Known Implementing Classes:
FileConfiguration,FileJMSConfiguration,LegacyJMSConfiguration
public interface Deployable
A Deployable is an object that can be configured via an xml configuration element in the main configuration file
"broker.xml" It holds all the information needed by the FileDeploymentManager to parse the configuration and build
the component
-
Method Summary
Modifier and TypeMethodDescriptionvoidbuildService(ActiveMQSecurityManager securityManager, MBeanServer mBeanServer, Map<String, Deployable> deployables, Map<String, ActiveMQComponent> components, ActivateCallback activateCallback) builds the service.The name of the root xml element for this Deployable, i.e. core or jmsThe schema that should be used to validate the xmlbooleanisParsed()has this Deployable been parsedvoidparse the element from the xml configuration
-
Method Details
-
parse
parse the element from the xml configuration- Throws:
Exception
-
isParsed
boolean isParsed()has this Deployable been parsed -
getRootElement
String getRootElement()The name of the root xml element for this Deployable, i.e. core or jms -
getSchema
String getSchema()The schema that should be used to validate the xml -
buildService
void buildService(ActiveMQSecurityManager securityManager, MBeanServer mBeanServer, Map<String, Deployable> deployables, Map<String, throws ExceptionActiveMQComponent> components, ActivateCallback activateCallback) builds the service. The implementation should add a component to the components map passed in if it needs to.- Throws:
Exception
-