Oracle™ Business Intelligence Beans Java API Reference
Release 10
g (9.0.4)
Part number B12159_01


oracle.dss.bicontext
Interface ObjectFactory

All Known Implementing Classes:
CalcStep

public interface ObjectFactory

Methods that are required for instantiating Persistable objects from XML representations in the BI Beans Catalog.


Method Summary
 void dump()
          Sends to the console a list of registered object types and their classnames.
 java.lang.String getObjectInstanceClassName(java.lang.String objType)
          Retrieves the class name of an object that would be created with the specified object type.
 void setObjectInstanceClassName(java.lang.String objType, java.lang.String instanceClassName)
          Specifies the class to use to instantiate objects of a specified type.

 

Method Detail

getObjectInstanceClassName

public java.lang.String getObjectInstanceClassName(java.lang.String objType)
Retrieves the class name of an object that would be created with the specified object type.
Parameters:
objType - The type of object whose class name you want. Pass one of the values of the OBJECT_TYPE attribute, as defined in PersistableConstants class.
Returns:
The name of the class that is used to instantiate objects of objType.
See Also:
PersistableConstants, PersistableConstants.Attributes.OBJECT_TYPE

setObjectInstanceClassName

public void setObjectInstanceClassName(java.lang.String objType,
                                       java.lang.String instanceClassName)
Specifies the class to use to instantiate objects of a specified type. Call this method to specify, for example, whether to instantiate a crosstab as a Crosstab or as a ThinCrosstab. Call this method once for each object type that your application will load from the BI Beans Catalog.
Parameters:
objType - The type of object for which the class will be used. Pass one of the values of the OBJECT_TYPE attribute, as defined in PersistableConstants class.
See Also:
PersistableConstants, PersistableConstants.Attributes.OBJECT_TYPE

dump

public void dump()
Sends to the console a list of registered object types and their classnames.

Oracle™ Business Intelligence Beans Java API Reference
Release 10
g (9.0.4)
Part number B12159_01


Copyright © 2003, Oracle. All Rights Reserved.