Package org.jboss.seam.remoting.wrapper

Examples of org.jboss.seam.remoting.wrapper.Wrapper


    {
      if (ref.getValue().equals(value))
        return ref;
    }

    Wrapper w = WrapperFactory.getInstance().getWrapperForObject(value);
    w.setCallContext(this);
    w.setPath(path);
    return w;
  }
View Full Code Here


    out.write(REFS_TAG_OPEN);

    // Using a for-loop, because stuff can get added to outRefs as we recurse the object graph
    for (int i = 0; i < ctx.getOutRefs().size(); i++)
    {
      Wrapper wrapper = ctx.getOutRefs().get(i);

      out.write(REF_TAG_OPEN_START);
      out.write(Integer.toString(i).getBytes());
      out.write(REF_TAG_OPEN_END);

      wrapper.serialize(out);

      out.write(REF_TAG_CLOSE);
    }

    out.write(REFS_TAG_CLOSE);
View Full Code Here

       out.write(RequestHandler.REFS_TAG_OPEN);
  
       // Using a for-loop, because stuff can get added to outRefs as we recurse the object graph
       for (int i = 0; i < call.getContext().getOutRefs().size(); i++)
       {
         Wrapper wrapper = call.getContext().getOutRefs().get(i);
  
         out.write(RequestHandler.REF_TAG_OPEN_START);
         out.write(Integer.toString(i).getBytes());
         out.write(RequestHandler.REF_TAG_OPEN_END);
  
         if (wrapper instanceof BeanWrapper && call.getConstraints() != null)
           ((BeanWrapper) wrapper).serialize(out, call.getConstraints());
         else
           wrapper.serialize(out);
  
         out.write(RequestHandler.REF_TAG_CLOSE);
       }
  
       out.write(RequestHandler.REFS_TAG_CLOSE);
View Full Code Here

TOP

Related Classes of org.jboss.seam.remoting.wrapper.Wrapper

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.