I'll do. It will take some time because I work with OWB only few
days ...

Martin

Gurkan Erdogdu píše v Út 23. 02. 2010 v 15:54 +0200:
> That is great Martin! Please create an JIRA issue (if it has not defined
> already) and attach your patches.
> 
> Thanks again;
> 
> --Gurkan
> 
> 2010/2/23 Martin Koci <[email protected]>
> 
> >
> > I checked some other ELResolver implementation and I noticed
> > that we (company) have already implementation of prefixed names.
> > Because we have thousands of beans their names are  cz.company prefixed.
> >
> > in ELResolver is this algorithm:
> >
> > if ("cz".equals(property)) {
> >  context.setPropertyResolved(true);
> >  return new CZPackage();
> >
> > if (base != null && base instanceof CZPackage() &&
> > "company".equals(property)) {
> >  context.setPropertyResolved(true);
> >   return CompanyPackage();
> > }
> >
> > if (base != null && base instanceof CompanyPackage) {
> >
> >        // go here in some bean registry ...
> > }
> >
> >
> > With some generalization such algorithm can be used for
> > javax.enterprise.context handling and probably for any "dotted" bean
> > name. What do you think?
> >
> >
> > Martin
> >
> > Martin Koci píše v Út 23. 02. 2010 v 14:05 +0100:
> > > "javax.enterprise.context.conversation"
> >
> >
> 
> 


Reply via email to