protected void beforeSetCmpField ( ) throws ManagementException , InvalidStateException { if ( logger . isDebugEnabled ( ) ) { logger . debug ( "beforeSetCmpField() on profile with name " + profileName + " of table " + profileTable . getProfileTableName ( ) ) ; } if ( isProfileWriteable ( ) ) { try { sleeContainer . getTransactionManager ( ) . resume ( transaction ) ; } catch ( Throwable e ) { throw new ManagementException ( e . getMessage ( ) , e ) ; } } else { throw new InvalidStateException ( ) ; } }
Logic to execute before invoking a cmp setter method on the mbean