Jitsi: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.plugin.provisioning
Class ProvisioningServiceImpl

java.lang.Object
  extended by net.java.sip.communicator.plugin.provisioning.ProvisioningServiceImpl
All Implemented Interfaces:
ProvisioningService

public class ProvisioningServiceImpl
extends Object
implements ProvisioningService

Provisioning service.

Author:
Sebastien Vincent

Field Summary
(package private) static String PROPERTY_PROVISIONING_PASSWORD
          Name of the provisioning password in the configuration service (HTTP authentication).
(package private) static String PROPERTY_PROVISIONING_USERNAME
          Name of the provisioning username in the configuration service authentication).
static String PROVISIONING_UUID_PROP
          Name of the UUID property.
 
Constructor Summary
ProvisioningServiceImpl()
          Constructor.
 
Method Summary
 String getProvisioningMethod()
          Indicates if the provisioning has been enabled.
 String getProvisioningPassword()
          Returns provisioning password.
 String getProvisioningUri()
          Returns the provisioning URI.
 String getProvisioningUsername()
          Returns provisioning username.
 void setProvisioningMethod(String provisioningMethod)
          Enables the provisioning with the given method.
 void setProvisioningUri(String uri)
          Sets the provisioning URI.
(package private)  void start(String url)
          Starts provisioning.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROVISIONING_UUID_PROP

public static final String PROVISIONING_UUID_PROP
Name of the UUID property.

See Also:
Constant Field Values

PROPERTY_PROVISIONING_USERNAME

static final String PROPERTY_PROVISIONING_USERNAME
Name of the provisioning username in the configuration service authentication).

See Also:
Constant Field Values

PROPERTY_PROVISIONING_PASSWORD

static final String PROPERTY_PROVISIONING_PASSWORD
Name of the provisioning password in the configuration service (HTTP authentication).

See Also:
Constant Field Values
Constructor Detail

ProvisioningServiceImpl

public ProvisioningServiceImpl()
Constructor.

Method Detail

start

void start(String url)
Starts provisioning.

Parameters:
url - provisioning URL

getProvisioningMethod

public String getProvisioningMethod()
Indicates if the provisioning has been enabled.

Specified by:
getProvisioningMethod in interface ProvisioningService
Returns:
true if the provisioning is enabled, false - otherwise

setProvisioningMethod

public void setProvisioningMethod(String provisioningMethod)
Enables the provisioning with the given method. If the provisioningMethod is null disables the provisioning.

Specified by:
setProvisioningMethod in interface ProvisioningService
Parameters:
provisioningMethod - the provisioning method

getProvisioningUri

public String getProvisioningUri()
Returns the provisioning URI.

Specified by:
getProvisioningUri in interface ProvisioningService
Returns:
the provisioning URI

setProvisioningUri

public void setProvisioningUri(String uri)
Sets the provisioning URI.

Parameters:
uri - the provisioning URI to set

getProvisioningUsername

public String getProvisioningUsername()
Returns provisioning username.

Specified by:
getProvisioningUsername in interface ProvisioningService
Returns:
provisioning username

getProvisioningPassword

public String getProvisioningPassword()
Returns provisioning password.

Specified by:
getProvisioningPassword in interface ProvisioningService
Returns:
provisioning password

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

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