Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
3.0-M2
-
None
Description
Unfortunately, you currently need a reference to the JBI container (or a
ComponentContext).
But neither the JBIContainer nor the ComponentContext are available at the
time the
xbean file is loaded.
This could now be solved by using the new ClientFactory which is available
in JNDI, but has
been coded yet. Could you please raise a JIRA for that ?
For now, you need to create the JbiProxy programmaticaly from your POJO.
On 8/8/06, James Bradt <gmane.x.bradtwurst-2pMamKoQTv4@public.gmane.org> wrote:
>
> I've taken a look at the unit test for jsr181 proxy (and the small amount
> of
> info in the wiki area), but I can't seem to answer this question.
>
> Can a jsr181:proxy tag be defined within the xbean.xml for a jsr181
> service
> unit, or can it only be used within a lwcontainer service unit?
>
> If I can use it within a jsr181 service unit, what is the container name
> that I should I reference within the jsr181:proxy element?
>
> Thanks,
> James
>
>
>
>
–
Cheers,
Guillaume Nodet