Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.3.0)

E17493-04


oracle.jdevimpl.audit.core
Class ProfileBinding

java.lang.Object
  extended by oracle.jdevimpl.audit.core.ProfileBinding


public final class ProfileBinding
extends java.lang.Object

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

ProfileBinding

public ProfileBinding(Profile profile)
Creates a profile binding for a profile.

Method Detail

bind

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)
Creates the analyzer and bean instances for the bound profile.

cancelAnalyzers

public void cancelAnalyzers()
Gets the bound analyzers.

enabledBeans

public void enabledBeans(Analyzer analyzer,
                         java.util.Collection<Rule> rules,
                         java.util.Collection<Metric> metrics)

getAnalyzers

public java.util.Collection<Analyzer> getAnalyzers()

getAnalyzer

public Analyzer getAnalyzer(TypeDefinition analyzerClass)
Gets the bound analyzer of a specified class.

getInvoker

public ProfileBinding.Invoker getInvoker(java.lang.Class<?> constructType)
Gets the invoker for a construct type.

getStartTaskMethods

public java.util.List<Tuple<TypeDefinition,java.lang.reflect.Method>> getStartTaskMethods()

clear

public void clear()
Resets this binding to its initial state.

introspectVisitorMethods

public void introspectVisitorMethods(java.util.Map<TypeDefinition<Analyzer>,Analyzer> analyzers)

statistics

public java.lang.String statistics()

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.3.0)

E17493-04


Copyright © 1997, 2012, Oracle. All rights reserved.