code: public static boolean findPackageInfoinDirectory(File file) {
  		if(file.getName().equals("package-info.class")) {
  			FileInputStream stream = null;
  			try {
  				stream = new FileInputStream (file);
  				if(findSipApplicationAnnotation(stream)) return true;
  			} catch (Exception e) {}
  			finally {
  				try {
  					stream.close();
  				} catch (IOException e) {
  				}
  			}
  		}
  		if(file.isDirectory()) {
  			for(File subFile:file.listFiles()) {
  				if(findPackageInfoinDirectory(subFile)) return true;
  			}
  		}
  		return false;
  	}
docs: Determine if there is a sip application in this folder.
  
  TODO: HACK: FIXME: This method reads raw class file trying to determine if it
  uses the SIpApplication annotation. This seems to be reliable and a lot faster
  than using a classloader, but can be reviewed in the future especially when
  JBoss AS 5.0 is available with the new deployer.