/** * SAX Parser API implementation, we don't really care for now. */ public void startElement(XMLElement element, Attributes attributes) { //FIXME : remove the foll line once connector stuff works properly //((ConnectionDefDescriptor)getDescriptor()).setOutBoundDefined(true); super.startElement(element, attributes); }
/** * SAX Parser API implementation, we don't really care for now. */ public void startElement(XMLElement element, Attributes attributes) { //FIXME : remove the foll line once connector stuff works properly //((ConnectionDefDescriptor)getDescriptor()).setOutBoundDefined(true); super.startElement(element, attributes); }
/** * SAX Parser API implementation, we don't really care for now. */ public void startElement(XMLElement element, Attributes attributes) { super.startElement(element, attributes); if (WebTagNames.OTHERS.equals(element.getQName())) { descriptor.addOthers(); } }
/** * SAX Parser API implementation, we don't really care for now. */ public void startElement(XMLElement element, Attributes attributes) { super.startElement(element, attributes); if (WebTagNames.OTHERS.equals(element.getQName())) { descriptor.addOthers(); } }
public void startElement(XMLElement element, Attributes attributes) { if( EjbTagNames.METHOD.equals(element.getQName()) ) { businessMethod = new MethodDescriptor(); // Assume we need overloaded method resolution until we // encounter at least one method-param element. needsOverloadResolution = true; } else if( EjbTagNames.METHOD_PARAMS.equals(element.getQName()) ) { // If there's a method-params element, regardless of whether there // are any <method-param> sub-elements, there's no overload // resolution needed. needsOverloadResolution = false; } super.startElement(element, attributes); }
/** * SAX Parser API implementation, we don't really care for now. */ @Override public void startElement(XMLElement element, Attributes attributes) { if (EjbTagNames.UNCHECKED.equals(element.getQName())) { descriptor.addMethodPermission(MethodPermission.getUncheckedMethodPermission()); } else super.startElement(element, attributes); }
/** * SAX Parser API implementation, we don't really care for now. */ public void startElement(XMLElement element, Attributes attributes) { if (EjbTagNames.UNCHECKED.equals(element.getQName())) { descriptor.addMethodPermission(MethodPermission.getUncheckedMethodPermission()); } else super.startElement(element, attributes); }
@Override public void startElement(XMLElement element, Attributes attributes) { if( EjbTagNames.METHOD.equals(element.getQName()) ) { businessMethod = new MethodDescriptor(); // Assume we need overloaded method resolution until we // encounter at least one method-param element. needsOverloadResolution = true; } else if( EjbTagNames.METHOD_PARAMS.equals(element.getQName()) ) { // If there's a method-params element, regardless of whether there // are any <method-param> sub-elements, there's no overload // resolution needed. needsOverloadResolution = false; } super.startElement(element, attributes); }
@Override public void startElement(XMLElement element, Attributes attributes) { if( EjbTagNames.USE_CALLER_IDENTITY.equals(element.getQName()) ) { ((EjbDescriptor) getParentNode().getDescriptor()). setUsesCallerIdentity(true); } else { super.startElement(element, attributes); } return; }
@Override public void startElement( XMLElement element, Attributes attributes) { if (PersistenceTagNames.PROPERTY.equals(element.getQName())) { assert(attributes.getLength() == 2); assert(attributes.getIndex(PersistenceTagNames.PROPERTY_NAME) != -1); assert(attributes.getIndex(PersistenceTagNames.PROPERTY_VALUE) != -1); PersistenceUnitDescriptor persistenceUnitDescriptor = (PersistenceUnitDescriptor) getDescriptor(); String propName = attributes.getValue( PersistenceTagNames.PROPERTY_NAME); String propValue = attributes.getValue( PersistenceTagNames.PROPERTY_VALUE); persistenceUnitDescriptor.addProperty(propName, propValue); return; } super.startElement(element, attributes); }
public void startElement(XMLElement element, Attributes attributes) { if( EjbTagNames.USE_CALLER_IDENTITY.equals(element.getQName()) ) { ((EjbDescriptor) getParentNode().getDescriptor()). setUsesCallerIdentity(true); } else { super.startElement(element, attributes); } return; }
@Override public void startElement( XMLElement element, Attributes attributes) { if (PersistenceTagNames.PROPERTY.equals(element.getQName())) { assert(attributes.getLength() == 2); assert(attributes.getIndex(PersistenceTagNames.PROPERTY_NAME) != -1); assert(attributes.getIndex(PersistenceTagNames.PROPERTY_VALUE) != -1); PersistenceUnitDescriptor persistenceUnitDescriptor = (PersistenceUnitDescriptor) getDescriptor(); String propName = attributes.getValue( PersistenceTagNames.PROPERTY_NAME); String propValue = attributes.getValue( PersistenceTagNames.PROPERTY_VALUE); persistenceUnitDescriptor.addProperty(propName, propValue); return; } super.startElement(element, attributes); }