Package | Description |
---|---|
org.apache.hivemind.methodmatch | |
org.apache.hivemind.service |
Definitions of services provided by the
hivemind module. |
org.apache.hivemind.service.impl |
Implementations of services provided by the
hivemind module. |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
MethodMatcher.get(MethodSignature sig)
Returns a pattern value prevoiusly stored via
MethodMatcher.put(String, Object) . |
boolean |
CompositeFilter.matchMethod(MethodSignature sig) |
boolean |
ExactNameFilter.matchMethod(MethodSignature sig) |
boolean |
InfixNameFilter.matchMethod(MethodSignature sig) |
boolean |
MatchAllFilter.matchMethod(MethodSignature sig)
Returns true, always.
|
abstract boolean |
MethodFilter.matchMethod(MethodSignature signature)
Analyzes the method (its name, its parameters, etc.) and returns true
if the method matches the filter defined by a subclass.
|
boolean |
NamePrefixFilter.matchMethod(MethodSignature sig) |
boolean |
NameSuffixFilter.matchMethod(MethodSignature sig) |
boolean |
ParameterCountFilter.matchMethod(MethodSignature method) |
boolean |
ParameterFilter.matchMethod(MethodSignature sig) |
Modifier and Type | Method and Description |
---|---|
MethodSignature |
MethodIterator.next()
Returns the next method (as a
MethodSignature , returning null when all are
exhausted. |
Modifier and Type | Method and Description |
---|---|
MethodFab |
ClassFab.addMethod(int modifiers,
MethodSignature signature,
java.lang.String body)
Adds a method.
|
void |
InterfaceFab.addMethod(MethodSignature signature)
Adds the method to the interface.
|
static void |
ClassFabUtils.addNoOpMethod(ClassFab cf,
MethodSignature m)
Adds a method that does nothing.
|
boolean |
ClassFab.containsMethod(MethodSignature signature)
Convenience method for checking whether the fabricated class already contains
a method.
|
MethodFab |
ClassFab.getMethodFab(MethodSignature signature)
Returns a previous defined method so that it can be further enhanced
(perhaps by adding additional catches, etc.).
|
boolean |
MethodSignature.isOverridingSignatureOf(MethodSignature ms)
Returns true if this signature has the same return type, name and parameters types as the
method signature passed in, and this signatures exceptions "trump" (are the same as, or
super-implementations of, all exceptions thrown by the other method signature).
|
Modifier and Type | Method and Description |
---|---|
MethodFab |
ClassFabImpl.addMethod(int modifiers,
MethodSignature ms,
java.lang.String body) |
void |
InterfaceFabImpl.addMethod(MethodSignature ms) |
protected void |
LoggingInterceptorFactory.addServiceMethodImplementation(ClassFab classFab,
MethodSignature sig) |
boolean |
ClassFabImpl.containsMethod(MethodSignature ms) |
MethodFab |
ClassFabImpl.getMethodFab(MethodSignature ms) |