com.atlassian.crowd.util
Class ConsoleResourceLocator

java.lang.Object
  extended by com.atlassian.crowd.integration.service.soap.client.BaseResourceLocator
      extended by com.atlassian.crowd.util.ConsoleResourceLocator
All Implemented Interfaces:
ResourceLocator

public class ConsoleResourceLocator
extends BaseResourceLocator
implements ResourceLocator

Will find the location of the given propertyFileName based off a set of rules to locate the given propertyFileName.

Currently:

  1. System resource
  2. Crowd Home location
  3. Classpath


Field Summary
 
Fields inherited from class com.atlassian.crowd.integration.service.soap.client.BaseResourceLocator
logger, propertyFileLocation
 
Constructor Summary
ConsoleResourceLocator(String propertyFileName, com.atlassian.config.HomeLocator homeLocator)
           
 
Method Summary
 
Methods inherited from class com.atlassian.crowd.integration.service.soap.client.BaseResourceLocator
formatFileLocation, getClassLoaderResource, getProperties, getResourceLocation, getResourceLocationFromClassPath, getResourceLocationFromSystemProperty, getResourceName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.atlassian.crowd.integration.service.soap.client.ResourceLocator
getProperties, getResourceLocation, getResourceName
 

Constructor Detail

ConsoleResourceLocator

public ConsoleResourceLocator(String propertyFileName,
                              com.atlassian.config.HomeLocator homeLocator)


Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.