com.atlassian.crowd.service.client
Class ClientPropertiesImpl

java.lang.Object
  extended by com.atlassian.crowd.service.client.AbstractClientProperties
      extended by com.atlassian.crowd.service.client.ClientPropertiesImpl
All Implemented Interfaces:
ClientProperties

public class ClientPropertiesImpl
extends AbstractClientProperties

This bean is a container for the application's crowd.properties.


Field Summary
 
Fields inherited from class com.atlassian.crowd.service.client.AbstractClientProperties
applicationAuthenticationContext, applicationAuthenticationURL, applicationName, applicationPassword, baseURL, cookieTokenKey, httpMaxConnections, httpProxyHost, httpProxyPassword, httpProxyPort, httpProxyUsername, httpTimeout, sessionLastValidation, sessionTokenKey, sessionValidationInterval, socketTimeout
 
Constructor Summary
protected ClientPropertiesImpl()
           
 
Method Summary
protected  java.lang.String loadAndLogPropertyString(java.util.Properties properties, java.lang.String propertyName)
           
static java.lang.String loadPropertyString(java.util.Properties properties, java.lang.String propertyName)
           
static ClientPropertiesImpl newInstanceFromProperties(java.util.Properties properties)
           
static ClientPropertiesImpl newInstanceFromResourceLocator(ResourceLocator resourceLocator)
           
 void updateProperties(java.util.Properties properties)
          Updates all the properties with the new values.
 
Methods inherited from class com.atlassian.crowd.service.client.AbstractClientProperties
getApplicationAuthenticationContext, getApplicationAuthenticationURL, getApplicationName, getApplicationPassword, getBaseURL, getCookieTokenKey, getHttpMaxConnections, getHttpProxyHost, getHttpProxyPassword, getHttpProxyPort, getHttpProxyUsername, getHttpTimeout, getSessionLastValidation, getSessionTokenKey, getSessionValidationInterval, getSocketTimeout, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ClientPropertiesImpl

protected ClientPropertiesImpl()
Method Detail

updateProperties

public void updateProperties(java.util.Properties properties)
Description copied from interface: ClientProperties
Updates all the properties with the new values.

Parameters:
properties - properties to update from

loadPropertyString

public static java.lang.String loadPropertyString(java.util.Properties properties,
                                                  java.lang.String propertyName)

loadAndLogPropertyString

protected java.lang.String loadAndLogPropertyString(java.util.Properties properties,
                                                    java.lang.String propertyName)

newInstanceFromResourceLocator

public static ClientPropertiesImpl newInstanceFromResourceLocator(ResourceLocator resourceLocator)

newInstanceFromProperties

public static ClientPropertiesImpl newInstanceFromProperties(java.util.Properties properties)


Copyright © 2012 Atlassian. All Rights Reserved.