com.atlassian.crowd.util
Class ConsoleResourceLocator

java.lang.Object
  extended by com.atlassian.crowd.service.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.service.client.BaseResourceLocator
logger, propertyFileLocation
 
Constructor Summary
ConsoleResourceLocator(String propertyFileName, com.atlassian.config.HomeLocator homeLocator)
           
 
Method Summary
 
Methods inherited from class com.atlassian.crowd.service.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.service.client.ResourceLocator
getProperties, getResourceLocation, getResourceName
 

Constructor Detail

ConsoleResourceLocator

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


Copyright © 2013 Atlassian. All Rights Reserved.