On 21 Jan 2015, at 11:42, Bulu wrote:
My command is not doing anything fancy with System.out - just calling
println(). Also I couldn't find any call to System.setOut() in my code.
If the System.out is set globally how is it possible that some commands write
to gogo shell while, at the sa
to see exactly how System.out is
obtained and whether there are any calls to System.setOut().
—
Derek
On 21 Jan 2015, at 08:54, Bulu wrote:
Hello again
Using the internal telnetd does not fix the problem, output of this one command
is still going to the java exe std-out instead of the gog
:12, Bulu wrote:
Hello Derek
I then access gogo through telnet (Felix Remote Shell 1.1.2).
Sometimes (rarely), certain of my commands do no longer output to
the shell, instead the output is really going to the std-out of the
java application. Note that at the same time, other of my own
commands
Hello Derek
I then access gogo through telnet (Felix Remote Shell 1.1.2). Sometimes
(rarely), certain of my commands do no longer output to the shell, instead the
output is really going to the std-out of the java application. Note that at the
same time, other of my own commands in the same bun
Hello
In my gogo commands, I use simple System.println(...) calls to output
things to the gogo shell. (is that the correct way?)
I then access gogo through telnet (Felix Remote Shell 1.1.2). Sometimes
(rarely), certain of my commands do no longer output to the shell,
instead the output is re
classes, so out of
the box that won’t work. I do think that, with a few patches, you could make it
work.
Greetings, Marcel
On 20 Jan 2015 at 11:11:02, Bulu (b...@romandie.com) wrote:
Dear Felix DM users
Is it possible to use Felix DM on OSGi 3?
I hope it is :-)
Regards Philipp
eded by R4
more than ten years ago…
Neil
On 20 Jan 2015, at 10:05, Bulu wrote:
Dear Felix DM users
Is it possible to use Felix DM on OSGi 3?
I hope it is :-)
Regards Philipp
-
To unsubscribe, e-mail: user
Dear Felix DM users
Is it possible to use Felix DM on OSGi 3?
I hope it is :-)
Regards Philipp
-
To unsubscribe, e-mail: users-unsubscr...@felix.apache.org
For additional commands, e-mail: users-h...@felix.apache.org
Hello Marcel
Thanks for you answer and the clarification.
On 09.12.2014 10:18, Marcel Offermans wrote:
Hello Philipp,
On 09 Dec 2014, at 10:03 am, Bulu wrote:
In Felix DM, can I publish a certain object as several services / interfaces,
but each with different properties?
Calling
Hello All
In Felix DM, can I publish a certain object as several services /
interfaces, but each with different properties?
Calling setInterface() multiple times does not seem to do the trick.
Calling setInterface(String[],Dictionary) will assign the same
properties to each.
If I use several
Nov 2014, at 09:44, Bulu wrote:
Hello all
When I assign variables in Gogo Shell like so:
g! _srefs = $.context getServiceReferences "com.example.Class"
"(some=filter)"
the shell automatically calls all getXXX methods on the returned object and
prints the result out.
How
Hello all
When I assign variables in Gogo Shell like so:
g! _srefs = $.context getServiceReferences "com.example.Class"
"(some=filter)"
the shell automatically calls all getXXX methods on the returned object
and prints the result out.
How can I avoid this?
I have some long running getXXX m
issue for it, and I will add a
createAdapterService signature allowing to specify a callbackObject,
similar to what is currently done int the createResourceAdapterService
methods.
(Marcel, would you be OK for this new feature ?)
kind regards;
/Pierre
On Wed, Oct 15, 2014 at 2:52 PM, Bulu wrote
ep.setCallbacks(deviceManager, BIND_METHOD, CHANGED_METHOD, UNBIND_METHOD);
mgr.add(adapter);
Is this the right way?
Regards Philipp
On 15.10.2014 14:12, Bulu wrote:
Hello All
Using Dependency Manager, I declare adapters like this:
mgr.add(createAdapterService(Device.class,null)
.setImplementation(Devi
Hello All
Using Dependency Manager, I declare adapters like this:
mgr.add(createAdapterService(Device.class,null)
.setImplementation(DeviceAdapter.class)
.setCallbacks(deviceManager, "init", "start", "stop", "destroy"));
So deviceManager gets notified when the adapters appear. Now I also want
rcel Offermans wrote:
Let me reverse the question: what would be a newer/better way and how should
that be implemented. I mean I can see somebody writing a whiteboard style
handler and donating it to (for example) Felix. Is that what you would like,
or??
On 09 Oct 2014, at 9:02 am, Bulu wrote:
board style handler for
this (just like one exists to handle Servlets for HttpService)…
Greetings, Marcel
On 8 Oct 2014 at 10:06:01 , Bulu (b...@romandie.com) wrote:
Hello all
I'm declaring a component using DM which gets created when all
dependencies are met. This component should also get n
Hello all
I'm declaring a component using DM which gets created when all
dependencies are met. This component should also get notified of
framework events and thus implements FrameworkListener.
Does the OSGi framework also use a whiteboard pattern for delivering
these events, meaning I only
ethod.
You can take a look at [1] for an example.
kind regards;
/Pierre
[1]
http://svn.apache.org/viewvc/felix/trunk/dependencymanager/test/src/test/java/org/apache/felix/dm/test/integration/api/MultipleExtraDependenciesTest.java?revision=1532440&view=markup
On Tue, Sep 30, 2014 at 7:46 PM,
Obviously it works great on the small example... :-)
Ergo: the problem is in my code or more complex than explained...
On 30.09.2014 19:14, Marcel Offermans wrote:
On 30 Sep 2014, at 9:50 am, Bulu wrote:
Hi all
Using DM I declare adapter services like this
// without filter
mgr.add
Hi all
Using DM I declare adapter services like this
// without filter
mgr.add(createAdapterService(SomeClass.class,null)
.setImplementation(...)
.setCallbacks(...));
// with filter
String someFilter = ...
mgr.add(createAdapterService(OtherClass.class, someFilter
Id() + ")");
c.setServiceProperties(props);
}
This works with DM 4.0.0, but should also work with DM 3.2.0 (but I did not
have time to test).
regards
/Pierre
On Thu, Sep 25, 2014 at 11:07 AM, Bulu wrote:
Hello Pierre
My example was too simple, I would like to republish the adap
ass)
.setInterface(EventHandler.class.getName(), props);
Philipp
On 25.09.2014 10:53, Pierre De Rop wrote:
Hi Philipp;
On Thu, Sep 25, 2014 at 8:54 AM, Bulu wrote:
Hello all
(sorry for asking so many questions - they come-up as I write my code)
no problem at all :-)
In DM, how can you adapt a ce
incomplete properties, and just update them in the init method when
the values are present. But that seems like a hack... Is there a better way?
Thanks Philipp
On 24.09.2014 18:09, Pierre De Rop wrote:
Hi Philipp;
see my response, inlined below:
On Wed, Sep 24, 2014 at 4:46 PM, Bulu wrote
, inlined below:
On Wed, Sep 24, 2014 at 4:46 PM, Bulu wrote:
Hello all
If the published property of a service is based on a value in the actual
service object, and that value later changes, how can I update the
properties using DM?
Example: You have Device objects (and the corresponding impl)
public
Hello all
If the published property of a service is based on a value in the actual
service object, and that value later changes, how can I update the
properties using DM?
Example: You have Device objects (and the corresponding impl)
public interface Device{
public int getRoom();
public vo
hope this helps;
cheers;
/Pierre
[1]
http://svn.apache.org/viewvc/felix/sandbox/pderop/dependencymanager-prototype/org.apache.felix.dependencymanager.samples/src/org/apache/felix/dependencymanager/samples/device/
On Mon, Sep 22, 2014 at 6:04 PM, Bulu wrote:
Hello Pierre
Yes, this is exac
e it corresponds to your needs), I
will probably commit it in the sample code from the DM 4.0.0, in [2].
[1]
http://svn.apache.org/viewvc/felix/sandbox/pderop/dependencymanager-prototype/
[2]
http://svn.apache.org/viewvc/felix/sandbox/pderop/dependencymanager-prototype/org.apache.felix.de
Hello all
I'm trying Felix Dependency Manager and have come across the following case.
For each registered service of type A, I want to create a component,
only when the corresponding service B is also present. The corresponding
service is determined by a property of A.
Example:
I have a ser
Hi
I have my jars in my local maven repo, they typically come from central.
I develop my own bundles and deploy to my remote OBR using
maven-bundle-plugin: the bundles are uploaded and the repository.xml is
updated. Good.
Now I want also to push the needed dependency jars coming from central
Dear all
My bundles need to use diverse threads to do their work (Timers,
Workers, Events). And they need to clean them up on stop().
I have found this article
(http://www.drdobbs.com/jvm/multithreading-java-osgi/191601642) which
addresses the problem by using a Thread management class in ea
ion is just for this bundle, avoid confusing when need to back
to an old version or need to work with more than one version at same time
(multi-tenant).
regards,
Cristiano
On 12-08-2014 06:48, Bulu wrote:
Hi Paul, hi all
Do I understand correctly, that your bundles have different (semantic) versi
e all possible combinations...
I would love to here more experiences of other people doing OSGi on Git...
Regards Philipp
On 11.08.2014 15:21, Paul Bakker wrote:
Hi Bulu,
All our projects are based on Bndtools. This is by far the best development
environment for OSGi and I strongly advise tak
Hi all
I'm new to Git and want to use it for my new OSGi project. The project
will be split in some ~20 bundles which are intended to work together
and form a single shippable product with a unique release version number.
Nonetheless, at a later time, some of these bundles might be used
outsid
eers,
Paul
On Thu, Jul 17, 2014 at 10:04 AM, Bulu wrote:
Hi all
I'm building an application on an embedded system which will contain ~20
bundles.
There are many dependencies of services - say for example to provide its
service, module A (several classes) needs services B,C,D.
In order
Hi all
I'm building an application on an embedded system which will contain ~20
bundles.
There are many dependencies of services - say for example to provide its
service, module A (several classes) needs services B,C,D.
In order to fully account for the dynamics of OSGi, I have to monitor
B,
This is good news!
Is the new repository.xml backwards compatible with the existing specs
(as produced eg. by maven-bundle-plugin 2.3.7)?
I.e. can I upgrade my OBR Bundle on just some of the clients - or will
this break?
Regards Philipp
On 27.06.2014 10:34, dav...@apache.org wrote:
The Feli
Dear all
I want to use Servlet 2.6/3.
The current Felix (all-in-one) HTTP bundle exports servlet 2.5. Is a
release planed which supports servlet 2.6/3?
Also I would like to use ServiceTracker with generics. The
osgi.compendium from Felix (v. 1.4.0) doesn't support generics (as far
as I can t
38 matches
Mail list logo