|
Public Member Functions |
| CIAO_RepositoryManagerDaemon_i (CORBA::ORB_ptr the_orb, const char *server="http://localhost:5432/") |
virtual | ~CIAO_RepositoryManagerDaemon_i (void) |
virtual void | shutdown () throw ( CORBA::SystemException ) |
virtual void | installPackage (const char *installationName, const char *location) throw ( CORBA::SystemException, ::Deployment::NameExists, ::Deployment::PackageError ) |
virtual void | createPackage (const char *installationName, const ::Deployment::PackageConfiguration &package, const char *baseLocation,::CORBA::Boolean replace) throw ( CORBA::SystemException, ::Deployment::NameExists, ::Deployment::PackageError ) |
virtual ::Deployment::PackageConfiguration * | findPackageByName (const char *name) throw ( CORBA::SystemException, ::Deployment::NoSuchName ) |
virtual ::Deployment::PackageConfiguration * | findPackageByUUID (const char *UUID) throw ( CORBA::SystemException, ::Deployment::NoSuchName ) |
virtual ::CORBA::StringSeq * | findNamesByType (const char *type) throw ( CORBA::SystemException ) |
virtual ::CORBA::StringSeq * | getAllNames () throw ( CORBA::SystemException ) |
virtual ::CORBA::StringSeq * | getAllTypes () throw ( CORBA::SystemException ) |
virtual void | deletePackage (const char *installationName) throw ( CORBA::SystemException, ::Deployment::NoSuchName ) |
Protected Member Functions |
Deployment::PackageConfiguration * | retrieve_PC_from_package (char *package) |
| function to parse and return the PackageConfiguration from a specified package
|
void | find_PC_name (char *package, ACE_CString &pcd_name) |
| find out what the name of the PackageConfiguration file is
|
Deployment::PackageConfiguration * | retrieve_PC_from_descriptors (const char *pc_name, const char *descriptor_dir) |
int | extract_descriptor_files (char *package, ACE_CString &pcd_name) |
int | remove_descriptor_files (char *package) |
return on success on error
*int | remove_extracted_package (const char *package_path, const char *extraction_location) |
Private Types |
typedef ACE_Hash_Map_Manager_Ex<
ACE_CString, ACE_CString,
ACE_Hash< ACE_CString >,
ACE_Equal_To< ACE_CString >,
ACE_RW_Mutex > | PCMap |
typedef PCMap::iterator | PCMap_Iterator |
Private Attributes |
PCMap | names_ |
PCMap | uuids_ |
CORBA::ORB_var | the_orb_ |
char | cwd_ [TEMP_LEN] |
ACE_CString | install_root_ |
ACE_CString | HTTP_server_ |