use of org.apache.camel.impl.JndiRegistry in project camel by apache.
the class BeanMethodWithEmptyParameterAndNoMethodWithNoParameterIssueTest method createRegistry.
@Override
protected JndiRegistry createRegistry() throws Exception {
JndiRegistry jndi = super.createRegistry();
jndi.bind("myBean", new MyBean());
jndi.bind("myOtherBean", new MyOtherBean());
return jndi;
}
use of org.apache.camel.impl.JndiRegistry in project camel by apache.
the class BeanLifecycleTest method createRegistry.
@Override
protected JndiRegistry createRegistry() throws Exception {
JndiRegistry jndi = super.createRegistry();
jndi.bind("statefulInstanceInRegistry", statefulInstanceInRegistry);
jndi.bind("statefulInstanceInRegistryNoCache", statefulInstanceInRegistryNoCache);
return jndi;
}
use of org.apache.camel.impl.JndiRegistry in project camel by apache.
the class BeanInfoSelectMethodTest method createRegistry.
@Override
protected JndiRegistry createRegistry() throws Exception {
JndiRegistry jndi = super.createRegistry();
jndi.bind("foo", new MyFooBean());
return jndi;
}
use of org.apache.camel.impl.JndiRegistry in project camel by apache.
the class FileBeginFailureOneTimeTest method createRegistry.
@Override
protected JndiRegistry createRegistry() throws Exception {
JndiRegistry jndi = super.createRegistry();
jndi.bind("myStrategy", myStrategy);
return jndi;
}
use of org.apache.camel.impl.JndiRegistry in project camel by apache.
the class FileConsumerMoveExpressionTest method createRegistry.
@Override
protected JndiRegistry createRegistry() throws Exception {
JndiRegistry jndi = super.createRegistry();
jndi.bind("myguidgenerator", new MyGuidGenerator());
return jndi;
}
Aggregations