[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: What is going on with aliases?
alesj
do-not-reply at jboss.com
Mon Jul 9 14:59:31 EDT 2007
"adrian at jboss.org" wrote : Ok, I see what you are doing.
| Each alias is associated with a name
|
|
| | <deployment xmlns="urn:jboss:bean-deployer:2.0">
| | <alias name="Test">MyAlias</alias>
| | </deployment>
| |
|
| So you're saying I want to alias the context "Test" with the new name "MyAlias".
| And this is a seperate deployment to where "Test" is defined.
|
Yup.
This is the point.
e.g. you have a deployment which already uses a lot of different names for the bean you have defined earlier.
You simply add a deployment alias.
"adrian at jboss.org" wrote :
| It's an interesting idea. But if this really is the solution then it needs some
| kind of marker in the component to say it is "NOT REAL", otherwise other
| stuff built on the deployers like what I'm going to do with the metadata
| repository and jsr77 or what the profile service is doing
| is going to get very confused. :-)
:-)
Do we have this kind of marker?
Or better, how/where do I add it? ;-)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4062104#4062104
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4062104
More information about the jboss-dev-forums
mailing list