jasco.runtime.connector
Class CombinedMethodSignature

java.lang.Object
  extended by jasco.runtime.connector.CombinedMethodSignature
All Implemented Interfaces:
ISignatureMatcher

public class CombinedMethodSignature
extends java.lang.Object
implements ISignatureMatcher

Class that represents more than one method signature binding for the same abstract method parameter e.g, two bindings: ... = new myHook({void test.boe1(), * test.*(*)}); See MethodSignature

Author:
Wim

Constructor Summary
CombinedMethodSignature(java.util.Vector v)
           
 
Method Summary
static CombinedMethodSignature build(java.util.Vector signatures)
           
 java.util.Iterator getSignatures()
           
 boolean matchesClass(java.lang.String clzName)
           
 boolean matchesClass(java.lang.String clzName, java.lang.ClassLoader classLoader)
           
 boolean matchesClass(java.lang.String clzName, javassist.ClassPool pool)
           
 boolean matchesJoinpoint(MethodJoinpoint jp)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CombinedMethodSignature

public CombinedMethodSignature(java.util.Vector v)
Method Detail

getSignatures

public java.util.Iterator getSignatures()
Specified by:
getSignatures in interface ISignatureMatcher

build

public static final CombinedMethodSignature build(java.util.Vector signatures)

matchesJoinpoint

public boolean matchesJoinpoint(MethodJoinpoint jp)
Specified by:
matchesJoinpoint in interface ISignatureMatcher

matchesClass

public boolean matchesClass(java.lang.String clzName,
                            java.lang.ClassLoader classLoader)
Specified by:
matchesClass in interface ISignatureMatcher

matchesClass

public boolean matchesClass(java.lang.String clzName)
Specified by:
matchesClass in interface ISignatureMatcher

matchesClass

public boolean matchesClass(java.lang.String clzName,
                            javassist.ClassPool pool)
Specified by:
matchesClass in interface ISignatureMatcher