Package org.sc.meta

Examples of org.sc.meta.EndpointMetadata


    }
    if (!found)
      throw new NoEndpointFoundException(
        FileEndpointResolverStrings.format("notfound","No endpoint found for service \"{0}\" in endpoint file \"{1}\"",serviceName,endpointFileURL)
        );
    return new EndpointMetadata(new ServiceMetadata(serviceName,serviceName),endpoint);
  }
View Full Code Here


   */
  public Iterator<EndpointMetadata> resolveAll(String serviceName)
    throws EndpointResolverException
  {
    // There can be only one!
    EndpointMetadata endpoint=resolve(serviceName);
    ArrayList<EndpointMetadata> epFound=new ArrayList<EndpointMetadata>(1);
    epFound.add(endpoint);
    return epFound.iterator();
  }
View Full Code Here

   */
  protected Map<String,SoftReference<EndpointMetadata>> cache=new HashMap<String,SoftReference<EndpointMetadata>>();
 
  public EndpointMetadata get(String serviceName)
  {
    EndpointMetadata ep=null;
    SoftReference<EndpointMetadata> epr=cache.get(serviceName);
    if (epr==null)
      ep=null;
    else
    {
View Full Code Here

      EndpointResolver r=EndpointResolverFactory.getResolver();
      if (!opt.isGetAll)
      {
        try
        {
          EndpointMetadata ep=r.resolve(serviceName);
          out(ep);
          ret=0;
        }
        catch (NoEndpointFoundException e)
        {
View Full Code Here

TOP

Related Classes of org.sc.meta.EndpointMetadata

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.