Examples of RuntimeDescriptor


Examples of com.sun.enterprise.deployment.runtime.RuntimeDescriptor

     * @param value the attribute value
     * @return true if the attribute was processed
     */
    @Override
    protected boolean setAttributeValue(XMLElement elementName, XMLElement attributeName, String value) {
  RuntimeDescriptor descriptor = getDescriptor();
  if (attributeName.getQName().equals(RuntimeTagNames.NAME)) {
      descriptor.setAttributeValue(CacheHelper.NAME, value);
      return true;
  } else
  if (attributeName.getQName().equals(RuntimeTagNames.CLASS_NAME)) {
      descriptor.setAttributeValue(CacheHelper.CLASS_NAME, value);
      return true;
 
  return false;
    }
View Full Code Here

Examples of com.sun.enterprise.deployment.runtime.RuntimeDescriptor

     * @param value the attribute value
     * @return true if the attribute was processed
     */
    @Override
    protected boolean setAttributeValue(XMLElement elementName, XMLElement attributeName, String value) {
        RuntimeDescriptor descriptor =
            (RuntimeDescriptor) getDescriptor();
        if (attributeName.getQName().equals(RuntimeTagNames.NAME)) {
            descriptor.setAttributeValue(WebProperty.NAME, value);
            return true;
        } else if (attributeName.getQName().equals(RuntimeTagNames.VALUE)) {
            descriptor.setAttributeValue(WebProperty.VALUE, value);
            return true;
        }
        return false;
    }
View Full Code Here

Examples of com.sun.enterprise.deployment.runtime.RuntimeDescriptor

     * @param value the attribute value
     * @return true if the attribute was processed
     */
    @Override
    protected boolean setAttributeValue(XMLElement elementName, XMLElement attributeName, String value) {
  RuntimeDescriptor descriptor = getDescriptor();
  if (attributeName.getQName().equals(RuntimeTagNames.MAX_ENTRIES)) {
      descriptor.setAttributeValue(Cache.MAX_ENTRIES, value);
      return true;   
  } else
  if (attributeName.getQName().equals(RuntimeTagNames.TIMEOUT_IN_SECONDS)) {
      descriptor.setAttributeValue(Cache.TIMEOUT_IN_SECONDS, value);
      return true;   
  } else
  if (attributeName.getQName().equals(RuntimeTagNames.ENABLED)) {
      descriptor.setAttributeValue(Cache.ENABLED, value);
      return true;   
  } else
  return false;
    }
View Full Code Here

Examples of com.sun.enterprise.deployment.runtime.RuntimeDescriptor

     * @param value the attribute value
     * @return true if the attribute was processed
     */
    @Override
    protected boolean setAttributeValue(XMLElement elementName, XMLElement attributeName, String value) {
        RuntimeDescriptor descriptor = getDescriptor();
        if (attributeName.getQName().equals(RuntimeTagNames.NAME)) {
            descriptor.setAttributeValue(DefaultHelper.NAME, value);
            return true;
        }
        return false;
    }
View Full Code Here

Examples of com.sun.enterprise.deployment.runtime.RuntimeDescriptor

     * @param value the attribute value
     * @return true if the attribute was processed
     */
    @Override
    protected boolean setAttributeValue(XMLElement elementName, XMLElement attributeName, String value) {
  RuntimeDescriptor descriptor = getDescriptor();
  if (attributeName.getQName().equals(RuntimeTagNames.MAX_ENTRIES)) {
      descriptor.setAttributeValue(Cache.MAX_ENTRIES, value);
      return true;   
  } else
  if (attributeName.getQName().equals(RuntimeTagNames.TIMEOUT_IN_SECONDS)) {
      descriptor.setAttributeValue(Cache.TIMEOUT_IN_SECONDS, value);
      return true;   
  } else
  if (attributeName.getQName().equals(RuntimeTagNames.ENABLED)) {
      descriptor.setAttributeValue(Cache.ENABLED, value);
      return true;   
  } else
  return false;
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.