transactions/src/main/java/org/jboss/as/txn/subsystem/CMResourceAdd.java
@Override
    protected void populateModel(ModelNode operation, ModelNode model) throws OperationFailedException {
        String str = PathAddress.pathAddress(operation.get(OP_ADDR)).getLastElement().getValue();
        if (!str.startsWith("java:/") && !str.startsWith("java:jboss/")) {
            throw ROOT_LOGGER.jndiNameInvalidFormat();
        }


        CMResourceResourceDefinition.CM_TABLE_NAME.validateAndSet(operation, model);
        CMResourceResourceDefinition.CM_TABLE_BATCH_SIZE.validateAndSet(operation, model);
        CMResourceResourceDefinition.CM_TABLE_IMMEDIATE_CLEANUP.validateAndSet(operation, model);
    }
@Override
    protected void populateModel(ModelNode operation, ModelNode model) throws OperationFailedException {
        String str = PathAddress.pathAddress(operation.get(OP_ADDR)).getLastElement().getValue();
        if (!str.startsWith("java:/") && !str.startsWith("java:jboss/")) {
            throw ROOT_LOGGER.jndiNameInvalidFormat();
        }


        CMResourceResourceDefinition.CM_TABLE_NAME.validateAndSet(operation, model);
        CMResourceResourceDefinition.CM_TABLE_BATCH_SIZE.validateAndSet(operation, model);
        CMResourceResourceDefinition.CM_TABLE_IMMEDIATE_CLEANUP.validateAndSet(operation, model);
    }
@ Override protected void populateModel ( ModelNode operation , ModelNode model ) throws OperationFailedException { String str = PathAddress . pathAddress ( operation . get ( OP_ADDR ) ) . getLastElement ( ) . getValue ( ) ; if ( ! str . startsWith ( "java:/" ) && ! str . startsWith ( "java:jboss/" ) ) { throw ROOT_LOGGER . jndiNameInvalidFormat ( ) ; } CMResourceResourceDefinition . CM_TABLE_NAME . validateAndSet ( operation , model ) ; CMResourceResourceDefinition . CM_TABLE_BATCH_SIZE . validateAndSet ( operation , model ) ; CMResourceResourceDefinition . CM_TABLE_IMMEDIATE_CLEANUP . validateAndSet ( operation , model ) ; }
{@inheritDoc}
{