Thank you very much for your answer. Your implementation seems to work
fine. And indeed I've found no other implementation till now.
Regards,
Martin
Didier Donsez schrieb:
Martin
[1] is mainly a quick implementation of the Monitor Admin spec
in order to understand the principles of this
Hi,
concerning this monitor sample, I just have a question on implementation.
Why did you create MemoryMonitor and CPUUsageMonitor as bundle activators?
Creation of monitorable bean (implementation of Monitorable) and registered
then as services is another possibilities, is this right?
Stevens
Hello,
What does iPojo do if an active component (one running a thread) tries
to access a service dependency that is not currently available? Does it
cause the call to the dependency to throw something like
ServiceUnavailableException? I.e. are the dependencies proxied or are
they the raw
Hello,
I have implemented an OSGI service which can be configured via
configruation Admin.
My class implement ManagedService :
public class Configurator implements ManagedService {
@Override
public void updated(Dictionary props) throws ConfigurationException {
...
and I able
Hi,
First, iPOJO instances are either valid or invalid. Basically, an invalid
instance is an instance requiring a non-available service. An invalid
instance should stops the created threads avoiding those kind of access
(thanks to the lifecycle callbacks). if despite this, a thread tries to
Hi
From my understanding of the OSGi Specification, an implementation of the
specification must be executed as a Jar file, so as to be treated as the
system bundle. Therefore, am I right in assuming that it is not possible to
correctly execute Felix when the Felix implementation classes are
Clement Escoffier wrote:
When a thread try to use a temporal dependency...
You mean a thread simply uses the reference stored in the respective
component field to make a call to the dependency object? I.e. I can
count on temporal dependencies to never be null. I.e. you do proxy the
Exactly,
A temporal dependency will never be 'null' (except if the onTimeout policy
is 'null' of course). By default, an exception will be thrown (once the
timeout is reached).
'Regular' (i.e. non temporal) optional dependency cannot be 'null' too. By
default a nullable object (or a
We don't have such a restriction I don't think. You should be able to
unjar the felix.jar and still run it. You might have to set the
felix.config.properties property to a felix configuration file:
java -Dfelix.config.properties=URL-to-conf/config.properties -cp
path to exploded felix.jar
Hello felix users :)
As I'm not felix-fluent yet, excuse me if I throw some WrongTermExceptions
here.
I'm looking at plugins/osgi bundles frameworks for a JavaSE app that must run
in a readonly environment, no writable filesystem is available.
I'm discovering felix and tried some samples and
Hi Paul,
the simple answer is no. Currently, there is no way to configure felix
without the bundle cache stored on disk. However, it should be
possible to replace the cache implementation with an in memory
implementation (with the exception of native libraries which wouldn't
work like this).
Hi,
Don't know if this will work for you but you could just install RamDisk and
put your bundlecache on a virtual disk in memory...
Ofcourse your bundlecache will be empty on restart, but if you run felix
embedded you can easily download and install them on your ramdisk from a
remote location.
Hi Karl and Kristof, thanks for your quick answers.
I should have given more details about the environment.
The application is run from an usb disk and _must not_ write on the computer
hard drive. Plus it must be usable without admin rights so installing a
ramdisk is not possible.
It seems
well, could you write on the usb disk? You could install the bundles
by reference which will leave you with a very small amount of data in
the cache ...
regards,
Karl
On Mon, Oct 27, 2008 at 5:20 PM, Paul [EMAIL PROTECTED] wrote:
Hi Karl and Kristof, thanks for your quick answers.
I should
Le Monday 27 October 2008 17:38:56 Karl Pauls, vous avez écrit :
well, could you write on the usb disk? You could install the bundles
by reference which will leave you with a very small amount of data in
the cache ...
No I can't write on the usb disk itself.
Thanks a lot for your time Karl.
Hello,
I was wondering what is iPojo's mission in life: just to make it a bit
easier to code in OSGi or the grand idea to lift the Java language to a
higher abstraction. This philosophical question is important to me
because iPojo like most other DI frameworks seems highly viral.
For example
There is no true mechanism, it just depends on the example.
In this case, the example paint program is simplistic, but you are
correct it is not necessarily a good idea to hardcode in values like this.
The example could have used another approach, such as using
configuration properties, like
Clement Escoffier wrote:
Exactly,
A temporal dependency will never be 'null' (except if the onTimeout policy
is 'null' of course). By default, an exception will be thrown (once the
timeout is reached).
Temporal dependencies will also never be null if you set the timeout to
be infinite,
I don't believe the spec has any such restriction.
- richard
Thomas Richardson wrote:
Hi
From my understanding of the OSGi Specification, an implementation of the specification must be executed as a Jar file, so as to be treated as the system bundle. Therefore, am I right in assuming that it
Hi all,
Anybody already tried the Felix Web Console 1.2.0 on Equinox 3.4?
I can successfully run the 1.0.0, but I fail getting things right with
1.2.0.
At the moment the bundle gets started, I get:
org.osgi.framework.BundleException: Exception in
20 matches
Mail list logo