[jboss-jira] [JBoss JIRA] Resolved: (JBCL-168) Add support for getModule() on Requirement/Capability
Thomas Diesler (JIRA)
jira-events at lists.jboss.org
Wed Jul 27 07:47:25 EDT 2011
[ https://issues.jboss.org/browse/JBCL-168?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Thomas Diesler resolved JBCL-168.
---------------------------------
Resolution: Out of Date
Out of Date
> 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