public interface HstManager
Modifier and Type | Method and Description |
---|---|
List<HstConfigurationAugmenter> |
getHstConfigurationAugmenters() |
String |
getPathSuffixDelimiter()
Returns the request path suffix delimiter.
|
HstSiteMapItemHandlerFactory |
getSiteMapItemHandlerFactory() |
HstSiteMapMatcher |
getSiteMapMatcher()
a HstSitesManager must contain a reference to the
HstSiteMapMatcher that is being used. |
HstURLFactory |
getUrlFactory() |
VirtualHosts |
getVirtualHosts() |
VirtualHosts |
getVirtualHosts(boolean allowStale)
|
void |
invalidate(javax.jcr.observation.EventIterator events)
Invalidates this HstSitesManager with EventIterator events.
|
void |
invalidate(String... absEventPaths)
Invalidates this HstSitesManager with all the varargs absEventPaths.
|
void |
invalidateAll()
Invalidates this HstSitesManager completely.
|
void |
invalidatePendingHstConfigChanges(javax.jcr.Session session)
Deprecated.
deprecated since 7.8.4. Use
invalidate(String...) instead |
boolean |
isExcludedByHstFilterInitParameter(String pathInfo)
Typically, some paths we do not want to be handle by the hst framework request processing.
|
boolean |
isFineGrainedLocking()
Deprecated.
temporary method on in the 7.8.x range. Will be removed in 7.9.x
|
VirtualHosts getVirtualHosts() throws ContainerException
VirtualHosts
ContainerException
VirtualHosts getVirtualHosts(boolean allowStale) throws ContainerException
allowStale
is true
a stale VirtualHosts
might be returned. This might be favoured
over getVirtualHosts()
when the model is very large and thus might take longer to reload.VirtualHosts
object and possibly a stale version of it when allowStale
is
true
ContainerException
HstURLFactory getUrlFactory()
HstSiteMapMatcher getSiteMapMatcher()
HstSiteMapMatcher
that is being used. You can inject your own
HstSiteMapMatcher
implementation if neededHstSiteMapItemHandlerFactory getSiteMapItemHandlerFactory()
HstSiteMapItemHandler
instancesvoid invalidate(javax.jcr.observation.EventIterator events)
events
- @Deprecated void invalidatePendingHstConfigChanges(javax.jcr.Session session)
invalidate(String...)
insteadHstManager
for all pending hst config of this JCR Session
directly. This is very
useful when the changes must be reflected directly upon next reload. The invalidate(javax.jcr.observation.EventIterator)
is asynchronous by jcr event listeners.session
- the jcr Session to fire the events forvoid invalidate(String... absEventPaths)
absEventPaths
- the varargs abs paths of the event that should be invalidatedvoid invalidateAll()
boolean isExcludedByHstFilterInitParameter(String pathInfo)
pathInfo
- String getPathSuffixDelimiter()
List<HstConfigurationAugmenter> getHstConfigurationAugmenters()
List
of HstConfigurationAugmenter
s and empty list if no providers available.@Deprecated boolean isFineGrainedLocking()
Copyright © 2008-2013 Hippo B.V. (http://www.onehippo.com). All Rights Reserved.