WLDFBeanpublic interface WLDFInstrumentationBean extends WLDFBean
Use this interface to configure server-scope and application-scope instrumentation for diagnostic monitors that will execute diagnostic code at selected locations in server or application code.
| Modifier and Type | Method | Description | 
|---|---|---|
| WLDFInstrumentationMonitorBean | createWLDFInstrumentationMonitor(java.lang.String name) | Adds the specified diagnostic monitor to this
 instrumentation scope, which could be server or application
 scope. | 
| void | destroyWLDFInstrumentationMonitor(WLDFInstrumentationMonitorBean monitor) | Removes the specified diagnostic monitor from this
 instrumentation scope. | 
| java.lang.String[] | getExcludes() | Pattern expressions for classes that will be excluded
 from this instrumentation scope. | 
| java.lang.String[] | getIncludes() | Pattern expressions for classes that are included in this
 instrumentation scope. | 
| WLDFInstrumentationMonitorBean[] | getWLDFInstrumentationMonitors() | The diagnostic monitors defined in this instrumentation
 scope. | 
| boolean | isEnabled() | The state of the instrumentation behavior for the server or
 application. | 
| void | setEnabled(boolean value) | Sets the value of the Enabled attribute. | 
| void | setExcludes(java.lang.String[] expr) | Sets the value of the Excludes attribute. | 
| void | setIncludes(java.lang.String[] expr) | Sets the value of the Includes attribute. | 
boolean isEnabled()
The state of the instrumentation behavior for the server or
 application. If false, there will no weaving
 (inserting of diagnostic code) in the application or server code
 during class loading. In addition, if woven classes are already
 loaded, disabling instrumentation will disable all the monitors in
 this scope.
void setEnabled(boolean value)
Sets the value of the Enabled attribute.
isEnabled()java.lang.String[] getIncludes()
Pattern expressions for classes that are included in this instrumentation scope. If specified, only included classes will be instrumented. If not specified, all classes loaded within the application and which are not explicitly excluded are eligible for instrumentation.
A pattern can end with an asterisk (*), in which case
 it will match with all classes whose fully qualified classname starts
 with the prefix of the pattern. For example, weblogic.rmi.*
 will match with all classes in weblogic.rmi and its 
 subpackages.
getExcludes()void setIncludes(java.lang.String[] expr)
Sets the value of the Includes attribute.
expr - String array of expressions specifying the classes to be included in the instrumentationgetIncludes()java.lang.String[] getExcludes()
Pattern expressions for classes that will be excluded from this instrumentation scope. If specified, classes matching given patterns will not be instrumented.
getIncludes()void setExcludes(java.lang.String[] expr)
Sets the value of the Excludes attribute.
expr - String array containing the pattern expressions for the excluded classesgetExcludes()WLDFInstrumentationMonitorBean[] getWLDFInstrumentationMonitors()
The diagnostic monitors defined in this instrumentation scope.
WLDFInstrumentationMonitorBean createWLDFInstrumentationMonitor(java.lang.String name)
Adds the specified diagnostic monitor to this instrumentation scope, which could be server or application scope.
name - A unique name to identify the monitor in this scope.getWLDFInstrumentationMonitors()void destroyWLDFInstrumentationMonitor(WLDFInstrumentationMonitorBean monitor)
Removes the specified diagnostic monitor from this instrumentation scope.
monitor - The name of the monitor to removeMonitorNotFoundException - The named monitor does not exist in the scope of this instrumentation manager.