org.jboss.jca.common.metadata.merge
Interface ExtensionMatcher<T,S>

Type Parameters:
T - type one
S - type two

public interface ExtensionMatcher<T,S>

A ExtensionMatcher.

Author:
Stefano Maestri

Method Summary
 boolean match(T left, S right)
          Match two Onject of give generics type as mergeable each other
 

Method Detail

match

boolean match(T left,
              S right)
Match two Onject of give generics type as mergeable each other

Parameters:
left - an object of T type
right - an object of S type
Returns:
true if objects could be considered mergeable. IOW if they refer to same artifact


Copyright © 2012 JBoss, by Red Hat (http://www.jboss.org/ironjacamar)