|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.1.0) E17493-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.jdevimpl.audit.core.ProfileBinding
public final class ProfileBinding
A binding of the visitor methods to the analyzer instances of a profile. The profile is assumed to not change. A binding may be used for multiple Audit runs. Each new run must create new bean and analyzer instances. As an optimization, some introspection results dependent on the enabled analyzers are cached. If the set of enabled analyzers changes, that cache must be invalidated.
Nested Class Summary | |
---|---|
class |
ProfileBinding.Invoker
|
Constructor Summary | |
---|---|
ProfileBinding(Profile profile)
Creates a profile binding for a profile. |
Method Summary | |
---|---|
void |
bind(java.util.Collection<TypeDefinition<Analyzer>> analyzerDefinitions,
boolean disableAssists,
java.util.Set<java.lang.String> disableAnalyzers,
java.util.Collection<Rule> rules,
java.util.Collection<Metric> metrics,
boolean forceAndVerify)
Creates the analyzer and bean instances for the bound profile. |
void |
cancelAnalyzers()
Gets the bound analyzers. |
void |
clear()
Resets this binding to its initial state. |
void |
enabledBeans(Analyzer analyzer,
java.util.Collection<Rule> rules,
java.util.Collection<Metric> metrics)
|
Analyzer |
getAnalyzer(TypeDefinition analyzerClass)
Gets the bound analyzer of a specified class. |
java.util.Collection<Analyzer> |
getAnalyzers()
|
ProfileBinding.Invoker |
getInvoker(java.lang.Class<?> constructType)
Gets the invoker for a construct type. |
java.util.List<Tuple<TypeDefinition,java.lang.reflect.Method>> |
getStartTaskMethods()
|
void |
introspectVisitorMethods(java.util.Map<TypeDefinition<Analyzer>,Analyzer> analyzers)
|
java.lang.String |
statistics()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ProfileBinding(Profile profile)
Method Detail |
---|
public void bind(java.util.Collection<TypeDefinition<Analyzer>> analyzerDefinitions, boolean disableAssists, java.util.Set<java.lang.String> disableAnalyzers, java.util.Collection<Rule> rules, java.util.Collection<Metric> metrics, boolean forceAndVerify)
public void cancelAnalyzers()
public void enabledBeans(Analyzer analyzer, java.util.Collection<Rule> rules, java.util.Collection<Metric> metrics)
public java.util.Collection<Analyzer> getAnalyzers()
public Analyzer getAnalyzer(TypeDefinition analyzerClass)
public ProfileBinding.Invoker getInvoker(java.lang.Class<?> constructType)
public java.util.List<Tuple<TypeDefinition,java.lang.reflect.Method>> getStartTaskMethods()
public void clear()
public void introspectVisitorMethods(java.util.Map<TypeDefinition<Analyzer>,Analyzer> analyzers)
public java.lang.String statistics()
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.1.0) E17493-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |