So the best thing is to create a special interface that are detected at the
time of initinialization bean.I can prepare a patch.
Best Regards,Sebastien
> Date: Mon, 26 Aug 2013 09:35:08 +0200
> From: [email protected]
> To: [email protected]
> Subject: Re: InitializingBean or JSR250 Support
>
> Correct, you can't mix annotations or declaration on the same bean. You
> can always use the Blueprint API directly (in a declarative way), but
> it's a good approach IMHO.
>
> Regards
> JB
>
> On 08/26/2013 09:21 AM, Sébastien Nicouleau wrote:
> > I saw annotations aries blueprint, however it is either annotations or
> > the XML file is used, but not both together. But if I use the
> > annotations, how to manage transactions blueprint, configuration
> > (config-admin)?
> >
> > Best Regards,
> > Sébastien
> >
> > > Date: Mon, 26 Aug 2013 09:17:51 +0200
> > > From: [email protected]
> > > To: [email protected]
> > > Subject: Re: InitializingBean or JSR250 Support
> > >
> > > Catcha.
> > >
> > > So you want a specific interface (InitializingBean) or an annotation.
> > > Right ?
> > >
> > > You can use the @Init (and @Destroy) annotation to flag a method as the
> > > init one.
> > >
> > > Anyway, it makes sense to provide JSR250 support (I gonna take a look on
> > > that).
> > >
> > > Regards
> > > JB
> > >
> > > On 08/26/2013 08:59 AM, Sébastien Nicouleau wrote:
> > > > I do not want to declare the EXPRESSLY blueprint.xml file. I would like
> > > > to facilitate the work of my team, making it automatically when the
> > bean
> > > > Implement a particular interface. This is what Spring does with
> > > > InitializingBean
> > > >
> > > > Best Regards
> > > >
> > > > > Date: Sun, 25 Aug 2013 21:18:01 +0200
> > > > > From: [email protected]
> > > > > To: [email protected]
> > > > > Subject: Re: InitializingBean or JSR250 Support
> > > > >
> > > > > Why not using init-method and destroy-method from Blueprint ?
> > > > >
> > > > > I think it's likely the same.
> > > > >
> > > > > Regards
> > > > > JB
> > > > >
> > > > > On 08/25/2013 02:01 PM, Sébastien Nicouleau wrote:
> > > > > > I want to try to create a patch that detects a particular interface
> > > > like
> > > > > > spring. But this is not the blueprint specification, we can add
> > in the
> > > > > > blueprint-core module?
> > > > > >
> > > > > > Best Regards
> > > > > >
> > > > > > > Date: Sun, 25 Aug 2013 12:11:27 +0200
> > > > > > > From: [email protected]
> > > > > > > To: [email protected]
> > > > > > > Subject: Re: InitializingBean or JSR250 Support
> > > > > > >
> > > > > > > Hi Nicolas,
> > > > > > >
> > > > > > > Unfortunately, not in Aries Blueprint 1.0.x AFAIR.
> > > > > > >
> > > > > > > Regards
> > > > > > > JB
> > > > > > >
> > > > > > > On 08/25/2013 11:17 AM, Sébastien Nicouleau wrote:
> > > > > > > > Hi,
> > > > > > > >
> > > > > > > > is there a mechanism to emulate the spring of InitializingBean
> > > > > > > > interface, or have the support of the @ PostConstruct of
> > JSR 250?
> > > > > > > >
> > > > > > > > Best Regards
> > > > > > >
> > > > > > > --
> > > > > > > Jean-Baptiste Onofré
> > > > > > > [email protected]
> > > > > > > http://blog.nanthrax.net
> > > > > > > Talend - http://www.talend.com
> > > > >
> > > > > --
> > > > > Jean-Baptiste Onofré
> > > > > [email protected]
> > > > > http://blog.nanthrax.net
> > > > > Talend - http://www.talend.com
> > >
> > > --
> > > Jean-Baptiste Onofré
> > > [email protected]
> > > http://blog.nanthrax.net
> > > Talend - http://www.talend.com
>
> --
> Jean-Baptiste Onofré
> [email protected]
> http://blog.nanthrax.net
> Talend - http://www.talend.com