org.apache.openejb.server.cxf.rs
Class Contexts

java.lang.Object
  extended by org.apache.openejb.server.cxf.rs.Contexts

public final class Contexts
extends Object


Method Summary
static void bind(org.apache.cxf.message.Exchange exchange)
           
static void bind(org.apache.cxf.message.Exchange exchange, Set<Class<?>> types)
          Using a set ensures we don't set the thread local twice or more, there may be super classes with injection points of identical types Also allows us to get context references from other sources such as interceptors
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

bind

public static void bind(org.apache.cxf.message.Exchange exchange)

bind

public static void bind(org.apache.cxf.message.Exchange exchange,
                        Set<Class<?>> types)
Using a set ensures we don't set the thread local twice or more, there may be super classes with injection points of identical types Also allows us to get context references from other sources such as interceptors

Parameters:
exchange -
types -


Copyright © 1999-2013 The Apache Software Foundation. All Rights Reserved.