protected static boolean isDumpGeneratedClassesIntermediate() { if (allowConfigUpdate()) { synchronized (configLock) { return dumpGeneratedClassesIntermediate; } } return dumpGeneratedClassesIntermediate; }
protected static boolean isDumpGeneratedClassesIntermediate() { if (allowConfigUpdate()) { synchronized (configLock) { return dumpGeneratedClassesIntermediate; } } return dumpGeneratedClassesIntermediate; }
protected static String getDumpGeneratedClassesDir() { if (allowConfigUpdate()) { synchronized (configLock) { return dumpGeneratedClassesDir; } } return dumpGeneratedClassesDir; }
protected static boolean isDumpGeneratedClasses() { if (allowConfigUpdate()) { synchronized (configLock) { return dumpGeneratedClasses; } } return dumpGeneratedClasses; }
protected static boolean isDumpGeneratedClasses() { if (allowConfigUpdate()) { synchronized (configLock) { return dumpGeneratedClasses; } } return dumpGeneratedClasses; }
protected static String getDumpGeneratedClassesDir() { if (allowConfigUpdate()) { synchronized (configLock) { return dumpGeneratedClassesDir; } } return dumpGeneratedClassesDir; }
/** * check whether compilation of rules is enabled or disabled * @return true if compilation of rules is enabled etherwise false */ public static boolean isCompileToBytecode() { if (allowConfigUpdate()) { synchronized (configLock) { return compileToBytecode; } } return compileToBytecode; }
/** * check whether downcasts in bindings are disallowed. * @return true if downcasts in bindings are disallowed otherwise false */ public static boolean disallowDowncast() { if (allowConfigUpdate()) { synchronized (configLock) { return disallowDowncast; } } return disallowDowncast; }
/** * check whether verbose mode for rule processing is enabled or disabled * @return true if verbose mode is enabled etherwise false */ public static boolean isVerbose() { if (allowConfigUpdate()) { synchronized (configLock) { return verbose; } } return verbose; }
/** * check whether dumping of the control flow graph for the trigger class during construction is enabled * @return true if dumping is enabled etherwise false */ public static boolean isDumpCFGPartial() { if (allowConfigUpdate()) { synchronized (configLock) { return dumpCFGPartial; } } return dumpCFGPartial; }
/** * check whether debug mode for rule processing is enabled or disabled * @return true if debug mode is enabled or verbose mode is enabled otherwise false */ public static boolean isDebug() { if (allowConfigUpdate()) { synchronized (configLock) { return debug || verbose; } } return debug || verbose; }
/** * check whether dumping of the control flow graph for the trigger class is enabled * @return true if dumping is enabled etherwise false */ public static boolean isDumpCFG() { if (allowConfigUpdate()) { synchronized (configLock) { return dumpCFG; } } return dumpCFG; }
/** * check whether dumping of the control flow graph for the trigger class during construction is enabled * @return true if dumping is enabled etherwise false */ public static boolean isDumpCFGPartial() { if (allowConfigUpdate()) { synchronized (configLock) { return dumpCFGPartial; } } return dumpCFGPartial; }
/** * check whether debug mode for rule processing is enabled or disabled * @return true if debug mode is enabled or verbose mode is enabled otherwise false */ public static boolean isDebug() { if (allowConfigUpdate()) { synchronized (configLock) { return debug || verbose; } } return debug || verbose; }
/** * check whether compilation of rules is enabled or disabled * @return true if compilation of rules is enabled etherwise false */ public static boolean isCompileToBytecode() { if (allowConfigUpdate()) { synchronized (configLock) { return compileToBytecode; } } return compileToBytecode; }
/** * check whether downcasts in bindings are disallowed. * @return true if downcasts in bindings are disallowed otherwise false */ public static boolean disallowDowncast() { if (allowConfigUpdate()) { synchronized (configLock) { return disallowDowncast; } } return disallowDowncast; }
/** * check whether verbose mode for rule processing is enabled or disabled * @return true if verbose mode is enabled etherwise false */ public static boolean isVerbose() { if (allowConfigUpdate()) { synchronized (configLock) { return verbose; } } return verbose; }
/** * check whether dumping of the control flow graph for the trigger class is enabled * @return true if dumping is enabled etherwise false */ public static boolean isDumpCFG() { if (allowConfigUpdate()) { synchronized (configLock) { return dumpCFG; } } return dumpCFG; }
/** * notify a change to an org.jboss.byteman.* system property so that the agent can choose to update its * configuration. n.b. this method is not synchronized because there is an implicit assumption that it is * called from the the listener thread immediately after it has updated the property and that no other * thread will modify org.jboss.byteman.* properties * @param property an org.jboss.byteman.* system property which has been updated. */ public void updateConfiguration(String property) { if (allowConfigUpdate() && property.startsWith(BYTEMAN_PACKAGE_PREFIX)) { checkConfiguration(property); } }
/** * notify a change to an org.jboss.byteman.* system property so that the agent can choose to update its * configuration. n.b. this method is not synchronized because there is an implicit assumption that it is * called from the the listener thread immediately after it has updated the property and that no other * thread will modify org.jboss.byteman.* properties * @param property an org.jboss.byteman.* system property which has been updated. */ public void updateConfiguration(String property) { if (allowConfigUpdate() && property.startsWith(BYTEMAN_PACKAGE_PREFIX)) { checkConfiguration(property); } }