]
Ales Justin updated JBCL-167:
-----------------------------
Fix Version/s: (was: JBossCL.2.2.0.Alpha6)
Mixin interface for optimized requirement resolution
----------------------------------------------------
Key: JBCL-167
URL:
https://issues.jboss.org/browse/JBCL-167
Project: JBoss ClassLoader
Issue Type: Task
Reporter: Thomas Diesler
Assignee: Ales Justin
/**
* 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.
For more information on JIRA, see: