com.mmoui.manager.services
Class Main

java.lang.Object
  extended by com.mmoui.manager.services.Main
All Implemented Interfaces:
org.osgi.framework.BundleActivator

public class Main
extends java.lang.Object
implements org.osgi.framework.BundleActivator

The MMOUI services main class. This is called by the OSGi framework to activate and load services.

Version:
$Id: Main.java 78 2008-12-30 20:31:50Z mpdelbuono $
Author:
Matthew P. Del Buono

Constructor Summary
Main()
           
 
Method Summary
 void start(org.osgi.framework.BundleContext context)
          Starts up this test bundle
 void stop(org.osgi.framework.BundleContext context)
          Halts this test bundle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Main

public Main()
Method Detail

start

public void start(org.osgi.framework.BundleContext context)
           throws java.lang.Exception
Starts up this test bundle

Specified by:
start in interface org.osgi.framework.BundleActivator
Parameters:
context - The OSGi context for this bundle
Throws:
java.lang.Exception - If an exception occurs during execution

stop

public void stop(org.osgi.framework.BundleContext context)
          throws java.lang.Exception
Halts this test bundle

Specified by:
stop in interface org.osgi.framework.BundleActivator
Parameters:
context - The OSGi context for this bundle
Throws:
java.lang.Exception - If an exception occurs during shutdown