Package net.sourceforge.javautil.web.server.application

Examples of net.sourceforge.javautil.web.server.application.WebApplicationAuxilaryDescriptorLocation


    this.auxiliaryDescriptors.add(descriptor);
  }

  public <T> T getAuxilaryDescriptor(Class<T> type) {
    String path = null;
    WebApplicationAuxilaryDescriptorLocation waadl = type.getAnnotation(WebApplicationAuxilaryDescriptorLocation.class);
    if (waadl != null) {
      path = waadl.relativeLocation();
    } else {
      XmlTag tag = type.getAnnotation(XmlTag.class);
      if (tag != null && !"".equals(tag.name())) {
        path = "WEB-INF/" + tag.name() + ".xml";
      } else {
View Full Code Here

TOP

Related Classes of net.sourceforge.javautil.web.server.application.WebApplicationAuxilaryDescriptorLocation

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.