|
Oracle Business Rules Java API Reference 10g (10.1.3.1.0) B28966-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.rules.sdk.editor.datamodel.DMService
Utility class: it converts a data model in editor into persistent format and read a persistent format back to editor data model. It also provides APIs add user path into rules SDK classloader and load a java class into the datamodel.
Field Summary | |
static java.lang.String |
FALSE |
static java.lang.String |
TRUE |
Constructor Summary | |
DMService() |
Method Summary | |
static JavaFactType |
addJavaClass(DataModel dm, java.lang.String fqn) Add a java class available for SDK classloader to data model. |
static java.util.List |
addJavaClasses(DataModel dm, java.util.List fqns) Add a list of java classes available for SDK classloader to data model. |
static void |
addUserPath(java.lang.String userpath) Add a user class path to SDK class loader |
static void |
addUserPath(java.net.URL userpathUrl) Add a user class path to SDK class loader |
static java.util.List |
getPaths() Get all user class paths from SDK class loader including the jre runtime lib (rt.jar) |
static java.lang.Object |
getReal(ModelComponent comp, java.lang.Object key) |
static java.util.List |
getUserPaths() Get all user class paths from SDK class loader |
static boolean |
removeUserPath(java.net.URL path) Remove a user class path from SDK class loader |
static void |
resetUserPath() Remove all user class paths from SDK class loader |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String TRUE
public static final java.lang.String FALSE
Constructor Detail |
public DMService()
Method Detail |
public static void addUserPath(java.lang.String userpath) throws OracleRulesException
userpath
- the java class path that could be either a zip(jar) file or an expanded directorythrown
- if the userpath is not valid.OracleRulesException
public static void addUserPath(java.net.URL userpathUrl) throws OracleRulesException
userpathUrl
- the java class path in URL format that could be either a zip(jar) file or an expanded directorythrown
- if the userpath is not valid.OracleRulesException
public static boolean removeUserPath(java.net.URL path)
path
- the java class path in URL format that could be either a zip(jar) file or an expanded directorypublic static void resetUserPath()
public static java.util.List getPaths()
public static java.util.List getUserPaths()
public static JavaFactType addJavaClass(DataModel dm, java.lang.String fqn) throws RulesSDKException
dm
- the datamodel to hold the new java fact type.fqn
- the fully qualified names for the java classRulesSDKException
public static java.util.List addJavaClasses(DataModel dm, java.util.List fqns) throws RulesSDKException
dm
- the datamodel to hold new java fact types.fqns
- a list of fully qualified names for java classesRulesSDKException
public static java.lang.Object getReal(ModelComponent comp, java.lang.Object key)
|
Oracle Business Rules Java API Reference 10g (10.1.3.1.0) B28966-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |