[jboss-jira] [JBoss JIRA] Assigned: (JBMICROCONT-174) Add API for dynamic aliases
Ales Justin (JIRA)
jira-events at lists.jboss.org
Tue Jul 3 04:10:57 EDT 2007
[ http://jira.jboss.com/jira/browse/JBMICROCONT-174?page=all ]
Ales Justin reassigned JBMICROCONT-174:
---------------------------------------
Assignee: Ales Justin
> Add API for dynamic aliases
> ---------------------------
>
> Key: JBMICROCONT-174
> URL: http://jira.jboss.com/jira/browse/JBMICROCONT-174
> Project: JBoss MicroContainer
> Issue Type: Sub-task
> Components: Dependency
> Reporter: Adrian Brock
> Assigned To: Ales Justin
> Fix For: JBossMC_2_0_0_CR1
>
>
> Besides the static aliases defined upfront in for example the beans xml,
> an additional feature is to be able to add dynamic aliases as well.
> For example. If a bean is deployed with something like:
> <bean name="POJOName">
> <annotation>@JMX(objectName="com.acme:a=b")</annotation>
> Then that ObjectName could also be an alias for POJOName context added "dynamically" by the JMX Decorator.
> This would involve two new methods on the Controller interface:
> addAlias(Object alias, Object original);
> removeAlias(Object alias);
> Initially, for simplicty, we should apply the following constraints:
> 1) The "original" name must already exist.
> 2) The person that adds the alias is expected to remove the alias.
> A full solution would require keeping track of aliases and originals and also define a correct way of handling
> broken aliases with the caller having to do it themselves.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list