use of org.apache.camel.util.jndi.JndiContext in project camel by apache.
the class BeanWithXPathInjectionUsingResultTypeTest method createJndiContext.
@Override
protected Context createJndiContext() throws Exception {
JndiContext answer = new JndiContext();
answer.bind("myBean", myBean);
return answer;
}
use of org.apache.camel.util.jndi.JndiContext in project camel by apache.
the class BodyAnnotationToDisambiguateMethodsTest method createJndiContext.
@Override
protected Context createJndiContext() throws Exception {
JndiContext answer = new JndiContext();
answer.bind("myBean", myBean);
return answer;
}
use of org.apache.camel.util.jndi.JndiContext in project camel by apache.
the class ExpressionAnnotationToDisambiguateMethodsTest method createJndiContext.
@Override
protected Context createJndiContext() throws Exception {
JndiContext answer = new JndiContext();
answer.bind("myBean", myBean);
answer.bind("myOtherBean", myOtherBean);
return answer;
}
use of org.apache.camel.util.jndi.JndiContext in project camel by apache.
the class NewInstanceTest method createJndiContext.
@Override
protected Context createJndiContext() throws Exception {
jndiContext = new JndiContext();
jndiContext.bind("myBean", new MyBean());
return jndiContext;
}
use of org.apache.camel.util.jndi.JndiContext in project camel by apache.
the class BeanOgnMethodWithXPathInjectionTest method createJndiContext.
@Override
protected Context createJndiContext() throws Exception {
JndiContext answer = new JndiContext();
answer.bind("myBean", myBean);
answer.bind("myOtherBean", myOtherBean);
return answer;
}
Aggregations