[
http://jira.magnolia-cms.com/browse/MAGNOLIA-3085?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=26558#action_26558
]
Grégory Joseph edited comment on MAGNOLIA-3085 at 2/16/10 3:20 PM:
-------------------------------------------------------------------
This is now possible:
{code}
// yay, no cast needed.
final CoreModule result = reg.getModuleInstance(CoreModule.class);
{code}
Although you don't *have to* add an inline comment starting with the word "yay".
was (Author: gjoseph):
This is now possible:
{code}
// yay, no cast needed.
final CoreModule result = reg.getModuleInstance(CoreModule.class);
{code}
Although you don't *have to* add an inline comment starting with the word "yay".
> Allow to retrieve module instances by class rather than by name
> ---------------------------------------------------------------
>
> Key: MAGNOLIA-3085
> URL: http://jira.magnolia-cms.com/browse/MAGNOLIA-3085
> Project: Magnolia
> Issue Type: Improvement
> Components: core, updatemechanism
> Reporter: Grégory Joseph
> Assignee: Grégory Joseph
> Fix For: 4.3
>
>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.magnolia-cms.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------