Modifier and Type | Class and Description |
---|---|
class |
AbstractResourceOrigin<P extends AbstractResource>
Exposes methods that
AbstractResource simply delegates to. |
Modifier and Type | Method and Description |
---|---|
ResourceOrigin |
DefaultResourceOrigins.get() |
ResourceOrigin |
ResourceStub.getOrigin()
Deprecated.
|
ResourceOrigin |
Resource.getOrigin() |
ResourceOrigin |
AbstractResource.getOrigin() |
Modifier and Type | Method and Description |
---|---|
ResourceOriginChange.Builder |
ResourceOriginChange.Builder.inOrigin(ResourceOrigin actualChangedOrigin) |
Constructor and Description |
---|
ResourceNotFoundException(ResourceOrigin origin,
String path) |
Modifier and Type | Class and Description |
---|---|
class |
ClasspathResourceOrigin
A
ResourceOrigin which serves resources collected from the web application classpath. |
class |
LegacyClasspathResourceOrigin
Exposes resources under the /mgnl-resources/ folder as if they were under the root path.
|
Modifier and Type | Class and Description |
---|---|
class |
FileSystemResourceOrigin
A
ResourceOrigin which loads resources on the file system. |
Modifier and Type | Class and Description |
---|---|
class |
JcrResourceOrigin
A
ResourceOrigin which loads resources from JCR. |
Modifier and Type | Class and Description |
---|---|
class |
LayeredResourceOrigin
An implementation of
ResourceOrigin which aggregates
other instances of ResourceOrigin ; resources located on the same path will
be served from the foremost ResourceOrigin, but resources that exist only on one path will always be served. |
Modifier and Type | Method and Description |
---|---|
LayeredResourceOrigin |
LayeredResourceOriginFactory.create(String name,
ResourceOrigin[] origins) |
Modifier and Type | Method and Description |
---|---|
static com.google.common.base.Function<ResourceOrigin,Resource> |
Functions.getByPath(String path) |
static com.google.common.base.Function<ResourceOrigin,Resource> |
Functions.getRoot() |
static com.google.common.base.Predicate<ResourceOrigin> |
Functions.hasPath(String path) |
Copyright © 2003–2017 Magnolia International Ltd.. All rights reserved.