|
Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.2.1) Part Number E55141-01 P4 Change 1723563 on 2015/10/09 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface WLDFInstrumentationBean
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.
Method Summary | |
---|---|
abstract WLDFInstrumentationMonitorBean |
createWLDFInstrumentationMonitor(String name) Adds the specified diagnostic monitor to this instrumentation scope, which could be server or application scope. |
abstract void |
destroyWLDFInstrumentationMonitor(WLDFInstrumentationMonitorBean monitor) Removes the specified diagnostic monitor from this instrumentation scope. |
abstract String[] |
getExcludes() Pattern expressions for classes that will be excluded from this instrumentation scope. |
abstract String[] |
getIncludes() Pattern expressions for classes that are included in this instrumentation scope. |
abstract WLDFInstrumentationMonitorBean[] |
getWLDFInstrumentationMonitors() The diagnostic monitors defined in this instrumentation scope. |
abstract boolean |
isEnabled() The state of the instrumentation behavior for the server or application. |
abstract void |
setEnabled(boolean value) Sets the value of the Enabled attribute. |
abstract void |
setExcludes(String[] expr) Sets the value of the Excludes attribute. |
abstract void |
setIncludes(String[] expr) Sets the value of the Includes attribute. |
Methods inherited from interface weblogic.diagnostics.descriptor.WLDFBean |
---|
getId, getName |
Method Detail |
---|
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.
WLDFInstrumentationBean.isEnabled()
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.
WLDFInstrumentationBean.getExcludes()
void setIncludes(String[] expr)
Sets the value of the Includes attribute.
expr
- String array of expressions specifying the classes to be included in the instrumentationWLDFInstrumentationBean.getIncludes()
String[] getExcludes()
Pattern expressions for classes that will be excluded from this instrumentation scope. If specified, classes matching given patterns will not be instrumented.
WLDFInstrumentationBean.getIncludes()
void setExcludes(String[] expr)
Sets the value of the Excludes attribute.
expr
- String array containing the pattern expressions for the excluded classesWLDFInstrumentationBean.getExcludes()
WLDFInstrumentationMonitorBean[] getWLDFInstrumentationMonitors()
The diagnostic monitors defined in this instrumentation scope.
WLDFInstrumentationMonitorBean createWLDFInstrumentationMonitor(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.WLDFInstrumentationBean.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.
|
Copyright 1996, 2015, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.2.1) Part Number E55141-01 P4 Change 1723563 on 2015/10/09 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |