Class ConsoleResourceLocator

java.lang.Object
com.atlassian.crowd.service.client.BaseResourceLocator
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
Note that as of 3.0 the file might not exist (and will not be written by this class).
  • Constructor Details

    • ConsoleResourceLocator

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