in jpa-container/src/main/java/org/apache/aries/jpa/container/parser/impl/JPAHandler.java [68:84]
public void startElement(String uri, String localName, String name, Attributes attributes)
throws SAXException {
// Do this setting first as we use it later.
elementName = (localName == null || "".equals(localName)) ? name : localName;
if ("persistence-unit".equals(elementName)) {
String tranTypeSt = attributes.getValue("transaction-type");
PersistenceUnitTransactionType tranType = tranTypeSt == null ? null : PersistenceUnitTransactionType.valueOf(tranTypeSt);
persistenceUnits.push(new PersistenceUnit(bundle,
attributes.getValue("name"),
tranType));
} else if ("exclude-unlisted-classes".equals(elementName))
persistenceUnits.peek().setExcludeUnlisted(true);
else if ("property".equals(elementName))
persistenceUnits.peek().addProperty(attributes.getValue("name"), attributes.getValue("value"));
}