@Singleton public class DefaultResourceOrigins extends Object implements javax.inject.Provider<ResourceOrigin>
@Inject ResourceOrigin
in their code. It creates the default
Magnolia stack of ResourceOrigin
s; users can expect to get a predictable "stack" of origin implementations to load
Resource
s from.Constructor and Description |
---|
DefaultResourceOrigins(ClasspathResourceOriginFactory classpathOriginFactory,
LegacyClasspathResourceOriginFactory legacyClasspathOriginFactory,
FileSystemResourceOriginFactory fileSystemOriginFactory,
JcrResourceOriginFactory jcrOriginFactory,
LayeredResourceOriginFactory layeredOriginFactory)
See note in
ResourceOriginFactory about why we can't use @Multibinding at the moment. |
@Inject public DefaultResourceOrigins(ClasspathResourceOriginFactory classpathOriginFactory, LegacyClasspathResourceOriginFactory legacyClasspathOriginFactory, FileSystemResourceOriginFactory fileSystemOriginFactory, JcrResourceOriginFactory jcrOriginFactory, LayeredResourceOriginFactory layeredOriginFactory)
ResourceOriginFactory
about why we can't use @Multibinding at the moment.public ResourceOrigin get()
get
in interface javax.inject.Provider<ResourceOrigin>
Copyright © 2003–2018 Magnolia International Ltd.. All rights reserved.