private ReplicationMasterDefinition(PathElement path, boolean allowSibling) {
   super(
       path,
       MessagingExtension.getResourceDescriptionResolver(HA_POLICY),
       createAddOperation(path.getKey(), allowSibling, ATTRIBUTES),
       ReloadRequiredRemoveStepHandler.INSTANCE);
 }
 private ConnectorServiceDefinition() {
   super(
       MessagingExtension.CONNECTOR_SERVICE_PATH,
       MessagingExtension.getResourceDescriptionResolver(
           false, CommonAttributes.CONNECTOR_SERVICE),
       new ConnectorServiceAddHandler(ATTRIBUTES),
       new ActiveMQReloadRequiredHandlers.RemoveStepHandler());
 }
Example #3
0
 private QueueDefinition(final boolean runtimeOnly, final PathElement path) {
   super(
       path,
       MessagingExtension.getResourceDescriptionResolver(CommonAttributes.QUEUE),
       runtimeOnly ? null : QueueAdd.INSTANCE,
       runtimeOnly ? null : QueueRemove.INSTANCE,
       runtimeOnly);
   this.runtimeOnly = runtimeOnly;
 }