1. A management server providing an Open Service Gateway initiative (OSGi)-based service, comprising: at least one hardware processor configured to implement: a user interface unit to receive UI information to configure a user interface to provide a new service and to receive a selection of a plurality of functions within a plurality of bundles pre-installed in an OSGi framework to perform the new service; a generation unit to generate a virtual bundle corresponding to the new service including connection information for the selected plurality of functions; and an installation unit to install and register the generated virtual bundle in the OSGi framework as a new bundle to provide the new service, wherein the user interface unit displays functions of each of the plurality of bundles pre-installed in the OSGi framework distinctively by dividing the functions into three classes, and receives the selection of the plurality of functions to perform the new service from among the displayed functions. wherein the three classes include functions to be performed in the management server in case a selected first condition corresponding to a possible event in the management server, and a selected second condition corresponding to an event corresponding to the first condition, are both satisfied.