I don't think you can alias a bean in a different factory, certainly not in
a child factory because the parent has no knowledge of its child factories.

Why do you want access to the MG OrmAdapter outside of MG?


On 19 July 2011 14:00, Rawlins <[email protected]> wrote:

> Thanks for the suggestions guys.
>
> I'm giving both of them a shot.
>
> Unfortunately I can't get either of them alive, something I'm doing must be
> amiss. No matter what I do I get the exception about the ormService bean not
> being available in the factory.
>
> This is because I'm referencing this to define the orm in my own
> coldspring,xml file, like so:
>
>  <!-- ORM Framework Configuration -->
>
> <alias alias="ormAdapter" name="ormAdapter.Transfer" />
>
> <alias alias="ormService" name="ormService.Transfer" />
>
>
> But obviously the ormService.Transfer is not present when I'm initing the
> parent bean factory onApplicationStart() becuase this exists within the
> ModelGlue factory which gets created.
>
>
> Dynamic stuff aside, I think perhaps this issue is just to do with the way
> I have the parent bean factory setup.
>
>
> Any suggestions?
>
>
> Thanks,
>
>
> Robert
>
> --
> Model-Glue Sites:
> Home Page: http://www.model-glue.com
> Documentation: http://docs.model-glue.com
> Bug Tracker: http://bugs.model-glue.com
> Blog: http://www.model-glue.com/blog
>
> You received this message because you are subscribed to the Google
> Groups "model-glue" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/model-glue?hl=en
>

-- 
Model-Glue Sites:
Home Page: http://www.model-glue.com
Documentation: http://docs.model-glue.com
Bug Tracker: http://bugs.model-glue.com
Blog: http://www.model-glue.com/blog

You received this message because you are subscribed to the Google
Groups "model-glue" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/model-glue?hl=en

Reply via email to