Package com.google.opengse.configuration.impl

Examples of com.google.opengse.configuration.impl.MutableWebAppConfiguration


    private WebappServlet() throws NoSuchMethodException {
      creator = new WebAppServletCreator();
    }

    public void parse(Object context, Node webappSubnode) throws SAXException {
      MutableWebAppConfiguration webapp = (MutableWebAppConfiguration) context;
      WebAppServlet servlet = (WebAppServlet) creator.create(webappSubnode);
      if (servlet != null) {
        webapp.addServlet(servlet);
      }
    }
View Full Code Here


    private WebappFilter() throws NoSuchMethodException {
      creator = new WebAppFilterCreator();
    }

    public void parse(Object context, Node webappSubnode) throws SAXException {
      MutableWebAppConfiguration webapp = (MutableWebAppConfiguration) context;
      WebAppFilter filter = (WebAppFilter) creator.create(webappSubnode);
      if (filter != null) {
        webapp.addFilter(filter);
      }
    }
View Full Code Here

    ContextParamParser() throws NoSuchMethodException {
      creator = new WebAppContextParamCreator();
    }

    public void parse(Object context, Node webappSubnode) throws SAXException {
      MutableWebAppConfiguration webapp = (MutableWebAppConfiguration) context;
      WebAppContextParam contextParam
          = (WebAppContextParam) creator.create(webappSubnode);
      if (contextParam != null) {
        webapp.addContextParam(contextParam);
      }
    }
View Full Code Here

    SecurityConstraintParser() throws NoSuchMethodException {
      creator = new SecurityConstraintCreator();
    }

    public void parse(Object context, Node webappSubnode) throws SAXException {
      MutableWebAppConfiguration webapp = (MutableWebAppConfiguration) context;
      WebAppSecurityConstraint securityConstraint
          = (WebAppSecurityConstraint) creator.create(webappSubnode);
      if (securityConstraint != null) {
        webapp.addSecurityConstraint(securityConstraint);
      }
    }
View Full Code Here

    SecurityRoleParser() throws NoSuchMethodException {
      creator = new SecurityRoleCreator();
    }

    public void parse(Object context, Node webappSubnode) throws SAXException {
      MutableWebAppConfiguration webapp = (MutableWebAppConfiguration) context;
      WebAppSecurityRole securityRole
          = (WebAppSecurityRole) creator.create(webappSubnode);
      if (securityRole != null) {
        webapp.addSecurityRole(securityRole);
      }
    }
View Full Code Here

TOP

Related Classes of com.google.opengse.configuration.impl.MutableWebAppConfiguration

Copyright © 2018 www.massapicom. 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.