SIP Communicator: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.impl.contactlist
Class ContactlistActivator

java.lang.Object
  extended by net.java.sip.communicator.impl.contactlist.ContactlistActivator
All Implemented Interfaces:
org.osgi.framework.BundleActivator

public class ContactlistActivator
extends Object
implements org.osgi.framework.BundleActivator

Author:
Emil Ivov

Constructor Summary
ContactlistActivator()
           
 
Method Summary
static AccountManager getAccountManager()
          Returns the AccountManager obtained from the bundle context.
static FileAccessService getFileAccessService()
          Returns the FileAccessService obtained from the bundle context.
 void start(org.osgi.framework.BundleContext context)
          Called when this bundle is started.
 void stop(org.osgi.framework.BundleContext context)
          Called when this bundle is stopped so the Framework can perform the bundle-specific activities necessary to stop the bundle.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContactlistActivator

public ContactlistActivator()
Method Detail

start

public void start(org.osgi.framework.BundleContext context)
           throws Exception
Called when this bundle is started.

Specified by:
start in interface org.osgi.framework.BundleActivator
Parameters:
context - The execution context of the bundle being started.
Throws:
Exception - If

stop

public void stop(org.osgi.framework.BundleContext context)
          throws Exception
Called when this bundle is stopped so the Framework can perform the bundle-specific activities necessary to stop the bundle.

Specified by:
stop in interface org.osgi.framework.BundleActivator
Parameters:
context - The execution context of the bundle being stopped.
Throws:
Exception - If this method throws an exception, the bundle is still marked as stopped, and the Framework will remove the bundle's listeners, unregister all services registered by the bundle, and release all services used by the bundle.

getFileAccessService

public static FileAccessService getFileAccessService()
Returns the FileAccessService obtained from the bundle context.

Returns:
the FileAccessService obtained from the bundle context

getAccountManager

public static AccountManager getAccountManager()
Returns the AccountManager obtained from the bundle context.

Returns:
the AccountManager obtained from the bundle context

SIP Communicator: the OpenSource Java VoIP and Instant Messaging client.

SIP Communicator, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.