Class Configurable
- java.lang.Object
-
- org.apache.activemq.artemis.cli.commands.ActionAbstract
-
- org.apache.activemq.artemis.cli.commands.Configurable
-
- Direct Known Subclasses:
DataAbstract,Kill,Stop
public abstract class Configurable extends ActionAbstract
Abstract class where we can replace the configuration in various places *
-
-
Field Summary
-
Fields inherited from class org.apache.activemq.artemis.cli.commands.ActionAbstract
DEFAULT_BROKER_ACCEPTOR, DEFAULT_BROKER_URL, verbose
-
-
Constructor Summary
Constructors Constructor Description Configurable()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected BrokerDTOgetBrokerDTO()protected StringgetConfiguration()protected org.apache.activemq.artemis.core.config.impl.FileConfigurationgetFileConfiguration()protected StringgetManagementConfiguration()protected ManagementContextDTOgetManagementDTO()protected org.apache.activemq.artemis.core.config.impl.FileConfigurationreadConfiguration()protected voidtreatError(Exception e, String group, String command)-
Methods inherited from class org.apache.activemq.artemis.cli.commands.ActionAbstract
done, execute, getActionContext, getBrokerConfiguration, getBrokerEtc, getBrokerHome, getBrokerInstance, getBrokerURIInstance, getBrokerURLInstance, isVerbose, run, setHomeValues
-
-
-
-
Method Detail
-
getFileConfiguration
protected org.apache.activemq.artemis.core.config.impl.FileConfiguration getFileConfiguration() throws Exception- Throws:
Exception
-
readConfiguration
protected org.apache.activemq.artemis.core.config.impl.FileConfiguration readConfiguration() throws Exception- Throws:
Exception
-
getManagementDTO
protected ManagementContextDTO getManagementDTO() throws Exception
- Throws:
Exception
-
getConfiguration
protected String getConfiguration()
-
getManagementConfiguration
protected String getManagementConfiguration()
-
-