public final class InternalResourcePart extends Object implements IBufferedPartFactory
Resources are located as follows:
| Constructor and Description |
|---|
InternalResourcePart() |
| Modifier and Type | Method and Description |
|---|---|
Object |
decodeKey(String rurl,
IExtendedParameterInfo param)
Decode the input and create a KEY for the request.
|
void |
generate(PartResponse pr,
DomApplication da,
Object inkey,
IResourceDependencyList rdl)
Generate the local resource.
|
@Nonnull public Object decodeKey(@Nonnull String rurl, @Nonnull IExtendedParameterInfo param) throws Exception
IBufferedPartFactorydecodeKey in interface IBufferedPartFactoryExceptionpublic void generate(@Nonnull PartResponse pr, @Nonnull DomApplication da, @Nonnull Object inkey, @Nonnull IResourceDependencyList rdl) throws Exception
generate in interface IBufferedPartFactoryda - The Application on behalf of which this resource is generated.inkey - The key, as specified by decodeKey.rdl - When running in development mode, each file resource used should be added
to this list. The buffer code will use that list to check whether a source
for this thing has changed; if so it will be re-generated. This causes runtime
editability for parameter files of any buffered thingydoo.ExceptionCopyright © 2017 etc.to. All rights reserved.