[rules-users] BRMS
Carlsen, Len
len.carlsen at ubc.ca
Fri Feb 8 01:09:02 EST 2008
Hi,
I am looking at the Drools BRMS to see how I can reuse the
org.drools.brms.server.ServiceImplementation for other UI toolkits and
also be able to create my own meta-data. So, I created a plain
BRMSServiceImplementation and removed Seam and GWT from several other
classes and re-wrote the org.drools.brms.server.ServiceImplementation to
use BRMSServiceImplementation so the BRMS still works but I am having
problems with Seam org.jboss.seam.annotations.In annotation since my
BRMSServiceImplementation class uses the ServiceImplementation's
RulesRepository.
I don't know much about Seam and am wondering if anyone knows if the @In
annotation can be replaced (with another annotation???) and set to the
constructor instead of a class member variable?
@Name("org.drools.brms.client.rpc.RepositoryService")
@AutoCreate
public class ServiceImplementation
implements
RepositoryService {
@In
public RulesRepository repository;
Replace with public ServiceImplementation( RulesRepository repository )
If I can get this to work, I'd be happy to submit it to Drools.
Thanks in advance for any help,
Len
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20080207/4d6139fb/attachment.html
More information about the rules-users
mailing list