How to use unloadClass in Java to un-load Decision table at run time

How to use unloadClass in Java to un-load Decision table at run time

book

Article ID: KB0089924

calendar_today

Updated On:

Products Versions
TIBCO BusinessEvents Enterprise Edition -
Not Applicable -

Description

Description:
If you want to use CacheClusterMBean.unloadClass(String vrfUri, String implName) in java, you need to fill in the two parameters as project path to the virtual rule function and the decision table name.

Resolution

You can fill in the two parameters as project path to the virtual rule function and the decision table name. For instance: "/RuleFunctions/VRF","DT1". VRF is virtual rule function and DT1 is the table name. This is similar to use JConsole to execute unloadClass method from GUI.

Attached are Sample Java Code/output and BE project/log for testing.In Java, you need to configure “cep-common.jar” before running the Java code. Then,

1).  Start Cache agent first.

2. Execute the Java code.

3). See the unload information from the generated log. (*:all log level)

Issue/Introduction

How to use unloadClass in Java to un-load Decision table at run time

Additional Information

KB:34378

Attachments

How to use unloadClass in Java to un-load Decision table at run time get_app