org.shiftone.jrat.core.config
Class Configuration

java.lang.Object
  extended by org.shiftone.jrat.core.config.Configuration
All Implemented Interfaces:
MethodCriteria

public class Configuration
extends java.lang.Object
implements MethodCriteria

This class represents the overall configuration of which handlers should be associated to which methods/classes. The MethodCriteria methods on this class can be used to determine what classes and methods jrat cares about at a high level - perhaps to govern the behavior of injection.

Author:
jeff@shiftone.org (Jeff Drost)

Field Summary
 
Fields inherited from interface org.shiftone.jrat.core.criteria.MethodCriteria
ALL, DEFAULT, NONE
 
Constructor Summary
Configuration()
           
 
Method Summary
protected  void addClassExclude(java.lang.String className)
           
protected  Profile createProfile()
           
protected  java.util.List getProfiles()
           
 Settings getSettings()
           
 boolean isMatch(java.lang.String className, long modifier)
          should a class with these attributes be matched?
 boolean isMatch(java.lang.String className, java.lang.String methodName, java.lang.String signature, long modifier)
          should a method with these attributes be matched?
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Configuration

public Configuration()
Method Detail

addClassExclude

protected void addClassExclude(java.lang.String className)

createProfile

protected Profile createProfile()

isMatch

public boolean isMatch(java.lang.String className,
                       long modifier)
Description copied from interface: MethodCriteria
should a class with these attributes be matched?

Specified by:
isMatch in interface MethodCriteria

isMatch

public boolean isMatch(java.lang.String className,
                       java.lang.String methodName,
                       java.lang.String signature,
                       long modifier)
Description copied from interface: MethodCriteria
should a method with these attributes be matched?

Specified by:
isMatch in interface MethodCriteria

getProfiles

protected java.util.List getProfiles()

getSettings

public Settings getSettings()