Package com.atlassian.crowd.util
Class ConsoleResourceLocator
java.lang.Object
com.atlassian.crowd.service.client.BaseResourceLocator
com.atlassian.crowd.util.ConsoleResourceLocator
- All Implemented Interfaces:
ResourceLocator
Will find the location of the given propertyFileName based off a set of rules to
locate the given propertyFileName.
Currently:
- System resource
- Crowd Home location
- Classpath
-
Field Summary
Fields inherited from class com.atlassian.crowd.service.client.BaseResourceLocator
logger, propertyFileLocation
-
Constructor Summary
ConstructorsConstructorDescriptionConsoleResourceLocator
(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 Details
-
ConsoleResourceLocator
public ConsoleResourceLocator(String propertyFileName, com.atlassian.config.HomeLocator homeLocator)
-