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

Thomas Diesler (JIRA) jira-events at lists.jboss.org
Thu Jun 17 06:51:51 EDT 2010


Add support for getModule() on Requirement/Capability
-----------------------------------------------------

                 Key: JBCL-168
                 URL: https://jira.jboss.org/browse/JBCL-168
             Project: JBoss ClassLoader
          Issue Type: Task
            Reporter: Thomas Diesler
            Assignee: Thomas Diesler
             Fix For: JBossCL.2.2.0.Beta1


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.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list