Package com.dbxml.labrador.objects

Examples of com.dbxml.labrador.objects.ObjectInstance


    try {
      Container c = col.getContainer(tx, docName);

      if ( c != null ) {
        ContentProxy dp = new ContentProxy(col, docName);
        return new ObjectInstance(dp);
      }
      else
        throw new DBException(FaultCodes.COL_CANNOT_RETRIEVE, "Container '"+docName+"' not found");
    }
    catch ( DBException e ) {
View Full Code Here


  public Instance getInstance(ID id) {
    return getObjectInstance(id);
  }

   public Discovery getDiscovery(ID id) {
    ObjectInstance instance = getObjectInstance(id);
    if ( instance != null )
        return instance.getDiscovery();
    else
      return null;
   }
View Full Code Here

      String docName = components[1];

    AliasInfo info = (AliasInfo)aliases.get(aliasName);
    if ( info != null ) {
      Object instance = new HTTPProxyInstance(info.getURI()+docName, info.getHeaders());
      return new ObjectInstance(instance);
    }
    else
      return null;
   }
View Full Code Here

TOP

Related Classes of com.dbxml.labrador.objects.ObjectInstance

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.