@Override
    public void registerAttributes(ManagementResourceRegistration resourceRegistration) {
        ReloadRequiredWriteAttributeHandler reloadWrtiteHandler = new ReloadRequiredWriteAttributeHandler(JNDI_NAME, CM_TABLE_NAME, CM_TABLE_BATCH_SIZE, CM_TABLE_IMMEDIATE_CLEANUP);
        resourceRegistration.registerReadWriteAttribute(CM_TABLE_NAME, null, reloadWrtiteHandler);
        resourceRegistration.registerReadWriteAttribute(CM_TABLE_BATCH_SIZE, null, reloadWrtiteHandler);
        resourceRegistration.registerReadWriteAttribute(CM_TABLE_IMMEDIATE_CLEANUP, null, reloadWrtiteHandler);

        //This comes from the address
        resourceRegistration.registerReadOnlyAttribute(JNDI_NAME, ReadResourceNameOperationStepHandler.INSTANCE);
    }
@Override
    public void registerAttributes(ManagementResourceRegistration resourceRegistration) {
        ReloadRequiredWriteAttributeHandler reloadWrtiteHandler = new ReloadRequiredWriteAttributeHandler(JNDI_NAME, CM_TABLE_NAME, CM_TABLE_BATCH_SIZE, CM_TABLE_IMMEDIATE_CLEANUP);
        resourceRegistration.registerReadWriteAttribute(CM_TABLE_NAME, null, reloadWrtiteHandler);
        resourceRegistration.registerReadWriteAttribute(CM_TABLE_BATCH_SIZE, null, reloadWrtiteHandler);
        resourceRegistration.registerReadWriteAttribute(CM_TABLE_IMMEDIATE_CLEANUP, null, reloadWrtiteHandler);

        
        resourceRegistration.registerReadOnlyAttribute(JNDI_NAME, ReadResourceNameOperationStepHandler.INSTANCE);
    }
@ Override public void registerAttributes ( ManagementResourceRegistration resourceRegistration ) { ReloadRequiredWriteAttributeHandler reloadWrtiteHandler = new ReloadRequiredWriteAttributeHandler ( JNDI_NAME , CM_TABLE_NAME , CM_TABLE_BATCH_SIZE , CM_TABLE_IMMEDIATE_CLEANUP ) ; resourceRegistration . registerReadWriteAttribute ( CM_TABLE_NAME , null , reloadWrtiteHandler ) ; resourceRegistration . registerReadWriteAttribute ( CM_TABLE_BATCH_SIZE , null , reloadWrtiteHandler ) ; resourceRegistration . registerReadWriteAttribute ( CM_TABLE_IMMEDIATE_CLEANUP , null , reloadWrtiteHandler ) ; //This comes from the address resourceRegistration . registerReadOnlyAttribute ( JNDI_NAME , ReadResourceNameOperationStepHandler . INSTANCE ) ; }
{@inheritDoc}
{