|
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.sip.ProtocolProviderFactorySipImpl
public class ProtocolProviderFactorySipImpl
A SIP implementation of the protocol provider factory interface.
| Field Summary |
|---|
| Constructor Summary | |
|---|---|
ProtocolProviderFactorySipImpl()
Constructs a new instance of the ProtocolProviderFactorySipImpl. |
|
| Method Summary | |
|---|---|
protected AccountID |
createAccountID(String userID,
Map<String,String> accountProperties)
Creates a new SipAccountID instance with a specific user
ID to represent a given set of account properties. |
protected ProtocolProviderService |
createService(String userID,
AccountID accountID)
Initializes a new ProtocolProviderServiceSipImpl 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)
Modifies the account corresponding to the specified accountID. |
protected void |
storeAccount(AccountID accountID)
Ovverides the original in order not to save the XCAP_PASSWORD field. |
| 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 |
| Constructor Detail |
|---|
public ProtocolProviderFactorySipImpl()
| 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 uniquely representing the newly
created account within the protocol namespace.accountProperties - a set of protocol (or implementation)
specific properties defining the new account.
IllegalArgumentException - if userID does not correspond to an
identifier in the context of the underlying protocol or if
accountProperties does not contain a complete set of account
installation properties.
IllegalStateException - if the account has already been
installed.
NullPointerException - if any of the arguments is null.
public void modifyAccount(ProtocolProviderService protocolProvider,
Map<String,String> accountProperties)
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.
protected AccountID createAccountID(String userID,
Map<String,String> accountProperties)
SipAccountID instance with a specific user
ID to represent a given set of account properties.
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)
ProtocolProviderServiceSipImpl instance
with a specific user ID to represent a specific AccountID.
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
|
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 | |||||||||