>From: "Rogerio Pereira" <[EMAIL PROTECTED]> 
>
> Sean, i also noted that Shale only register one Variable/Property resolver, 
> if i have more than one Variable/Property Resolver packaged in different 
> jars only the first found is registered, this is correct? 
> 

The Variable/Property Resolver both are decorators of the original resolver.  
The original is passed in on the constructor.  Anything that the custom 
resolver is not interested in handling is dispatched to the original.  So, if 
there are several registered resolvers, they are linked together.

I don't believe that there is a way to specify the order that these are 
registered.  I believe it has to do with the name of the jar but I might be 
making that up.

If a custom resolver didn't follow the correct pattern and didn't capture the 
original resolver passed on the constructor, it could cause other dependencies 
to fail.

Gary

Reply via email to