|
#ifndef IREMOTE_BUNDLE_ACTIVATOR_H
#define IREMOTE_BUNDLE_ACTIVATOR_H
#include "IRemoteBundleContext.h"
namespace sof { namespace framework { namespace remote { namespace corba {
using namespace sof::framework::remote::corba;
/**
* A piece of software can be regarded as software bundle when it
* implements the <code>BundleActivator</code> interface which is responsible
* for starting and stopping the software bundle.<br>
* The framework not the application developer is responsible creating,
* starting and stopping the bundle activator instance.
*
* @author magr74
*/
class IRemoteBundleActivator
{
public:
/**
* Destroys the bundle activator object.
*/
virtual ~IRemoteBundleActivator() {};
/**
* Starts the bundle activator instance and passes a bundle context
* object which provides methods for registering services, service listeners
* etc.
*
* @param context
* The bundle context.
*/
virtual void start( IRemoteBundleContext::ConstPtr context ) = 0;
/**
* Stops the bundle activator instance.
*
* @param context
* The bundle context.
*/
virtual void stop( IRemoteBundleContext::ConstPtr context ) = 0;
};
} } } }
#endif
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.