com.buglabs.bug.module.vonhippel
Class Activator

java.lang.Object
  extended by com.buglabs.bug.module.vonhippel.Activator
All Implemented Interfaces:
IModletFactory

public class Activator
extends java.lang.Object
implements IModletFactory


Constructor Summary
Activator()
           
 
Method Summary
 IModlet createModlet(BundleContext context, int slotId)
          Create an instance of the IModlet.
 IModlet createModlet(BundleContext context, int slotId, BMIModuleProperties properties)
          Create an instance of the IModlet.
 java.lang.String getModuleDriver()
           
 java.lang.String getModuleId()
          Module Id that this factory supports.
 java.lang.String getName()
          Get name of factory.
 java.lang.String getVersion()
          Version of IModlet this factory creates.
 void start(BundleContext context)
           
 void stop(BundleContext context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Activator

public Activator()
Method Detail

start

public void start(BundleContext context)
           throws java.lang.Exception
Throws:
java.lang.Exception

stop

public void stop(BundleContext context)
          throws java.lang.Exception
Throws:
java.lang.Exception

createModlet

public IModlet createModlet(BundleContext context,
                            int slotId)
Description copied from interface: IModletFactory
Create an instance of the IModlet.

Specified by:
createModlet in interface IModletFactory
slotId - 0 - 3
Returns:

getModuleId

public java.lang.String getModuleId()
Description copied from interface: IModletFactory
Module Id that this factory supports. This ID is defined in the Hardware Module.

Specified by:
getModuleId in interface IModletFactory
Returns:

getName

public java.lang.String getName()
Description copied from interface: IModletFactory
Get name of factory.

Specified by:
getName in interface IModletFactory
Returns:

getVersion

public java.lang.String getVersion()
Description copied from interface: IModletFactory
Version of IModlet this factory creates.

Specified by:
getVersion in interface IModletFactory
Returns:

getModuleDriver

public java.lang.String getModuleDriver()

createModlet

public IModlet createModlet(BundleContext context,
                            int slotId,
                            BMIModuleProperties properties)
Description copied from interface: IModletFactory
Create an instance of the IModlet.

Specified by:
createModlet in interface IModletFactory
slotId - 0 - 3
Returns: