10 coral::MsgLevel
ret = coral::Nil;
11 if( ::strcmp(envVar,
"VERBOSE")==0 || ::strcmp(envVar,
"Verbose")==0 ) ret =
coral::Verbose;
12 if( ::strcmp(envVar,
"DEBUG")==0 || ::strcmp(envVar,
"Debug")==0 ) ret =
coral::Debug;
13 if( ::strcmp(envVar,
"INFO")==0 || ::strcmp(envVar,
"Info")==0 ) ret = coral::Info;
14 if( ::strcmp(envVar,
"WARNING")==0 || ::strcmp(envVar,
"Warning")==0 ) ret = coral::Warning;
15 if( ::strcmp(envVar,
"ERROR")==0 || ::strcmp(envVar,
"Error")==0 ) ret = coral::Error;
16 if( ::strcmp(envVar,
"FATAL")==0 || ::strcmp(envVar,
"Fatal")==0 ) ret = coral::Fatal;
17 if( ::strcmp(envVar,
"ALWAYS")==0 || ::strcmp(envVar,
"Always")==0 ) ret = coral::Always;
18 if( ::strcmp(envVar,
"NUMLEVELS")==0 || ::strcmp(envVar,
"NumLevels")==0 ) ret = coral::NumLevels;
23 static const std::string s_automaticDatabaseCreation(
"ORA_AUTOMATIC_DATABASE_CREATION");
24 return s_automaticDatabaseCreation;
28 static const std::string s_automaticContainerCreation(
"ORA_AUTOMATIC_CONTAINER_CREATION");
29 return s_automaticContainerCreation;
33 static const std::string s_automaticSchemaEvolution(
"ORA_AUTOMATIC_SCHEMA_EVOLUTION");
34 return s_automaticSchemaEvolution;
38 m_blobStreamingService(),
45 if( level != coral::Nil ) coral::MessageStream::setMsgVerbosity(
coralMessageLevel( envVar ) );
53 m_blobStreamingService.reset( service );
57 return m_blobStreamingService.get();
61 m_referenceHandler.reset( handler );
65 return m_referenceHandler.get();
73 coral::MessageStream::setMsgVerbosity( level );
tuple ret
prodAgent to be discontinued
static const char * CORAL_MSG_LEVEL
Properties & properties()
void setMessageVerbosity(coral::MsgLevel level)
static std::string automaticContainerCreation()
void setReferenceHandler(IReferenceHandler *handler)
void setBlobStreamingService(IBlobStreamingService *service)
static std::string automaticDatabaseCreation()
coral::MsgLevel coralMessageLevel(const char *envVar)
IBlobStreamingService * blobStreamingService()
IReferenceHandler * referenceHandler()
Interface for a Streaming Service.
static std::string automaticSchemaEvolution()