public static class IConfig.Location extends Object
Server-side paths and package locations may optionally specify an override location in addition to the primary location for resources. Override locations are specified in the server-side AMD config file by specifying the path or package location value using a two-element array instead of a string, with the first element specifying the primary location and the second element specifying the override location. Override locations are provided to support easier customization/patching of applciations by allowing resource modifications to be deployed to a customization folder on the server, avoiding the need to patch an application by modifying the application bundle or jar.
Constructor and Description |
---|
IConfig.Location(URI loc) |
IConfig.Location(URI primary,
URI override) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
URI |
getOverride()
Returns the override URI for this location.
|
URI |
getPrimary()
Returns the primary URI for this location.
|
IConfig.Location |
resolve(IConfig.Location loc)
Like
URI.resolve(String) , but resolves both the primary and override URIs of the
location objects. |
String |
toString() |
public IConfig.Location(URI loc)
public URI getPrimary()
public URI getOverride()
public IConfig.Location resolve(IConfig.Location loc)
URI.resolve(String)
, but resolves both the primary and override URIs of the
location objects.loc
- Copyright © 2011-2015 IBM. All Rights Reserved.