nl.hippo.portal.cms
Class CMSApplicationRegistryImpl

java.lang.Object
  extended by nl.hippo.portal.cms.CMSApplicationRegistryImpl
All Implemented Interfaces:
nl.hippo.portal.cms.CMSApplicationRegistry, nl.hippo.portal.registry.Registration, nl.hippo.portal.registry.RegistrationAware

public class CMSApplicationRegistryImpl
extends java.lang.Object
implements nl.hippo.portal.cms.CMSApplicationRegistry

Version:
$Id: CMSApplicationRegistryImpl.java 14738 2008-11-17 10:46:54Z ddam $

Field Summary
 
Fields inherited from interface nl.hippo.portal.cms.CMSApplicationRegistry
SERVICE_NAME
 
Constructor Summary
CMSApplicationRegistryImpl()
           
CMSApplicationRegistryImpl(RequestLockManager lockManager)
           
 
Method Summary
 void available(nl.hippo.portal.registry.Registration registration)
           
 java.lang.Class[] getRegistrationTypes()
           
 java.lang.String getRegistryName()
           
 void registered()
           
 nl.hippo.portal.cms.CMSRequestContext resolve(nl.hippo.portal.cms.CMSUser user, nl.hippo.portal.cms.CMSPortalURL portalURL, java.util.Locale locale)
           
 nl.hippo.portal.cms.CMSSite resolveSite(nl.hippo.portal.cms.CMSUser cmsUser, nl.hippo.portal.cms.CMSPortalURL portalURL, java.util.Locale locale)
           
 CMSSiteImpl resolveSiteImpl(CMSDomainImpl domain, nl.hippo.portal.cms.CMSUser cmsUser, nl.hippo.portal.cms.CMSPortalURL portalURL, java.util.Locale locale)
           
 void serveResource(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 void setApplications(java.util.List apps)
           
 void setDomains(java.util.List domains)
           
 void unavailable(nl.hippo.portal.registry.Registration registration)
           
 void unregistered()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CMSApplicationRegistryImpl

public CMSApplicationRegistryImpl()

CMSApplicationRegistryImpl

public CMSApplicationRegistryImpl(RequestLockManager lockManager)
Method Detail

getRegistrationTypes

public java.lang.Class[] getRegistrationTypes()
Specified by:
getRegistrationTypes in interface nl.hippo.portal.registry.RegistrationAware

getRegistryName

public java.lang.String getRegistryName()
Specified by:
getRegistryName in interface nl.hippo.portal.registry.Registration

registered

public void registered()
Specified by:
registered in interface nl.hippo.portal.registry.Registration

unregistered

public void unregistered()
Specified by:
unregistered in interface nl.hippo.portal.registry.Registration

available

public void available(nl.hippo.portal.registry.Registration registration)
Specified by:
available in interface nl.hippo.portal.registry.RegistrationAware

unavailable

public void unavailable(nl.hippo.portal.registry.Registration registration)
Specified by:
unavailable in interface nl.hippo.portal.registry.RegistrationAware

setDomains

public void setDomains(java.util.List domains)

setApplications

public void setApplications(java.util.List apps)

resolveSite

public nl.hippo.portal.cms.CMSSite resolveSite(nl.hippo.portal.cms.CMSUser cmsUser,
                                               nl.hippo.portal.cms.CMSPortalURL portalURL,
                                               java.util.Locale locale)
Specified by:
resolveSite in interface nl.hippo.portal.cms.CMSApplicationRegistry

resolveSiteImpl

public CMSSiteImpl resolveSiteImpl(CMSDomainImpl domain,
                                   nl.hippo.portal.cms.CMSUser cmsUser,
                                   nl.hippo.portal.cms.CMSPortalURL portalURL,
                                   java.util.Locale locale)

resolve

public nl.hippo.portal.cms.CMSRequestContext resolve(nl.hippo.portal.cms.CMSUser user,
                                                     nl.hippo.portal.cms.CMSPortalURL portalURL,
                                                     java.util.Locale locale)
Specified by:
resolve in interface nl.hippo.portal.cms.CMSApplicationRegistry

serveResource

public void serveResource(javax.servlet.http.HttpServletRequest request,
                          javax.servlet.http.HttpServletResponse response)
                   throws java.io.IOException
Specified by:
serveResource in interface nl.hippo.portal.cms.CMSApplicationRegistry
Throws:
java.io.IOException


Copyright © 2007-2008 . All Rights Reserved.