fr.imag.adele.bundle.mchat
Class MChatCommand

java.lang.Object
  extended byfr.imag.adele.bundle.mchat.MChatCommand
All Implemented Interfaces:
org.osgi.framework.BundleActivator, org.ungoverned.osgi.service.shell.Command

public class MChatCommand
extends Object
implements org.ungoverned.osgi.service.shell.Command, org.osgi.framework.BundleActivator

This class is a command for the OSCAR shell service


Constructor Summary
MChatCommand()
           
 
Method Summary
 void execute(String commandline, PrintStream out, PrintStream err)
           
 String getName()
           
 String getShortDescription()
           
 String getUsage()
           
 void start(org.osgi.framework.BundleContext bundleContext)
           
 void stop(org.osgi.framework.BundleContext arg0)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MChatCommand

public MChatCommand()
Method Detail

getName

public String getName()
Specified by:
getName in interface org.ungoverned.osgi.service.shell.Command

getUsage

public String getUsage()
Specified by:
getUsage in interface org.ungoverned.osgi.service.shell.Command

getShortDescription

public String getShortDescription()
Specified by:
getShortDescription in interface org.ungoverned.osgi.service.shell.Command

execute

public void execute(String commandline,
                    PrintStream out,
                    PrintStream err)
Specified by:
execute in interface org.ungoverned.osgi.service.shell.Command

start

public void start(org.osgi.framework.BundleContext bundleContext)
           throws Exception
Specified by:
start in interface org.osgi.framework.BundleActivator
Throws:
Exception
See Also:
BundleActivator.start(org.osgi.framework.BundleContext)

stop

public void stop(org.osgi.framework.BundleContext arg0)
          throws Exception
Specified by:
stop in interface org.osgi.framework.BundleActivator
Throws:
Exception
See Also:
BundleActivator.stop(org.osgi.framework.BundleContext)