@Override public ModelNode transformOperation(ModelNode operation) { PathAddress storeAddress = Operations.getPathAddress(operation).getParent(); return Operations.createUndefineAttributeOperation(storeAddress, BinaryKeyedJDBCStoreResourceDefinition.DeprecatedAttribute.TABLE); } };
@Override public ModelNode transformOperation(ModelNode operation) { PathAddress storeAddress = Operations.getPathAddress(operation).getParent(); return Operations.createUndefineAttributeOperation(storeAddress, StringKeyedJDBCStoreResourceDefinition.DeprecatedAttribute.TABLE); } };
@Override public ModelNode transformOperation(ModelNode operation) { PathAddress storeAddress = Operations.getPathAddress(operation).getParent(); ModelNode value = new ModelNode(); for (Class<? extends org.jboss.as.clustering.controller.Attribute> attributeClass : Arrays.asList(Attribute.class, TableResourceDefinition.Attribute.class, TableResourceDefinition.ColumnAttribute.class)) { for (org.jboss.as.clustering.controller.Attribute attribute : attributeClass.getEnumConstants()) { String name = attribute.getName(); if (operation.hasDefined(name)) { value.get(name).set(operation.get(name)); } } } return value.isDefined() ? Operations.createWriteAttributeOperation(storeAddress, StringKeyedJDBCStoreResourceDefinition.DeprecatedAttribute.TABLE, value) : Operations.createUndefineAttributeOperation(storeAddress, StringKeyedJDBCStoreResourceDefinition.DeprecatedAttribute.TABLE); } };
@Override public ModelNode transformOperation(ModelNode operation) { PathAddress storeAddress = Operations.getPathAddress(operation).getParent(); ModelNode value = new ModelNode(); for (Class<? extends org.jboss.as.clustering.controller.Attribute> attributeClass : Arrays.asList(Attribute.class, TableResourceDefinition.Attribute.class, TableResourceDefinition.ColumnAttribute.class)) { for (org.jboss.as.clustering.controller.Attribute attribute : attributeClass.getEnumConstants()) { String name = attribute.getName(); if (operation.hasDefined(name)) { value.get(name).set(operation.get(name)); } } } return value.isDefined() ? Operations.createWriteAttributeOperation(storeAddress, BinaryKeyedJDBCStoreResourceDefinition.DeprecatedAttribute.TABLE, value) : Operations.createUndefineAttributeOperation(storeAddress, BinaryKeyedJDBCStoreResourceDefinition.DeprecatedAttribute.TABLE); } };
@Override public ModelNode transformOperation(ModelNode operation) { PathAddress address = Operations.getPathAddress(operation); return Operations.createCompositeOperation(operation, Operations.createUndefineAttributeOperation(cacheAddress(address), CacheResourceDefinition.DeprecatedAttribute.BATCHING)); } };
protected static ModelNode getTransportUndefinePropertiesOperation(String stackName, String type) { return Operations.createUndefineAttributeOperation(getTransportAddress(stackName, type), AbstractProtocolResourceDefinition.Attribute.PROPERTIES); }
@Override public ModelNode transformOperation(ModelNode operation) { PathAddress address = Operations.getPathAddress(operation); return Operations.createCompositeOperation(operation, Operations.createUndefineAttributeOperation(cacheAddress(address), CacheResourceDefinition.DeprecatedAttribute.BATCHING)); } };
protected static ModelNode getProtocolUndefinePropertiesOperation(String stackName, String protocolName) { return Operations.createUndefineAttributeOperation(getProtocolAddress(stackName, protocolName), AbstractProtocolResourceDefinition.Attribute.PROPERTIES); }
@Override public ModelNode transformOperation(ModelNode operation) { PathAddress storeAddress = Operations.getPathAddress(operation).getParent(); return Operations.createUndefineAttributeOperation(storeAddress, BinaryKeyedJDBCStoreResourceDefinition.DeprecatedAttribute.TABLE); } };
@Override public ModelNode transformOperation(ModelNode operation) { PathAddress storeAddress = Operations.getPathAddress(operation).getParent(); return Operations.createUndefineAttributeOperation(storeAddress, StringKeyedJDBCStoreResourceDefinition.DeprecatedAttribute.TABLE); } };
@Override public ModelNode transformOperation(ModelNode operation) { PathAddress storeAddress = Operations.getPathAddress(operation).getParent(); ModelNode value = new ModelNode(); for (Class<? extends org.jboss.as.clustering.controller.Attribute> attributeClass : Arrays.asList(Attribute.class, TableResourceDefinition.Attribute.class, TableResourceDefinition.ColumnAttribute.class)) { for (org.jboss.as.clustering.controller.Attribute attribute : attributeClass.getEnumConstants()) { String name = attribute.getName(); if (operation.hasDefined(name)) { value.get(name).set(operation.get(name)); } } } return value.isDefined() ? Operations.createWriteAttributeOperation(storeAddress, BinaryKeyedJDBCStoreResourceDefinition.DeprecatedAttribute.TABLE, value) : Operations.createUndefineAttributeOperation(storeAddress, BinaryKeyedJDBCStoreResourceDefinition.DeprecatedAttribute.TABLE); } };
@Override public ModelNode transformOperation(ModelNode operation) { PathAddress storeAddress = Operations.getPathAddress(operation).getParent(); ModelNode value = new ModelNode(); for (Class<? extends org.jboss.as.clustering.controller.Attribute> attributeClass : Arrays.asList(Attribute.class, TableResourceDefinition.Attribute.class, TableResourceDefinition.ColumnAttribute.class)) { for (org.jboss.as.clustering.controller.Attribute attribute : attributeClass.getEnumConstants()) { String name = attribute.getName(); if (operation.hasDefined(name)) { value.get(name).set(operation.get(name)); } } } return value.isDefined() ? Operations.createWriteAttributeOperation(storeAddress, StringKeyedJDBCStoreResourceDefinition.DeprecatedAttribute.TABLE, value) : Operations.createUndefineAttributeOperation(storeAddress, StringKeyedJDBCStoreResourceDefinition.DeprecatedAttribute.TABLE); } };
@Override public ModelNode transformOperation(ModelNode operation) { PathAddress address = Operations.getPathAddress(operation); return Operations.createCompositeOperation(operation, Operations.createUndefineAttributeOperation(cacheAddress(address), CacheResourceDefinition.DeprecatedAttribute.BATCHING)); } };
@Override public ModelNode transformOperation(ModelNode operation) { PathAddress address = Operations.getPathAddress(operation); return Operations.createCompositeOperation(operation, Operations.createUndefineAttributeOperation(cacheAddress(address), CacheResourceDefinition.DeprecatedAttribute.BATCHING)); } };