protected static ModelNode getTransportGetPropertyOperation(String stackName, String type, String propertyName) { return Operations.createMapGetOperation(getTransportAddress(stackName, type), AbstractProtocolResourceDefinition.Attribute.PROPERTIES, propertyName); }
protected static ModelNode getProtocolGetPropertyOperation(String stackName, String protocolName, String propertyName) { return Operations.createMapGetOperation(getProtocolAddress(stackName, protocolName), AbstractProtocolResourceDefinition.Attribute.PROPERTIES, propertyName); }
@Override public void execute(OperationContext context, ModelNode operation) { operationDeprecated(context, operation); PathAddress storeAddress = context.getCurrentAddress().getParent(); String key = context.getCurrentAddressValue(); ModelNode getOperation = Operations.createMapGetOperation(storeAddress, StoreResourceDefinition.Attribute.PROPERTIES, key); context.addStep(getOperation, MapOperations.MAP_GET_HANDLER, context.getCurrentStage()); } };
@Override public void execute(OperationContext context, ModelNode operation) { operationDeprecated(context, operation); PathAddress protocolAddress = context.getCurrentAddress().getParent(); String key = context.getCurrentAddressValue(); ModelNode getOperation = Operations.createMapGetOperation(protocolAddress, AbstractProtocolResourceDefinition.Attribute.PROPERTIES, key); context.addStep(getOperation, MapOperations.MAP_GET_HANDLER, context.getCurrentStage()); } };
@Override public void execute(OperationContext context, ModelNode operation) { operationDeprecated(context, operation); PathAddress storeAddress = context.getCurrentAddress().getParent(); String key = context.getCurrentAddressValue(); ModelNode getOperation = Operations.createMapGetOperation(storeAddress, StoreResourceDefinition.Attribute.PROPERTIES, key); context.addStep(getOperation, MapOperations.MAP_GET_HANDLER, context.getCurrentStage()); } };
@Override public void execute(OperationContext context, ModelNode operation) { operationDeprecated(context, operation); PathAddress protocolAddress = context.getCurrentAddress().getParent(); String key = context.getCurrentAddressValue(); ModelNode getOperation = Operations.createMapGetOperation(protocolAddress, AbstractProtocolResourceDefinition.Attribute.PROPERTIES, key); context.addStep(getOperation, MapOperations.MAP_GET_HANDLER, context.getCurrentStage()); } };