use of org.apache.camel.util.jndi.JndiContext in project camel by apache.
the class BeanReturnCallableTest method createJndiContext.
protected Context createJndiContext() throws Exception {
JndiContext answer = new JndiContext();
answer.bind("myBean", new MyBean());
return answer;
}
use of org.apache.camel.util.jndi.JndiContext in project camel by apache.
the class BeanWithAnnotationAndExchangeTest method createJndiContext.
protected Context createJndiContext() throws Exception {
JndiContext answer = new JndiContext();
answer.bind("myBean", new MyBean());
return answer;
}
use of org.apache.camel.util.jndi.JndiContext in project camel by apache.
the class BeanMethodWithExchangeTest method createJndiContext.
protected Context createJndiContext() throws Exception {
JndiContext answer = new JndiContext();
answer.bind("processor", new AttachmentProcessor());
return answer;
}
use of org.apache.camel.util.jndi.JndiContext in project camel by apache.
the class BeanMethodWithMultipleParametersTest 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 SimulatorTest method createJndiContext.
protected Context createJndiContext() throws Exception {
JndiContext answer = new JndiContext();
answer.bind("foo", new MyBean("foo"));
answer.bind("bar", new MyBean("bar"));
return answer;
}
Aggregations