|
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.service.protocol.ProtocolProviderFactory
net.java.sip.communicator.impl.protocol.icq.ProtocolProviderFactoryIcqImpl
public class ProtocolProviderFactoryIcqImpl
The ICQ implementation of the ProtocolProviderFactory.
| Field Summary |
|---|
| Constructor Summary | |
|---|---|
protected |
ProtocolProviderFactoryIcqImpl(boolean isAimFactory)
Creates an instance of the ProtocolProviderFactoryIcqImpl. |
| Method Summary | |
|---|---|
AccountID |
createAccount(Map<String,String> accountProperties)
Initializes and creates an account corresponding to the specified accountProperties. |
protected AccountID |
createAccountID(String userID,
Map<String,String> accountProperties)
Creates a new AccountID instance with a specific user ID to
represent a given set of account properties. |
protected ProtocolProviderService |
createService(String userID,
AccountID accountID)
Initializes a new ProtocolProviderService instance with a
specific user ID to represent a specific AccountID. |
AccountID |
installAccount(String userIDStr,
Map<String,String> accountProperties)
Initializes and creates an account corresponding to the specified accountProperties and registers the resulting ProtocolProvider in the context BundleContext parameter. |
boolean |
loadAccount(AccountID accountID)
Creates a protocol provider for the given accountID and registers it in the bundle context. |
AccountID |
loadAccount(Map<String,String> accountProperties)
Initializes and creates an account corresponding to the specified accountProperties and registers the resulting ProtocolProvider in the context BundleContext parameter. |
void |
modifyAccount(ProtocolProviderService protocolProvider,
Map<String,String> accountProperties)
Modifies the account corresponding to the specified accountID. |
| Methods inherited from class net.java.sip.communicator.service.protocol.ProtocolProviderFactory |
|---|
findAccountPrefix, getBundleContext, getProtocolName, getProviderForAccount, getRegisteredAccounts, loadPassword, loadPassword, removeStoredAccount, stop, stop, storeAccount, storeAccount, storePassword, storePassword, uninstallAccount, unloadAccount |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected ProtocolProviderFactoryIcqImpl(boolean isAimFactory)
isAimFactory - whether its an aim factory| Method Detail |
|---|
public AccountID installAccount(String userIDStr,
Map<String,String> accountProperties)
installAccount in class ProtocolProviderFactoryuserIDStr - the user identifier for the new accountaccountProperties - a set of protocol (or implementation)
specific properties defining the new account.
public AccountID loadAccount(Map<String,String> accountProperties)
loadAccount in class ProtocolProviderFactoryaccountProperties - a set of protocol (or implementation) specific
properties defining the new account.
public boolean loadAccount(AccountID accountID)
loadAccount in class ProtocolProviderFactoryaccountID - the account identifier
public AccountID createAccount(Map<String,String> accountProperties)
createAccount in class ProtocolProviderFactoryaccountProperties - a set of protocol (or implementation) specific
properties defining the new account.
protected AccountID createAccountID(String userID,
Map<String,String> accountProperties)
ProtocolProviderFactoryAccountID instance with a specific user ID to
represent a given set of account properties.
The method is a pure factory allowing implementers to specify the runtime
type of the created AccountID and customize the instance.
The returned AccountID will later be associated with a
ProtocolProviderService by the caller (e.g. using
ProtocolProviderFactory.createService(String, AccountID)).
createAccountID in class ProtocolProviderFactoryuserID - the user ID of the new instanceaccountProperties - the set of properties to be represented by the
new instance
AccountID instance with the specified user ID
representing the given set of account properties
protected ProtocolProviderService createService(String userID,
AccountID accountID)
ProtocolProviderFactoryProtocolProviderService instance with a
specific user ID to represent a specific AccountID.
The method is a pure factory allowing implementers to specify the runtime
type of the created ProtocolProviderService and customize
the instance. The caller will later register the returned service with
the BundleContext of this factory.
createService in class ProtocolProviderFactoryuserID - the user ID to initialize the new instance withaccountID - the AccountID to be represented by the new
instance
ProtocolProviderService instance with the
specific user ID representing the specified
AccountID
public void modifyAccount(ProtocolProviderService protocolProvider,
Map<String,String> accountProperties)
throws NullPointerException
ProtocolProviderFactory
modifyAccount in class ProtocolProviderFactoryprotocolProvider - the protocol provider service corresponding to
the modified account.accountProperties - a set of protocol (or implementation) specific
properties defining the new account.
NullPointerException - if any of the arguments is null.
|
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 | |||||||||