[jboss-jira] [JBoss JIRA] Created: (JBCL-167) Mixin interface for optimized requirement resolution

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


Mixin interface for optimized requirement resolution
----------------------------------------------------

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


/**
* Mixin interface for custom resolution by a requirement
*/

public interface CustomResolution extends Requirement
{
    /**
     * Resolve the requirement
     *
     * @param domain the domain against which to resolve
     * @return the resolved module or null if it is not resolved
     */
    Module resolves(Domain domain);
}

if (requirement instanceof CustomResolution)
   return requirement.resolves(this);
else
   // do old code


-- 
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