felix-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Juan Arias <hwan...@gmail.com>
Subject doubt...
Date Fri, 06 May 2011 10:33:47 GMT
First of all, greetings and congrats for the hard work

My doubt:
I'm using ipojo annotations to build a sort of modular web application, so I
have to deal with "session" stuff,
what I'm doing right now is using a Factory of a given name to create
instances for each new session created

@Requires(name="webappFactory")
Factory webapp;

is there a means of via API obtain the factory for a certain Component??
Something like:

Factory factory = XXX.getFactoryFor(String name);

my problem is on session cleaning, when session is cleared I need to harvest
all created Instances of such session
and dispose them...

Thanks!!!
-- 
Juan Arias

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message