Re: IPOJO in the future

2018-07-27 Thread Clement Escoffier
Hello, Unfortunately, since now a few years I didn’t have the time to maintain and continue the iPOJO effort. I’ve switched gears and I’m working on very different topics at the moment. That being said, I still use iPOJO regularly, without any issue. Of course the evolution of the byte code

Re: IPOJO Component is not exposing service properly

2018-07-18 Thread Clement Escoffier
@Instantiate sorry. Clement > On 18 Jul 2018, at 09:28, imranrazakhan wrote: > > its @Instance or @Instantiate, as it only shows @Instantiate > > > > -- > Sent from: > http://apache-felix.18485.x6.nabble.com/Apache-Felix-Users-f4833200.html > >

Re: IPOJO Component is not exposing service properly

2018-07-17 Thread Clement Escoffier
Hello, It looks like you didn’t create an instance. Add the @Instance annotation on the class. Clement > On 17 Jul 2018, at 18:53, imranrazakhan wrote: > > i have component like@Component(immediate = true)@Providespublic class > MyComponent implements MyService{@Overridepublic boolean

Re: ipojo performance

2017-07-15 Thread Clement Escoffier
Hi, > On 13 Jul 2017, at 09:11, jerome pommier > wrote: > > Hello, > As a scientist, I used to program my calculations in JAVA, and since almost > one year I'm doing these using OSGI paradigm, more precisely IPOJO framework. > The programs are much more

Re: iPOJO still alive?

2017-01-19 Thread Clement Escoffier
Hi, Yes, unfortunately, iPOJO is not as active as before. But it is still usable and I’m still aware of several production usages. It proposes features that, as far as I know, are not yet proposed by alternatives such as the service dependency interceptors. That’s said, I will be happy to

Re: iPojo problem: The mandatory property xyz is missing

2016-11-13 Thread Clement Escoffier
such as Managed Service Factory, the iPOJO Factory service and so on. Mandatory is used in these contexts. Clement > > /Bengt > > Den 11 nov. 2016 2:52 em skrev "Clement Escoffier" < > clement.escoff...@gmail.com>: > >> Hi, >> >> No actually

Re: iPojo problem: The mandatory property xyz is missing

2016-11-08 Thread Clement Escoffier
Hi, The error means that you tried to create an instance of the component with without the “logoBaseUrl” property. Do you know how this instance is declared, and from where come the configuration ? Clement > On 8 Nov 2016, at 14:54, Bengt Rodehav wrote: > > I'm using

Re: Same private service in different bundles

2016-06-17 Thread Clement Escoffier
Hi, You may be able to achieve what you want with a composites: http://felix.apache.org/documentation/subprojects/apache-felix-ipojo/apache-felix-ipojo-gettingstarted/ipojo-composition-tutorial.html

Re: iPOJO metamodel

2016-03-16 Thread Clement Escoffier
Hi, If you can read French, there is some in https://tel.archives-ouvertes.fr/tel-00347935/document . However, iPOJO is extensible, so what you would get is not the “complete” meta-model. Regards, Clement > On 16 mars 2016, at 10:03,

Re: ADL in iPOJO

2016-02-24 Thread Clement Escoffier
Hi, An ADL is an architecture description language. In iPOJO is has two format: * an API (DSL) * A XML-based description Based on the DSL, it can support any other format. Clement > On 24 févr. 2016, at 18:22, tho huynh ngoc wrote: > > Hi, > > I read in the iPOJO

Re: The iPOJO Snack Bar tutorial

2015-04-30 Thread clement escoffier
Hi, Yes you have to write the XML yourself, but you can also use annotations and so do not need the XML file anymore. Regards, Clement 2015-04-28 19:45 GMT+02:00 Amina Ben meriem amina.benmar...@gmail.com: hello , i want to know if the metaddata.xml the requires and provides parts are they

Re: iPOJO default name for @ServiceProperty

2015-04-30 Thread clement escoffier
Hi, It should use the name of the field by default. Do you see a different behavior ? Regards, Clement 2015-04-27 21:55 GMT+02:00 Andrew Phillips andyphillips...@gmail.com: I am not sure, but i can’t seem to get the @ServiceProperty to ever work unless i specify the name value in the

Re: Ipojo War issue

2015-04-01 Thread clement escoffier
=InfoBrokerServlet.WorkflowExecutor component=WorkflowExecutor /instance /ipojo Thanks Regards SAteesh.A From: clement escoffier clement.escoff...@gmail.com Sent: Wednesday, March 25, 2015 6:27 PM To: users@felix.apache.org Subject: Re: Ipojo War issue Hi

Re: Ipojo War issue

2015-03-25 Thread clement escoffier
Hi, Do you have the maven output ? Did you try the bnd iPOJO plugin ? Regards, Clement 2015-03-24 7:58 GMT+01:00 Sateesh sate...@intense.in: Hi Ipojo Team, I am trying to create a war file which contains a component of ipojo to be created ,but unfortunately iam not able to succeed in

Re: Ipojo War issue

2015-03-25 Thread clement escoffier
to use it. Thanks Regards SAteesh.A From: clement escoffier clement.escoff...@gmail.com Sent: Wednesday, March 25, 2015 11:54 AM To: users@felix.apache.org Subject: Re: Ipojo War issue Hi, Do you have the maven output ? Did you try the bnd

Re: Question regarding Config Admin

2015-03-05 Thread clement escoffier
Hi, Instead of creating the instance with the @Configuration, you may have to create them using 'cfg' files. 'cfg' files are read by Karaf that store the configuration into the Config Admin. Then, iPOJO read the configuration from the Config Admin. Cheers, Clement 2015-03-05 16:49 GMT+01:00

Re: iPOJO Dynamically configured component requirements

2015-02-26 Thread clement escoffier
Hi, You can configure the filters of each service dependency from the instance configuration. To achieve this, you need to add the 'requires.filters' key inside the configuration. The value is a map dependency id - filter. For example, the XML version of this is: instance name=FOO2

Re: [ipojo] filtering dependency through configuration

2015-02-21 Thread Clement Escoffier
to specify the dependency filtering through configuration? I thought maybe using service binding interceptors, but I don't fully understand them yet. Thanks On Fri Feb 20 2015 at 10:56:15 AM clement escoffier [via Apache Felix] ml-node+s18485n5011581...@n6.nabble.com wrote: Hi

Re: [ipojo] filtering dependency through configuration

2015-02-20 Thread clement escoffier
Hi, So, you can't use properties in your filters (even if it's a good idea). However, you can specify the filter of your dependency in the instance configuration (

Re: How to register a servlet as a service using iPojo

2015-02-16 Thread clement escoffier
-logging; log4j;/Embed-Dependency /instructions /configuration /plugin On Sat, Feb 14, 2015 at 1:35 PM, Clement Escoffier clement.escoff...@gmail.com wrote: Hi, Oh, you are not using the whiteboard pattern, so the code should be something like: @Component(immediate=true

Re: Some questions regarding iPOJO

2015-02-14 Thread clement escoffier
Hi, 2015-02-13 16:18 GMT+01:00 Johan Ström jo...@stromnet.se: Hi, I'm a new user in iPOJO land. Having used declarative services before, I must say its quite nice! I have a few questions which I have not been able to find any answers to: a) What's the status on iPOJO 2.0? Last message I

Re: How to register a servlet as a service using iPojo

2015-02-14 Thread Clement Escoffier
but it has to be registered as a javax.servlet.Servlet. I'm not familiar with the iPojo annotations, but I guess the above example would need to be tweaked in such a case... Cheers, David On 13 February 2015 at 15:58, clement escoffier clement.escoff...@gmail.com wrote

Re: How to register a servlet as a service using iPojo

2015-02-13 Thread clement escoffier
Hi, If you just want to register your service just do this: @Component @Provides @Instantiate public class MyServlet extends HttpServlet { ... } @Component declares a component type, @Provides tells to iPOJO that your component is providing a service, and @Instantiate create an instance of

Re: [ipojo] Help wih @Stereotype and custom handler

2015-01-29 Thread Clement Escoffier
this in  runtime.  No the visitor does not let you do such kind of enhancement.The visitor lets you write the iPOJO metadata you want (well, they are stored in the manifest, so maybe it’s enough for you). Cheers, Clement Thanks!  On Mon Jan 26 2015 at 3:40:06 AM clement escoffier [via

Re: [ipojo] Help wih @Stereotype and custom handler

2015-01-29 Thread Clement Escoffier
to be empty. Cheers, Clement Any help apreciated!  Thanks  On Thu Jan 29 2015 at 4:08:06 PM clement escoffier [via Apache Felix]   ml-node+s18485n5011306...@n6.nabble.com wrote:  Hi,      On 29 janvier 2015 at 15:21:00, Thiago Souza ([hidden email]  http:///user/SendEmail.jtp?type=nodenode

Re: [ipojo] Help wih @Stereotype and custom handler

2015-01-25 Thread Clement Escoffier
Hi, Unfortunately stereotypes do not support ‘parameter’ right now, but you can use ‘visitors’ which are small classes rewriting the annotation. Here is something similar to what you try to do: 

Re: [ipojo] Help wih @Stereotype and custom handler

2015-01-25 Thread Clement Escoffier
clement escoffier [via Apache Felix]   ml-node+s18485n5011272...@n6.nabble.com wrote:  Hi,    Unfortunately stereotypes do not support ‘parameter’ right now, but you  can use ‘visitors’ which are small classes rewriting the annotation.  Here is something similar to what you try to do:  https

Re: iPojo factories

2014-12-12 Thread Clement Escoffier
Hi, Yes, factory lifecycle and instance lifecycle are different. This is because they react to different events. Factories are valid when they can create the instance (container), meaning that all the ‘handler factories’ are there. Instances are valid when all handlers composing its container

Re: Bnd Ipojo Plugin, Ipojo Extension modules, and Maven

2014-10-21 Thread Clement Escoffier
it’s a simple fix    --  Guillaume Sauthier (OW2)  Sent with Airmail    On 17 Oct 2014 at 19:11:52, Clement Escoffier (clement.escoff...@gmail.com) wrote:    Hi,     Guillaume would be more precise, but it might be https://issues.apache.org/jira/browse/FELIX-4668.   Will try to have a look

Re: Bnd Ipojo Plugin, Ipojo Extension modules, and Maven

2014-10-17 Thread Clement Escoffier
Hi, Guillaume would be more precise, but it might be  https://issues.apache.org/jira/browse/FELIX-4668. Will try to have a look over the weekend. Cheers, Clement On 17 octobre 2014 at 15:27:09, Simon Chemouil (schemo...@gmail.com) wrote: Hey, I'm looking to use a manipulation-time iPojo

Re: iPOJO and ManagedServiceFactory

2014-10-13 Thread Clement Escoffier
Hi, You are right, 1.12.0 does not expose ManagedServiceFactory anymore because it uses a ‘configuration tracker’ (org.apache.felix.ipojo.ConfigurationTracker). The documentation is not up to date. However, the feature stay the same. Factory configurations pushed in the config admin create

Re: iPOJO and ManagedServiceFactory

2014-10-13 Thread Clement Escoffier
org.acme.component.MyServiceImpl) Regards, Clement Regards,  Milen  On Mon, Oct 13, 2014 at 1:10 PM, Clement Escoffier   clement.escoff...@gmail.com wrote:  Hi,    You are right, 1.12.0 does not expose ManagedServiceFactory anymore  because it uses a ‘configuration tracker

Re: iPojo @Stereotype annotated annotation from separate bundle

2014-09-22 Thread Clement Escoffier
class needs to be included in the bundle using it? In another words - isn't it enough that the bundle imports the package and the jar is on maven's classpath? On Mon, Sep 15, 2014 at 3:26 PM, Clement Escoffier clement.escoff...@gmail.com wrote: Hi, Could you check

Re: iPojo @Stereotype annotated annotation from separate bundle

2014-09-15 Thread Clement Escoffier
. I'll play a bit with it and if it still does not work I'll try to extract and provide a simple example so you can eventually tell me what I'm doing wrong. Best, Milen On Sat, Sep 13, 2014 at 9:01 AM, Clement Escoffier clement.escoff...@gmail.com wrote: Hi

Re: iPojo @Stereotype annotated annotation from separate bundle

2014-09-13 Thread Clement Escoffier
Hi, Stereotypes are analyzed at build time, not at runtime. So they are packaged in regular jars. To work as expected, the stereotype need to be available from the ‘manipulator’ engine, in other words: be in the same class path. So, if you are using Maven, you can do as follows: plugin    

Re: IPojo method annotated with @Updated called twice

2014-08-31 Thread Clement Escoffier
Hi, It seems that the bug is back. I’ve re-opened the issue. Thanks, Clement On 31 août 2014 at 12:24:49, Milen Dyankov (milendyan...@gmail.com) wrote: Hi everyone, I'm aware this issue has been reported (FELIX-4172) and apparently fixed in ipojo-runtime-1.11.0. However the same (or very

RE: [iPOJO] Modifying a metadata.xml property directly in the JAR

2014-08-19 Thread Clement Escoffier
Hi, Yes, changing the metadata.xml file won’t work as it is not read at runtime. What you can do is to externalized the instance declaration in a ‘cfg’ file (if your runtime support this format). cfg files are generally use to push configurations to the configuration admin. In your case it

Re: iPojo explicit instantiation mechanism

2014-08-11 Thread Clement Escoffier
, low-coupling way to handle instance creation that I don't know yet. Is there any sample code of a real system? not dummy samples that always use @Instantiate? Thank you for your help Clement Alejandro Endo | Software Designer/Concepteur de logiciels From: Clement Escoffier

Re: Any known frame problems with iPOJO manipulator 1.12.0 and Java 8?

2014-08-11 Thread Clement Escoffier
Hi, Because of some specificities of Java 8 (Bytecode frames), the iPOJO manipulator requires an additional parameter: a class path. You can find an example here: 

Re: iPojo explicit instantiation mechanism

2014-08-07 Thread Clement Escoffier
Hi, I understand the confusion, because the current wording used there is kind of misleading.  @Component actually defines a component factory, use to create component instance (container and content). But it does not create an instance of it. To create an instance, use @Instantiate, or one

Re: New Gradle plugins: osgi-run and ipojo-plugin

2014-07-20 Thread Clement Escoffier
Great news, thanks !  Will mention it from the iPOJO web site. Regards, Clement On 20 juillet 2014 at 09:43:09, Paulo Renato de Athaydes (renatoathay...@hotmail.com) wrote: Hi everyone, I have created two Gradle plugins to facilitate OSGi development and make it really easy to develop

Re: iPojo bundles lifecycle

2014-07-08 Thread Clement Escoffier
Hi, On 8 juillet 2014 at 00:26:25, alejandro.e...@miranda.com (alejandro.e...@miranda.com) wrote: I noticed today when running on a headless equinox (as opposed to PDE in  eclipse) my iPojo services did not register and they were not available to  consumers. I think it was because the bundles

Re: iPojo workflow

2014-06-27 Thread Clement Escoffier
?  This is actually also planned for this release too. Will be available tonight. Clement Alejandro Endo | Software Designer/Concepteur de logiciels  From: Clement Escoffier clement.escoff...@gmail.com  To: Apache Felix - Users Mailing List users@felix.apache.org,  Date: 2014-06-25 04:18 AM  Subject

Re: iPojo workflow

2014-06-25 Thread Clement Escoffier
Hi, We are working on a new toolset to speed up the development of iPOJO applications. So far, theses tools are developed for web applications, but can be applied almost everywhere.  In the Wisdom Project (http://wisdom-framework.org), we developed a ‘watch’ mode based on Apache Maven. Why

Re: IPojo performance benchmark

2014-06-22 Thread Clement Escoffier
  if my test is wrong or if there is really something to be verified  somewhere in IPojo).  cheers;  /Pierre  On Sat, Jun 21, 2014 at 9:49 AM, Clement Escoffier   clement.escoff...@gmail.com wrote:  Hi,    Thanks,    I will have a look at it, and come back to you.    Clement  On 21 juin

Re: IPojo performance benchmark

2014-06-21 Thread Clement Escoffier
Hi, Thanks,  I will have a look at it, and come back to you. Clement On 21 juin 2014 at 09:21:46, Xander Uiterlinden (uiter...@gmail.com) wrote: Hi, A colleague of mine just pointed me at this discussion. I'm one of the two persons that did the presentation on DM performance on the OSGi

Re: IPojo performance benchmark

2014-06-20 Thread Clement Escoffier
Hi, First, I just discovered the slides. About the performance benches, I don’t know them, but for sure in the recent versions we didn’t really focus on performances (except if the overhead with really big). The service registration overhead is definitely weird, I will have a look on it.

Re: IPojo and Java 8

2014-06-20 Thread Clement Escoffier
note our new company name! www.new.grassvalley.com From: Clement Escoffier clement.escoff...@gmail.com To: users@felix.apache.org, Date: 2014-06-16 15:14 Subject: Re: IPojo and Java 8 Hi, Thanks for the code. I?ve a small question about your build system. Are you using

Re: IPojo and Java 8

2014-06-20 Thread Clement Escoffier
. Sylvain Hamel |Software Designer/Concepteur de logiciels Grass Valley, A Belden Brand | Tel:(514) 333-1772 Ext: 3146 3499 Douglas-B.-Floreani, Montreal, Quebec Canada H4S 2C6   Please note our new company name! www.new.grassvalley.com From:        Clement Escoffier clement.escoff...@gmail.com

Re: IPojo and Java 8

2014-06-16 Thread Clement Escoffier
From:        Clement Escoffier clement.escoff...@gmail.com To:        users@felix.apache.org, Date:        2014-06-14 03:50 Subject:        Re: IPojo and Java 8 Hi, Definitely a bug related to Java 8. Can you send me your class, seems like the manipulator does not compute the right frames

Re: IPojo and Java 8

2014-06-14 Thread Clement Escoffier
Hi, Definitely a bug related to Java 8. Can you send me your class, seems like the manipulator does not compute the right frames. Regards, Clement On 13 juin 2014 at 22:25:40, sylvain.ha...@miranda.com (sylvain.ha...@miranda.com) wrote: Hi We just migrated to Java 8 and IPojo 1.12.0.

Re: Ipojo + karaf + JMX

2014-06-12 Thread Clement Escoffier
Hi, Unfortunately, the JMX support is outdated, but should still work. Which classes are deprecated ? Regards, Clement On 10 juin 2014 at 09:42:46, millieret (xaviermillie...@eaton.com) wrote: Hi All, I am trying to expose instances as a JMX MBean, but it's does't work in the ipojo +

Re: Ipojo + karaf + JMX

2014-06-12 Thread Clement Escoffier
--  Clement Escoffier Researcher at LIG Partner at Ubidreams +33 6 95 23 18 45 clement.escoff...@gmail.com http://escoffier.me On 12 juin 2014 at 17:57:17, millieret (xaviermillie...@eaton.com) wrote: Hi Clement,  All methods !!  @Method, @Property ?  These classes were replaced

Re: Extender Pattern Filter

2014-06-08 Thread Clement Escoffier
Hi, It looks like what you are trying to achieve can simply be made using a regular @Requires injection (or with the @Bind/@Unbind annotations, if you want to be notified when an algorithm arrives or leaves). Your Algorithm class is the service specification. You concrete class should be a

Re: Support for Java 8 on iPojo

2014-05-02 Thread Clement Escoffier
Hi, On 2 mai 2014, at 09:55, Cornelis Hoeflake c.hoefl...@postex.com wrote: Hi, Is there some release planning for support of iPojo on Java 8 / JDK 8? Yes, work is planned. So it should be ready for the end of May (release). There are a couple of tasks to do to support Java 8 byte code.

Re: IPOJO 10 Minute Tutorial Errors

2014-04-17 Thread Clement Escoffier
Hi, You’re hitting a bug in the last release (https://issues.apache.org/jira/browse/FELIX-4464). Two choices 1) use the 10 minutes tutorial from the 1.11.1 (zip available here:

Re: iPOJO instances

2014-04-03 Thread Clement Escoffier
Hi, On 3 avr. 2014, at 19:59, alejandro.e...@miranda.com wrote: I am having some problems understanding the concept of component instanciation. I read http://felix.apache.org/documentation/subprojects/apache-felix-ipojo/apache-felix-ipojo-userguide/apache-felix-ipojo-instances.html and I

Re: Upgrading to Java 8 with Felix and BND

2014-03-22 Thread Clement Escoffier
Hi, I’ve run Felix on java 8 since one month (using preview and now using the officiel release) and didn’t see any major issues. However some changes are going to impact Felix. Did you try with classes using the invoke dynamic instruction ? It should not be an issue, but it impacts all

Re: Creating PrimitiveComponentType without importing iPOJO required Packages

2014-03-09 Thread Clement Escoffier
protocol: ipojo What am I missing here? Thanks. -Original Message- From: Clement Escoffier [mailto:clement.escoff...@gmail.com] Sent: 08 آذار, 2014 05:11 م To: Apache Felix - Users Mailing List Subject: Re: Creating PrimitiveComponentType without importing iPOJO required

Re: Creating PrimitiveComponentType without importing iPOJO required Packages

2014-03-09 Thread Clement Escoffier
:2866) ... 4 more Zaid -Original Message- From: Clement Escoffier [mailto:clement.escoff...@gmail.com] Sent: 09 آذار, 2014 12:07 م To: Apache Felix - Users Mailing List Subject: Re: Creating PrimitiveComponentType without importing iPOJO required Packages Hi, You

Re: A couple of questions regarding iPojo interceptors

2014-03-03 Thread Clement Escoffier
interceptor. The dependency is invalid until the interceptor arrives. Clement /Bengt 2014-02-24 8:17 GMT+01:00 Clement Escoffier clement.escoff...@gmail.com: On 21 févr. 2014, at 14:15, Bengt Rodehav be...@rodehav.com wrote: Hello Clement, Some comments inline below. /Bengt

Re: A couple of questions regarding iPojo interceptors

2014-03-03 Thread Clement Escoffier
2014-03-03 13:51 GMT+01:00 Clement Escoffier clement.escoff...@gmail.com: Hi, On 3 mars 2014, at 13:14, Bengt Rodehav be...@rodehav.com wrote: Hello again Clement! Skiing trip is now over - time to get back to the interceptors... Regarding your questions

Re: A couple of questions regarding iPojo interceptors

2014-03-03 Thread Clement Escoffier
back to you. /Bengt 2014-03-03 15:46 GMT+01:00 Clement Escoffier clement.escoff...@gmail.com: On 3 mars 2014, at 15:18, Bengt Rodehav be...@rodehav.com wrote: Hi Clement, Yes, I use the filter to make sure that the instance does not become valid until it has been intercepted

Re: A couple of questions regarding iPojo interceptors

2014-03-03 Thread Clement Escoffier
alike :-) I'll add some more tracing as you suggested and then get back to you. /Bengt 2014-03-03 15:46 GMT+01:00 Clement Escoffier clement.escoff...@gmail.com : On 3 mars 2014, at 15:18, Bengt Rodehav be...@rodehav.com wrote: Hi Clement, Yes, I use the filter to make sure

Re: A couple of questions regarding iPojo interceptors

2014-03-03 Thread Clement Escoffier
getServiceReferences() method are called. Sounds like this might be an issue now that you mention it. How are the invalidateXYZ() methods supposed to work? /Bengt 2014-03-03 16:19 GMT+01:00 Clement Escoffier clement.escoff...@gmail.com : On 3 mars 2014, at 16:09, Bengt Rodehav be...@rodehav.com

Re: Using iPOJO API shows “ Cannot create a POJO instance, the POJO constructor cannot be found”

2014-03-02 Thread Clement Escoffier
Hi, When using the iPOJO API, it tries to manipulate the component implement classes at runtime (if there are not already manipulated). It looks like this manipulation does not happen in your case. To be sure it is the issue, try to manipulate the class first (add @Component on it, and use ant

Re: Using iPOJO API shows “ Cannot create a POJO instance, the POJO constructor cannot be found”

2014-03-02 Thread Clement Escoffier
makes it work ? Could you send me both traces. Would you be able to share your code (either privately, or attached to a Jira ticket) so I can reproduce it ? Clement Zaid -Original Message- From: Clement Escoffier [mailto:clement.escoff...@gmail.com] Sent: 02 آذار, 2014 10:48 م

Re: Using iPOJO API shows “ Cannot create a POJO instance, the POJO constructor cannot be found”

2014-03-02 Thread Clement Escoffier
code (either privately, or attached to a Jira ticket) so I can reproduce it ? Clement Zaid -Original Message- From: Clement Escoffier [mailto:clement.escoff...@gmail.com] Sent: 02 آذار, 2014 10:48 م To: Apache Felix - Users Mailing List Subject: Re: Using iPOJO API shows

Re: A couple of questions regarding iPojo interceptors

2014-02-23 Thread Clement Escoffier
Thanks, I will have a look this afternoon. Clement On 21 févr. 2014, at 13:14, Bengt Rodehav be...@rodehav.com wrote: I created the following JIRA: https://issues.apache.org/jira/browse/FELIX-4432 /Bengt 2014-02-21 12:53 GMT+01:00 Clement Escoffier clement.escoff...@gmail.com: Hi

Re: A couple of questions regarding iPojo interceptors

2014-02-23 Thread Clement Escoffier
On 21 févr. 2014, at 14:15, Bengt Rodehav be...@rodehav.com wrote: Hello Clement, Some comments inline below. /Bengt 2014-02-21 12:53 GMT+01:00 Clement Escoffier clement.escoff...@gmail.com: Hi, On 20 févr. 2014, at 13:22, Bengt Rodehav be...@rodehav.com wrote

Re: A couple of questions regarding iPojo interceptors

2014-02-21 Thread Clement Escoffier
Hi, On 20 févr. 2014, at 13:22, Bengt Rodehav be...@rodehav.com wrote: This is a follow up on another discussion I had with Clement on this mailing list: http://apache-felix.18485.x6.nabble.com/Using-iPojo-interceptors-tt5006168.html#a5006276 I'm now trying to get the interceptor

Re: How to use TypeDeclaration and InstanceDeclaration

2014-02-07 Thread Clement Escoffier
when a TypeDeclaration is added. Am I missing something here ? No, it’s the case, but this part of this API is not public (yet). Regards, Clement Thanks, Patricio On Thu, Feb 6, 2014 at 4:18 AM, Clement Escoffier clement.escoff...@gmail.com wrote: Hi, On 5 févr. 2014, at 15:19

Re: iPOJO Components instantiated but no visible output

2014-01-26 Thread Clement Escoffier
regarding which property/properties I need to set when configuring Felix, so it helps me solving the problem. Thanks again for your help. Zaid -Original Message- From: Clement Escoffier [mailto:clement.escoff...@gmail.com] Sent: Saturday, January 25, 2014 6:32 PM

Re: iPOJO Components instantiated but no visible output

2014-01-26 Thread Clement Escoffier
’ from http://felix.apache.org/site/apache-felix-framework-launching-and-embedding.html Regards, Clement -Original Message- From: Clement Escoffier [mailto:clement.escoff...@gmail.com] Sent: Sunday, January 26, 2014 5:24 PM To: Apache Felix - Users Mailing List Subject: Re

Re: iPOJO Components instantiated but no visible output

2014-01-26 Thread Clement Escoffier
Regards, Clement -Original Message- From: Clement Escoffier [mailto:clement.escoff...@gmail.com] Sent: Sunday, January 26, 2014 5:24 PM To: Apache Felix - Users Mailing List Subject: Re: iPOJO Components instantiated but no visible output On 26 janv. 2014, at 10:54, Zaid

Re: iPOJO Components instantiated but no visible output

2014-01-25 Thread Clement Escoffier
Yes. This is the output: ipojo:instances Instance org.apache.felix.ipojo.arch.gogo.Arch-0 - valid -Original Message- From: Clement Escoffier [mailto:clement.escoff...@gmail.com] Sent: Saturday, January 25, 2014 12:01 AM To: Apache Felix - Users Mailing List Subject: Re

Re: iPOJO Components instantiated but no visible output

2014-01-23 Thread Clement Escoffier
works, but you may be able to use the ‘install time’ manipulator: http://felix.apache.org/documentation/subprojects/apache-felix-ipojo/apache-felix-ipojo-tools/apache-felix-ipojo-online-manipulator.html Regards, Clement -Original Message- From: Clement Escoffier

Re: Felix iPOJO - The factory associated with the component type is invalid (not started or missing handlers)

2014-01-22 Thread Clement Escoffier
Hi, The issue comes form the asynchronous start of iPOJO. When you create your instance, not everything is available. I’ve several question: Why are you using the iPOJO API to declare your type and instance ? Can’t you just use the annotations ? In that case it will just create everything

Re: Felix iPOJO - The factory associated with the component type is invalid (not started or missing handlers)

2014-01-22 Thread Clement Escoffier
. Though, I did not find a start or stop method (declaration.start() showed a syntax error). What's going on? Zaid -Original Message- From: Clement Escoffier [mailto:clement.escoff...@gmail.com] Sent: Wednesday, January 22, 2014 12:53 PM To: Apache Felix - Users Mailing List

Re: iPOJO Components instantiated but no visible output

2014-01-22 Thread Clement Escoffier
Hi, Could you use the ‘instances’ command to retrieve the list of instances and their state ? (http://felix.apache.org/documentation/subprojects/apache-felix-ipojo/apache-felix-ipojo-tools/ipojo-arch-command.html) ipojo:instances // dump all instances and declaration ipojo:instance

Re: Felix iPOJO - The factory associated with the component type is invalid (not started or missing handlers)

2014-01-22 Thread Clement Escoffier
? Not directly. But if you name your instances then you can retrieve and use the ‘Architecture’ service exposed by the created instances. From there, you can do whatever you want. Regards, Clement Zaid -Original Message- From: Clement Escoffier [mailto:clement.escoff...@gmail.com] Sent

Re: iPOJO Components instantiated but no visible output

2014-01-22 Thread Clement Escoffier
' not found -Original Message- From: Clement Escoffier [mailto:clement.escoff...@gmail.com] Sent: Thursday, January 23, 2014 10:58 AM To: Apache Felix - Users Mailing List Subject: Re: iPOJO Components instantiated but no visible output Hi, Could you use the 'instances' command

Re: How do i configuration instance without ConfigurationAdmin and ManagedServer ?

2014-01-17 Thread Clement Escoffier
Hi, The instance manager class is used internally, but the configuration / reconfiguration feature are available from the ComponentInstance class (implemented by the instance manager). Check:

Re: iPojo - next release

2014-01-09 Thread Clement Escoffier
Hi, I’m currently in Las Vegas (CES and CCNC). As soon as I’m back in France I will cut a bug fix release (next Thursday). I have a couple of tests in a shaky state on my CI, but everything else is ready to be released. Clement On 9 janv. 2014, at 16:06, Bengt Rodehav be...@rodehav.com wrote:

Re: newbee question

2014-01-06 Thread Clement Escoffier
] de.hermannmatthes.workbench.server.ServerImpl : Cannot create a POJO instance, the POJO constructor invocation has thrown an exception Does anybody know what's the reason for that error? Hermann Am 06.01.2014 07:42, schrieb Clement Escoffier: Hi, On 5 janv. 2014, at 20:07, Hermann Matthes hermann.matt

Re: newbee question

2014-01-05 Thread Clement Escoffier
Hi, On 5 janv. 2014, at 20:07, Hermann Matthes hermann.matt...@gmx.de wrote: Hello everybody, I try to learn ipojo to implement a simple server using Netbeans 7.4 and Apache Karaf. My first goal is to write a really simple server which just prints a message when it's activated or

Re: What weakness and limitation of IPOJO

2013-12-30 Thread clement escoffier
. Regards, Clement 2013/12/30 classical_89 luongnx...@gmail.com Many thanks ,sound like iPOJO v2.0 is great :D clement escoffier wrote Finally, the current iPOJO implementation does not support inheritance. It's obviously a major limitation we are fixing in the 2.0 version. A last point

Re: [ipojo] create instance with configuration using xml

2013-12-28 Thread Clement Escoffier
Hi, Sent from my iPad On 27 déc. 2013, at 09:26, classical_89 luongnx...@gmail.com wrote: I'm new to ipojo and OSGi platform i not sure that my question is reasonable ,so tell me if i wrong I know that i can create an instance service using Configuration by : ConfigurationAdmin pm;

Re: What weakness and limitation of IPOJO

2013-12-28 Thread Clement Escoffier
Hi, My opinion is obviously biased as I'm the main contributor of iPOJO. However I can tell you what's on the roadmap of iPOJO 2.0. First, currently iPOJO requires an extra packaging step preparing your bundle to be managed by iPOJO. This step can either be done during your build process

Re: Using iPojo interceptors

2013-12-13 Thread Clement Escoffier
? It doesn't really matter now that it works for me but I'm a bit curious. BTW, when are you planning the next release of iPOJO? Should be out for Christmas (quite soon actually….) Clement /Bengt 2013/12/11 Clement Escoffier clement.escoff...@gmail.com Hi, I did something pretty

Re: Using iPojo interceptors

2013-12-11 Thread Clement Escoffier
is in the map or not. If it is, then my logic should kick in otherwise not. /Bengt 2013/12/9 Clement Escoffier clement.escoff...@gmail.com Hi, On 9 déc. 2013, at 08:02, Bengt Rodehav be...@rodehav.com wrote: Here is my inteceptor Clement. It's a bit polluted with logging since I've

Re: iPojo: Default configuration and @Update

2013-12-09 Thread Clement Escoffier
Hi, On 9 déc. 2013, at 16:20, Bengt Rodehav be...@rodehav.com wrote: I have a iPojo component singleton defined as follows: @Component(managedservice = connect.fm.notifier, name = connect.fm.notifier, publicFactory = false) @Provides(specifications = INotificationProvider.class)

Re: Using iPojo interceptors

2013-12-08 Thread Clement Escoffier
use case myself and allows me to dynamically build camel routes with a number of predefined bricks/components. Very useful for us. /Bengt 2013/12/6 Clement Escoffier clement.escoff...@gmail.com Not yet, was travelling (finally back to my office). Will check today or tomorrow

Re: Using iPojo interceptors

2013-12-06 Thread Clement Escoffier
: Did you have any chance to check this Clement? /Bengt 2013/12/3 Clement Escoffier clement.escoff...@gmail.com On 3 déc. 2013, at 19:23, Bengt Rodehav be...@rodehav.com wrote: Yes, I think I'm getting close now but it's been a bit more complicated than I expected. I learn a lot about

Re: iPOJO and Tycho

2013-12-03 Thread Clement Escoffier
Hi, On 2 déc. 2013, at 09:53, Thomas Calmant thomas.calm...@gmail.com wrote: Hi, For some reasons, I have developed some of my iPOJO components projects using the Eclipse Plugin Development Environment (PDE) and the iPOJO Nature Eclipse plugin [1]. This works really well for development

Re: Using iPojo interceptors

2013-12-03 Thread Clement Escoffier
. /Bengt 2013/11/29 Clement Escoffier clement.escoff...@gmail.com Hi, On 29 nov. 2013, at 16:21, Bengt Rodehav be...@rodehav.com wrote: Thanks Clement! I compared our code it turns out I had a type: I had specified the handler to org.apache.felix.ipojo.properties instead

Re: Using iPojo interceptors

2013-12-03 Thread Clement Escoffier
Clement Escoffier clement.escoff...@gmail.com Hi, On 29 nov. 2013, at 16:21, Bengt Rodehav be...@rodehav.com wrote: Thanks Clement! I compared our code it turns out I had a type: I had specified the handler to org.apache.felix.ipojo.properties instead of org.apache.felix.ipojo:properties.. I

Re: Using iPojo interceptors

2013-11-29 Thread Clement Escoffier
the getCurrentValue() to PropertyDescription to retrieve the current property value (gonna commit this ASAP). (full code here: https://gist.github.com/cescoffier/7705901) Clement On 28 nov. 2013, at 15:06, Bengt Rodehav be...@rodehav.com wrote: Thanks! 2013/11/28 Clement Escoffier clement.escoff

Re: Using iPojo interceptors

2013-11-29 Thread Clement Escoffier
/felix/org.apache.felix.ipojo/1.11.1-SNAPSHOT/org.apache.felix.ipojo-1.11.1-20131129.182110-3.jar Clement /Bengt 2013/11/29 Clement Escoffier clement.escoff...@gmail.com Hi, I’ve done some testing: 1) I’m able to retrieve the properties 2) I’m not able to retrieve the value

Re: Using iPojo interceptors

2013-11-28 Thread Clement Escoffier
context object used if it needs to load classes. Clement /Bengt 2013/11/27 Clement Escoffier clement.escoff...@gmail.com Hi, On 26 nov. 2013, at 16:00, Bengt Rodehav be...@rodehav.com wrote: I'm getting a bit closer regarding

  1   2   3   4   5   6   >