aspect of the build environment.
Neil
On Tue, Apr 30, 2013 at 7:42 PM, lessonz lessonz.leg...@gmail.com
wrote:
My understanding is it has nothing to do with iPOJO and everything to do
with how Java handles annotations.
On Apr 30, 2013 12:34 PM, Michiel Vermandel mverm...@yahoo.com
wrote
It's been my experience this does not work.
On Tue, Apr 30, 2013 at 6:12 AM, Michiel Vermandel mverm...@yahoo.comwrote:
Hello,
Can I use @Requires on a field of a (Abstract) class that will be extended?
Of course only the extending classes will be instantiated.
Thank you
for this...
-
http://www.codessentials.com - Your essential software, for free!
Follow us at http://twitter.com/#!/Codessentials
From: lessonz lessonz.leg...@gmail.com
To: users@felix.apache.org; Michiel Vermandel mverm...@yahoo.com
Sent: Tuesday, April 30
I'm trying to use the @ServiceController annotation to handle registering a
service. In this case I need to use it because I have a field the service
really should have an @Requires relationship with, but I cannot use that
annotation because I also need to provide a setter. So, that setter uses
I should also add if I use:
@ServiceController
private boolean valid;
it appears to work.
On Wed, Apr 24, 2013 at 10:52 AM, lessonz lessonz.leg...@gmail.com wrote:
I'm trying to use the @ServiceController annotation to handle registering
a service. In this case I need to use
Just realized ServiceController has a default value of true. So, that's why
it appears to be working. So, it seems my @Bind is never being called.
On Wed, Apr 24, 2013 at 11:08 AM, lessonz lessonz.leg...@gmail.com wrote:
I should also add if I use:
@ServiceController
private boolean
For anyone who may find this, the problem, as indicated in my last message,
was the @Bind annotated method was not being called. This was due to the
method being named setX rather than bindX AND Bind's id attribute not being
set. Hope that helps someone.
On Wed, Apr 24, 2013 at 2:38 PM, lessonz
Perhaps you aren't instantiating it by way of metadata or the @Instantiate
annotation?
On Apr 24, 2013 10:44 PM, Michiel Vermandel mverm...@yahoo.com wrote:
Hi,
I'm new to iPOJO, so I hope I did not overlook the obvious.
I created a simple bundle with one class that has the @Component an
I am posting to this list as I believe my issue is either related to OSGi
in general or to embedding Felix specifically not to any shortcoming on the
part of BouncyCastle.
I have a super-jar in which I embed the Felix framework as well as a number
of bundles. At runtime this bundles are loaded as
I have a field for which I'd like to use the @Requires annotation with a
filter. That works just fine, but in a test environment I'd like to be able
to use a setter to replace the service represented by this field at
runtime. That is, the @Requires has been fulfilled, and I want to replace
it by
Thanks Felix.
On Thu, Feb 28, 2013 at 1:02 PM, Felix Meschberger fmesc...@adobe.comwrote:
Hi
I fear you would have to contact the PAX people general (at) ops4j (dot)
org.
Regards
Felix
Am 28.02.2013 um 20:56 schrieb lessonz:
I have an app wherein I'm deploying the Felix framework
. 2012, at 01:36, lessonz lessonz.leg...@gmail.com wrote:
Okay, so I realized I'd been ignoring an error. There is an error I'd be
unintentionally ignoring:
[Thread-1] ERROR com.sample.bundle - [ERROR]
com.sample.SampleServiceImpl : Service Providing: The service
specification
the error even if I have SampleServiceImpl
import ICoreService directly. If I make ISampleService NOT extend
ICoreService, the error goes away (makes sense) and SampleServiceImpl gets
instantiated no problem.
Any ideas would be greatly appreciated.
Thanks
On Oct 18, 2012 7:14 PM, lessonz lessonz.leg
I’m using IPOJO.
Okay, I’ve got one that has me stumped. I have a component with some member
components:
@Component
@Instantiate
@Provides
public class SampleServiceImpl implements ISampleService {
@Requires
private ITestAService testAService;
I have a standalone application in which I've embedded Felix basically
following the process outlined here:
https://felix.apache.org/site/apache-felix-framework-launching-and-embedding.html
This application is a super or uber jar that embeds all of the necessary
bundles:
plugins
Tried using that, but that didn't work; it looks like it exports net.json.
But one of my buddies found:
dependency
groupIdorg.json/groupId
artifactIdcom.springsource.org.json/artifactId
version1.0.0/version
/dependency
And that appears to have
um 18:35 schrieb lessonz:
Okay, so I'm probably missing something elementary, but I tried replacing
dependency
groupIdorg.apache.felix/groupId
artifactIdorg.osgi.compendium/artifactId
version1.4.0/version
/dependency
So, I'm trying to use Pax Logging in a bundle:
dependency
groupIdlog4j/groupId
artifactIdlog4j/artifactId
version1.2.17/version
/dependency
dependency
groupIdorg.ops4j.pax.logging/groupId
Okay, I'm probably missing something rudimentary, but I'm at a bit of a
loss. I have an application embedding Felix:
plugin
groupIdorg.apache.felix/groupId
artifactIdmaven-bundle-plugin/artifactId
extensionstrue/extensions
This MIGHT help:
https://thecarlhall.wordpress.com/2012/01/19/understanding-the-unresolved-constraint-missing-resource-message-from-apache-felix/
On Mon, Jul 2, 2012 at 12:22 PM, maria Din mariadin...@gmail.com wrote:
Hello,
I use felix.
I need in my project (bundle) a class that exists in a
20 matches
Mail list logo