| org.cougaar.core.node.DBInitializerService
All known Subclasses: org.cougaar.planning.ldm.NonCSMARTDBInitializerServiceImpl, org.cougaar.core.node.DBInitializerServiceImpl,
DBInitializerService | public interface DBInitializerService extends Service(Code) | | This service provides access to database configuration data.
|
createSubstitutions | Map createSubstitutions()(Code) | | |
translateAttributeValue | Object[] translateAttributeValue(String type, String key) throws SQLException(Code) | | Translate the value of a "query" attribute type. The "key"
should be one or more query substitutions. Each substitution is
an equals separated key and value. Multiple substitutions are
separated by semi-colon. Backslash can quote a character. The
query may be in a different database. If so, then the dbp
should contain properties named by concatenating the query
name with .database, .username, .password describing the
database to connect to.
Parameters: type - is the "data type" of the attribute value andnames a query that should be done to obtain the actualvalue. a two-element array of attribute type and value. |
|
|