|
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.jabber.ProtocolProviderFactoryJabberImpl
public class ProtocolProviderFactoryJabberImpl
The Jabber implementation of the ProtocolProviderFactory.
| Field Summary | |
|---|---|
static String |
IS_USE_JINGLE_NODES
Indicates if ICE should be used. |
| Constructor Summary | |
|---|---|
protected |
ProtocolProviderFactoryJabberImpl()
Creates an instance of the ProtocolProviderFactoryJabberImpl. |
| Method Summary | |
|---|---|
protected AccountID |
createAccountID(String userID,
Map<String,String> accountProperties)
Create an account. |
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. |
void |
modifyAccount(ProtocolProviderService protocolProvider,
Map<String,String> accountProperties)
Modify an existing account. |
protected void |
storeAccount(AccountID accountID)
Ovverides the original in order give access to protocol implementation. |
| Methods inherited from class net.java.sip.communicator.service.protocol.ProtocolProviderFactory |
|---|
createAccount, findAccountPrefix, getBundleContext, getProtocolName, getProviderForAccount, getRegisteredAccounts, loadAccount, loadAccount, loadPassword, loadPassword, removeStoredAccount, stop, stop, storeAccount, storePassword, storePassword, uninstallAccount, unloadAccount |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String IS_USE_JINGLE_NODES
| Constructor Detail |
|---|
protected ProtocolProviderFactoryJabberImpl()
| Method Detail |
|---|
protected void storeAccount(AccountID accountID)
storeAccount in class ProtocolProviderFactoryaccountID - the account identifier.
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.
protected AccountID createAccountID(String userID,
Map<String,String> accountProperties)
createAccountID in class ProtocolProviderFactoryuserID - the user IDaccountProperties - the properties associated with the user ID
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
modifyAccount in class ProtocolProviderFactoryprotocolProvider - the ProtocolProviderService responsible
of the accountaccountProperties - modified properties to be set
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 | |||||||||