Package com.portal.app.ccare.comp
Class DynamicLoader
java.lang.Object
com.portal.app.ccare.comp.DynamicLoader
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Object
createClass
(String className) Used to dynamically create instances of Customer Center beans and drilldowns and provide the ability for customers to override them.
-
Constructor Details
-
DynamicLoader
public DynamicLoader()
-
-
Method Details
-
createClass
Used to dynamically create instances of Customer Center beans and drilldowns and provide the ability for customers to override them. Specify the fully qualified class name for the Class you wish to create. This method will look through global properties to determine if that class has been overridden. If overridden, you'll get back an instance of the customized Class. If not, you'll get back an instance of the Class you have requested.
The property lookup will use the name of the class passed in with ".subclass" tacked on. So to override the class com.portal.Foo a customer would create a property entry as follows
com.portal.Foo.subclass=com.mypkg.Bar- Parameters:
className
- The class you want to dynamically instantiate- Throws:
ClassNotFoundException
-