Class CCConfigurationObjectLoader

java.lang.Object
org.eclnt.jsfserver.configuration.CCConfigurationObjectLoader

public class CCConfigurationObjectLoader extends Object
Central class for loading configuration objects.

Example: in system.xml there are a couple of definitions to class names in which the user can define the name of classes implementing corresponding interfaces. Object instances are not directly resolved by "class.forName(...)" and then calling the constructor. but are resolved using this CCConfigurationObjectLoader.

There are two reasons:

1. Maybe the resolution of the objects is done within a framework context in which the creation is done by a injection framework (e.g. Spring) so that the creation is not done through a simple constructor.

2. Security: you may explicitly control which classes are loaded within your application.
  • Constructor Details

    • CCConfigurationObjectLoader

      public CCConfigurationObjectLoader()
  • Method Details