protected void updateWebappMetaDataforBam(String value) {
   try {
     tomcatGenericWebappsDeployer.setPersistedWebappMetaData(
         getWebappFile().getName(), WebappsConstants.ENABLE_BAM_STATISTICS, value);
     reload();
   } catch (Exception e) {
     log.error("Unable to persist data - bam enable", e);
   }
 }
 /**
  * Reads from webappmeta files and return wether bam enabled.
  *
  * @return
  * @throws AxisFault
  * @throws ArtifactMetadataException
  */
 protected String getBamEnableFromWebappMetaData() throws AxisFault, ArtifactMetadataException {
   return tomcatGenericWebappsDeployer.recievePersistedWebappMetaData(
       getWebappFile().getName(), WebappsConstants.ENABLE_BAM_STATISTICS);
 }