[jboss-jira] [JBoss JIRA] Updated: (JBCL-168) Add support for getModule() on Requirement/Capability

Ales Justin (JIRA) jira-events at lists.jboss.org
Mon May 16 11:31:01 EDT 2011


     [ https://issues.jboss.org/browse/JBCL-168?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ales Justin updated JBCL-168:
-----------------------------

    Fix Version/s:     (was: JBossCL.2.2.0.Alpha6)


> Add support for getModule() on Requirement/Capability
> -----------------------------------------------------
>
>                 Key: JBCL-168
>                 URL: https://issues.jboss.org/browse/JBCL-168
>             Project: JBoss ClassLoader
>          Issue Type: Task
>            Reporter: Thomas Diesler
>            Assignee: Ales Justin
>
> An alterante would be adding a mixin index to Capability so that you can get the Module, with AbstractCapability implementing it instead for this.
> e.g.
> public interface CapabilityModule
> {
>     Module.getModule();
> }
> if (capability instanceof CapabilityModule)
> {
>     resolved = ((CapabilityModule) capability).getModule().isResovled():
> }

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list