|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.java.sip.communicator.impl.googlecontacts.GoogleContactsActivator
public class GoogleContactsActivator
Activates the Google Contacts Service
| Constructor Summary | |
|---|---|
GoogleContactsActivator()
|
|
| Method Summary | |
|---|---|
static void |
disableContactSource(GoogleContactsConnection cnx)
Disable contact source service with specified GoogleContactsConnection. |
static void |
disableContactSource(String login)
Disable contact source service with specified GoogleContactsConnection. |
static GoogleContactsSourceService |
enableContactSource(GoogleContactsConnection cnx,
boolean googleTalk)
Enable contact source service with specified GoogleContactsConnection. |
static GoogleContactsSourceService |
enableContactSource(String login,
String password,
boolean googleTalk)
Enable contact source service with specified GoogleContactsConnection. |
static ConfigurationService |
getConfigService()
Returns a reference to a ConfigurationService implementation currently registered in the bundle context or null if no such implementation was found. |
static CredentialsStorageService |
getCredentialsService()
Returns a reference to a CredentialsStorageConfigurationService implementation currently registered in the bundle context or null if no such implementation was found. |
static GoogleContactsServiceImpl |
getGoogleContactsService()
Returns a reference to a GoogleContactsService implementation currently registered in the bundle context or null if no such implementation was found. |
static PhoneNumberI18nService |
getPhoneNumberI18nService()
Gets the PhoneNumberI18nService to be used by the functionality of the addrbook plug-in. |
static ResourceManagementService |
getResourceManagementService()
Returns a reference to a ResourceManagementService implementation currently registered in the bundle context or null if no such implementation was found. |
void |
start(org.osgi.framework.BundleContext bundleContext)
Starts the Google Contacts service |
void |
stop(org.osgi.framework.BundleContext bundleContext)
Stops the Google Contacts service. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GoogleContactsActivator()
| Method Detail |
|---|
public static PhoneNumberI18nService getPhoneNumberI18nService()
public static ConfigurationService getConfigService()
public static GoogleContactsServiceImpl getGoogleContactsService()
public static CredentialsStorageService getCredentialsService()
public static ResourceManagementService getResourceManagementService()
public void start(org.osgi.framework.BundleContext bundleContext)
throws Exception
start in interface org.osgi.framework.BundleActivatorbundleContext - BundleContext
Exception - if something goes wrong when starting service
public void stop(org.osgi.framework.BundleContext bundleContext)
throws Exception
stop in interface org.osgi.framework.BundleActivatorbundleContext - BundleContext
Exception - if something goes wrong when stopping service
public static GoogleContactsSourceService enableContactSource(String login,
String password,
boolean googleTalk)
login - loginpassword - passwordgoogleTalk - if the provider service is GoogleTalk
public static GoogleContactsSourceService enableContactSource(GoogleContactsConnection cnx,
boolean googleTalk)
cnx - GoogleContactsConnectiongoogleTalk - if the contact source has been created as GoogleTalk
account or via external Google Contacts
public static void disableContactSource(String login)
login - loginpublic static void disableContactSource(GoogleContactsConnection cnx)
cnx - GoogleContactsConnection.
|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||