Examples of relativeLocation()


Examples of net.sourceforge.javautil.web.server.application.WebApplicationAuxilaryDescriptorLocation.relativeLocation()

  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
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.