How can the "Custom" option be used in the Data Adapter.
edited Jun 16, 2011 4:53AM in Order and Service Management (Communications Industry) (MOSC) 1 commentAnswered
You can use the Custom Data Adapter if you are following the steps in the Development Guide and JavaDoc.
OSM Developer Guide: Using Behaviors->Data Providers-Custom on page 6-35
JavaDoc: AbstractAdapter and ExternalInstanceAdapter
1) You need to create a class which will implement ExternalInstanceAdapter which you can find in the JavaDoc
2) Then you need to implement a method org.w3c.dom.Element retrieveInstance(ViewRuleContext context,
java.util.Map<java.lang.String,java.lang.Object> parameters) throws java.lang.Exception which you can find in JavaDoc for Interface ExternalInstanceAdapter.
3) Go to ../SDK/Customization and unpack oms.ear file.
Set two jar files omscommon.jar and behavior_plugins.jar in CLASSPATH
OSM Developer Guide: Using Behaviors->Data Providers-Custom on page 6-35
JavaDoc: AbstractAdapter and ExternalInstanceAdapter
1) You need to create a class which will implement ExternalInstanceAdapter which you can find in the JavaDoc
2) Then you need to implement a method org.w3c.dom.Element retrieveInstance(ViewRuleContext context,
java.util.Map<java.lang.String,java.lang.Object> parameters) throws java.lang.Exception which you can find in JavaDoc for Interface ExternalInstanceAdapter.
3) Go to ../SDK/Customization and unpack oms.ear file.
Set two jar files omscommon.jar and behavior_plugins.jar in CLASSPATH
0