@Deprecated public class BaseOjbConfigurer extends BaseLifecycle implements org.springframework.beans.factory.InitializingBean
| Modifier and Type | Field and Description |
|---|---|
protected List<String> |
additionalMetadataLocations
Deprecated.
|
protected String[] |
jcdAliases
Deprecated.
The OJB JCD aliases
|
protected String |
metadataLocation
Deprecated.
The location of the OJB repository/metadata descriptor
|
static String |
OJB_PROPERTIES_PROP
Deprecated.
|
static String |
RICE_OJB_PROPERTIES_PARAM
Deprecated.
|
| Constructor and Description |
|---|
BaseOjbConfigurer()
Deprecated.
No-arg constructor
|
BaseOjbConfigurer(String moduleName)
Deprecated.
Constructor that derives jcd aliases and repository metadata location from the module name
jcdAliases = [ moduleName.toLowerCase() + "DataSource" ]
metadataLocation = "classpath:OJB-repository-" + moduleName.toLowerCase() + ".xml";
|
BaseOjbConfigurer(String[] jcdAliases,
String metadataLocation)
Deprecated.
Constructor which takes the jcdAliases and metadata location
|
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet()
Deprecated.
|
protected void |
establishConnectionMetaData(org.apache.ojb.broker.metadata.MetadataManager mm)
Deprecated.
|
protected void |
establishRepositoryMetaData(org.apache.ojb.broker.metadata.MetadataManager mm)
Deprecated.
|
List<String> |
getAdditionalMetadataLocations()
Deprecated.
List of additional OJB descriptor files to include with the connect
|
protected String[] |
getJcdAliases()
Deprecated.
Return the jcd alias of the connection loaded by the connection metadata.
|
protected String |
getMetadataLocation()
Deprecated.
Should return a String representing the location of a file to load OJB connection and
repository metadata from.
|
protected String |
getOjbPropertiesLocation()
Deprecated.
|
protected boolean |
isConnectionAlreadyConfigured(org.apache.ojb.broker.metadata.MetadataManager mm)
Deprecated.
|
protected InputStream |
preprocessConnectionMetadata(InputStream inputStream)
Deprecated.
|
protected InputStream |
preprocessRepositoryMetadata(InputStream inputStream)
Deprecated.
|
void |
setAdditionalMetadataLocations(List<String> additionalMetadataLocations)
Deprecated.
Setter for additional ojb metadata files
|
void |
setJcdAliases(String[] jcdAliases)
Deprecated.
|
void |
setMetadataLocation(String metadataLocation)
Deprecated.
|
void |
start()
Deprecated.
|
void |
stop()
Deprecated.
|
isStarted, setStartedpublic static final String RICE_OJB_PROPERTIES_PARAM
public static final String OJB_PROPERTIES_PROP
protected String[] jcdAliases
protected String metadataLocation
protected List<String> additionalMetadataLocations
public BaseOjbConfigurer()
public BaseOjbConfigurer(String moduleName)
moduleName - the module namepublic BaseOjbConfigurer(String[] jcdAliases, String metadataLocation)
jcdAliases - the jcd aliasesmetadataLocation - the metadata locationpublic void start() throws Exception
start in interface Lifecyclestart in class BaseLifecycleExceptionpublic void stop() throws Exception
stop in interface Lifecyclestop in class BaseLifecycleExceptionprotected String getOjbPropertiesLocation()
protected void establishConnectionMetaData(org.apache.ojb.broker.metadata.MetadataManager mm) throws Exception
Exceptionprotected InputStream preprocessConnectionMetadata(InputStream inputStream) throws Exception
Exceptionprotected boolean isConnectionAlreadyConfigured(org.apache.ojb.broker.metadata.MetadataManager mm)
protected InputStream preprocessRepositoryMetadata(InputStream inputStream) throws Exception
Exceptionprotected void establishRepositoryMetaData(org.apache.ojb.broker.metadata.MetadataManager mm) throws Exception
Exceptionprotected String[] getJcdAliases()
protected String getMetadataLocation()
public void afterPropertiesSet() throws Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanExceptionInitializingBean.afterPropertiesSet()public void setJcdAliases(String[] jcdAliases)
jcdAliases - the jcdAliases to setpublic void setMetadataLocation(String metadataLocation)
metadataLocation - the metadataLocation to setpublic List<String> getAdditionalMetadataLocations()
public void setAdditionalMetadataLocations(List<String> additionalMetadataLocations)
additionalMetadataLocations - Copyright © 2005–2018 The Kuali Foundation. All rights reserved.