registration.registerOperationHandler(GenericSubsystemDescribeHandler.DEFINITION, GenericSubsystemDescribeHandler.INSTANCE);
// Create the path resolver handlers
if (context.getProcessType().isServer()) {
// It's less than ideal to create a separate operation here, but this extension contains two relative-to attributes
final ResolvePathHandler objectStorePathHandler = ResolvePathHandler.Builder.of(RESOLVE_OBJECT_STORE_PATH, context.getPathManager())
.setPathAttribute(TransactionSubsystemRootResourceDefinition.OBJECT_STORE_PATH)
.setRelativeToAttribute(TransactionSubsystemRootResourceDefinition.OBJECT_STORE_RELATIVE_TO)
.build();
registration.registerOperationHandler(objectStorePathHandler.getOperationDefinition(), objectStorePathHandler);
final ResolvePathHandler resolvePathHandler = ResolvePathHandler.Builder.of(context.getPathManager())
.setPathAttribute(TransactionSubsystemRootResourceDefinition.PATH)
.setRelativeToAttribute(TransactionSubsystemRootResourceDefinition.RELATIVE_TO)
.setDeprecated(ModelVersion.create(1,4))
.build();
registration.registerOperationHandler(resolvePathHandler.getOperationDefinition(), resolvePathHandler);
}
ManagementResourceRegistration logStoreChild = registration.registerSubModel(new LogStoreDefinition(resource, registerRuntimeOnly));
if (registerRuntimeOnly) {