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

Ales Justin (JIRA) jira-events at lists.jboss.org
Thu Jun 17 07:44:46 EDT 2010


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

Ales Justin reassigned JBCL-167:
--------------------------------

    Assignee: Ales Justin  (was: Thomas Diesler)


> 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: Ales Justin
>             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