| java.lang.Object org.kuali.rice.ojb.OjbPlatformConfigurer
OjbPlatformConfigurer | public class OjbPlatformConfigurer implements InitializingBean(Code) | | Utility class/bean that sets the platform OJB JDBC Connection Descriptors programmatically
at run time, so that it can be parameterized by Spring/Workflow configuration.
A map of jcdalias/datasource bean names to OJB platforms is accepted as the 'platforms' propery.
An empty key, or "DEFAULT" key is interpreted as specifying the default PersistenceBroker/jcdalias
author: Kuali Rice Team (kuali-rice@googlegroups.com) |
configureDefaultOJBConnectionDescriptor | public static void configureDefaultOJBConnectionDescriptor(String platform)(Code) | | Configures the default OJB connection descriptor to use the specified platform
Parameters: platform - the OJB platform string |
configureOJBConnectionDescriptor | public static void configureOJBConnectionDescriptor(String jcdAlias, String platform)(Code) | | Configures the specified OJB connection descriptor to use the specified platform
Parameters: jcdAlias - the jcd alias Parameters: platform - the OJB platform string |
configureOJBConnectionDescriptors | public static void configureOJBConnectionDescriptors(Map<String, String> platforms)(Code) | | Configures the OJB connection descriptors with the platforms specified in the
given Map which is taken as a map of jcdAlias->platform string.
The jcdAlias "" or "DEFAULT" (
OjbPlatformConfigurer.DEFAULT ) is
interpreted as the default connection descriptor.
Parameters: platforms - the map of jcdAlias->OJB platform string |
setPlatforms | public void setPlatforms(Map<String, String> platforms)(Code) | | Sets jcdAlias->platform string map.
Parameters: platforms - the map of jcdAlias->OJB platform string |
|
|