com.atlassian.crowd.service.client
Class ClientResourceLocator

java.lang.Object
  extended by com.atlassian.crowd.service.client.BaseResourceLocator
      extended by com.atlassian.crowd.service.client.ClientResourceLocator
All Implemented Interfaces:
ResourceLocator

public class ClientResourceLocator
extends BaseResourceLocator

Will find the location of the given resourceName based off a set of rules to locate the given resourceFileName:

  1. System property
  2. Configuration directory
  3. Classpath


Field Summary
 
Fields inherited from class com.atlassian.crowd.service.client.BaseResourceLocator
logger, propertyFileLocation
 
Constructor Summary
ClientResourceLocator(String resourceName)
           
ClientResourceLocator(String resourceName, String configurationDir)
           
 
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
 

Constructor Detail

ClientResourceLocator

public ClientResourceLocator(String resourceName)

ClientResourceLocator

public ClientResourceLocator(String resourceName,
                             String configurationDir)


Copyright © 2013 Atlassian. All Rights Reserved.