Java Reference
In-Depth Information
Note that the client application uses the vendor-specific Connection
instance to create a vendor-specific object factory. This enables
applications to connect to multiple vendor DMEs when developing
a data mining solution.
After the application creates an object factory using the connection,
it creates JDM objects using create methods provided in the factory
object. For example, to create a PhysicalDataSet object, users invoke the
create method in the PhysicalDataSetFactory object. Figure 8-16 depicts
PhysicalDataSetFactory -related objects. All other JDM objects follow the
same pattern to create JDM objects.
javax::datamining::resource
Connection
getFactory(String objectName) : Factory
Uses_
com::client
ClientApplication
Uses_
javax::datamining::data
PhysicalDataSetFactory
com::vendorA::resource
VendorAConnection
getFactory(String objectName) : Factory
Creates_
com::vendorA::data
VendorAPhysicalDataFactory
com::vendorB::resource
VendorBConnection
getFactory(String objectName) : Factory
com::vendorB::data
VendorBPhysicalDataFactory
Creates_
Figure 8-15
ObjectsFactory creation using Connection.
javax::datamining
Factory
javax::datamining::data
PhysicalDataSetFactory
create(String uri,boolean importMetaData) : PhysicalDataSet
...
Figure 8-16
PhysicalDataSetFactory.
 
Search WWH ::




Custom Search