00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
#ifndef cdbDALfsImpl_H_
00013
#define cdbDALfsImpl_H_
00014
00015
#include <cdbDALS.h>
00016
00017
#if !defined (ACE_LACKS_PRAGMA_ONCE)
00018
#pragma once
00019
#endif
00020
00021
00022
00023 class DALfsImpl :
public virtual POA_CDB::DAL
00024 {
00025
public:
00026
00027
DALfsImpl (CORBA::ORB_ptr orb, PortableServer::POA_ptr poa, CORBA::Environment &);
00028
00029
00030
virtual ~DALfsImpl (
void);
00031
00032
virtual char *
get_DAO (
00033
const char * curl,
00034
00035 );
00036
00037
00038
00039
00040 virtual ::CDB::DAO_ptr
get_DAO_Servant (
00041
const char * curl
00042
00043 );
00044
00045
protected:
00046
00047
00048
00049
char*
LoadRecord(
const char * curl );
00050
00051
bool GetRecordPath(
const char * curl, ACE_CString& path );
00052
00053 CORBA::ORB_var
m_orb;
00054 PortableServer::POA_var
m_poa;
00055 ACE_CString
m_root;
00056 };
00057
00058
00059
#endif
00060
00061
00062
00063