00001 module types{ 00002 //*A serialized application 00003 // 00004 //*/ 00005 typedef sequence<octet> Application; 00006 00007 }; 00008 00009 00010 module interfaces{ 00011 00012 //FIXME: Should these methods be oneway???? 00013 //FIXME: Consider that applications can be BIG(Overflows,etc....) 00014 00016 //* to be stored and retrieved 00017 //*/ 00018 interface ApplicationRepository{ 00019 00020 00022 // Registers an application in the repository. 00023 // 00024 // @param app - serialized application to be registered 00025 // @returns an unique identifier that allows one to retrive this app later 00026 //*/ 00027 string registerApplication(in types::Application app); 00028 00030 // @param appId - the id of the application to be retrieved 00031 // @returns the serialized application 00032 // 00033 //*/ 00034 types::Application getApplication(in string appId); 00035 00036 }; 00037 00038 };