You get it from the Blueprint Container (  
https://osgi.org/javadoc/r4v42/org/osgi/service/blueprint/container/BlueprintContainer.html#getComponentInstance(java.lang.String)
 
<https://osgi.org/javadoc/r4v42/org/osgi/service/blueprint/container/BlueprintContainer.html#getComponentInstance(java.lang.String)>
 )




> On Mar 31, 2017, at 6:19 AM, Nick Dmnick <dmitrenk...@skblab.ru> wrote:
> 
> Hello, Camel community. 
> 
> What is an analog of Spring' getBean method in Blueprint? Can't find in
> google. 
> 
> What I use now in Spring:
> 
> private ApplicationContext appContext;
> ITProfixLogger sli= (ITProfixLogger) appContext.getBean("logW");
> 
> What I need: convert it in Blueprint.
> 
> 
> 
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/Searching-analog-of-getBean-Spring-in-Blueprint-tp5796781.html
> Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to