info.magnolia.cms.beans.config
Class VirtualURIManager

java.lang.Object
  extended by info.magnolia.cms.beans.config.ObservedManager
      extended by info.magnolia.cms.beans.config.VirtualURIManager

public final class VirtualURIManager
extends ObservedManager

Store for all virtual URI to template/page mapping.

Version:
2.0
Author:
Sameer Charles

Field Summary
static java.lang.String FROM_URI_NODEDATANAME
           
static java.lang.String TO_URI_NODEDATANAME
           
 
Fields inherited from class info.magnolia.cms.beans.config.ObservedManager
registeredUUIDs
 
Constructor Summary
VirtualURIManager()
          Instantiated by the system.
 
Method Summary
static VirtualURIManager getInstance()
           
 java.lang.String getURIMapping(java.lang.String uri)
          checks for the requested URI mapping in Server config : Servlet Specification 2.3 Section 10 "Mapping Requests to Servlets".
 java.util.Collection getURIMappings()
           
protected  void onClear()
          The implementor should clear everything.
protected  void onRegister(Content node)
          Registers a node.
 
Methods inherited from class info.magnolia.cms.beans.config.ObservedManager
clear, register, reload, reload
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FROM_URI_NODEDATANAME

public static final java.lang.String FROM_URI_NODEDATANAME
See Also:
Constant Field Values

TO_URI_NODEDATANAME

public static final java.lang.String TO_URI_NODEDATANAME
See Also:
Constant Field Values
Constructor Detail

VirtualURIManager

public VirtualURIManager()
Instantiated by the system.

Method Detail

getURIMapping

public java.lang.String getURIMapping(java.lang.String uri)
checks for the requested URI mapping in Server config : Servlet Specification 2.3 Section 10 "Mapping Requests to Servlets".

Returns:
URI string mapping

onRegister

protected void onRegister(Content node)
Description copied from class: ObservedManager
Registers a node.

Specified by:
onRegister in class ObservedManager

onClear

protected void onClear()
Description copied from class: ObservedManager
The implementor should clear everything. If needed the nodes will get registered.

Specified by:
onClear in class ObservedManager

getURIMappings

public java.util.Collection getURIMappings()

getInstance

public static VirtualURIManager getInstance()
Returns:
Returns the instance.


Copyright © 2003-2011 Magnolia International Ltd.. All Rights Reserved.