Changeset 7290


Ignore:
Timestamp:
06/08/10 10:39:18 (9 years ago)
Author:
pjkersha
Message:

Incomplete - task 12: ESG Yadis identity service discovery

Location:
TI12-security/trunk/EsgYadisParser/src/org/earthsystemgrid/security/yadis
Files:
2 moved

Legend:

Unmodified
Added
Removed
  • TI12-security/trunk/EsgYadisParser/src/org/earthsystemgrid/security/yadis/Xrds.java

    r7289 r7290  
    4545 * @author pjkershaw 
    4646 */ 
    47 public class Xrd { 
    48     private static final Log _log = LogFactory.getLog(Xrd.class); 
     47public class Xrds { 
     48    private static final Log _log = LogFactory.getLog(Xrds.class); 
    4949    private static final boolean DEBUG = _log.isDebugEnabled(); 
    5050     
     
    236236            String delegate = (String) serviceDelegates.get(serviceNode); 
    237237 
    238             XrdsService endpoint = new XrdsService(uri,  
     238            XrdsServiceElem endpoint = new XrdsServiceElem(uri,  
    239239                        typeSet, getPriority(serviceNode), getPriority(uriNode),  
    240240                        localId, delegate, canonicalId); 
     
    277277                                         
    278278        String yadisDocFilePath = "/home/pjkersha/workspace/EsgYadisParser/data/yadis.xml"; 
    279                 Xrd yadisParser = new Xrd(); 
     279                Xrds yadisParser = new Xrds(); 
    280280                StringBuffer contents = new StringBuffer(); 
    281281 
  • TI12-security/trunk/EsgYadisParser/src/org/earthsystemgrid/security/yadis/XrdsServiceElem.java

    r7289 r7290  
    1313 * @author jbufu 
    1414 */ 
    15 public class XrdsService implements Comparable { 
     15public class XrdsServiceElem implements Comparable { 
    1616 
    1717            private int servicePriority; 
     
    2424            private String canonicalId; 
    2525 
    26             public XrdsService(String uri, Set types, 
     26            public XrdsServiceElem(String uri, Set types, 
    2727                               int servicePriority, int uriPriority, String localId,  
    2828                               String delegate, String canonicalId) 
     
    9999 
    100100            public int compareTo(Object o) { 
    101                 XrdsService other = (XrdsService) o; 
     101                XrdsServiceElem other = (XrdsServiceElem) o; 
    102102 
    103103                if (servicePriority == LOWEST_PRIORITY &&  
Note: See TracChangeset for help on using the changeset viewer.