camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Quinn Stevenson <qu...@pronoia-solutions.com>
Subject Re: Searching analog of getBean (Spring) in Blueprint
Date Tue, 04 Apr 2017 15:00:41 GMT
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 <DmitrenkoNA@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.


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message