net.sourceforge.fluxion.pussycat.manager
Class PussycatRenderletManager

java.lang.Object
  extended by net.sourceforge.fluxion.pussycat.manager.PussycatRenderletManager
All Implemented Interfaces:
RenderletManager

public class PussycatRenderletManager
extends java.lang.Object
implements RenderletManager

A RenderletManager for renderlets within Pussycat. Uses RenderletSpi to retrieve and create Renderlets required by the container, and uses raven to dynamically dicsover new ones.

Version:
1.0
Author:
Rob Davey, Tony Burdett

Constructor Summary
PussycatRenderletManager()
           
 
Method Summary
 java.util.Set<RenderletSPI> discoverCoreRenderletProviders(java.lang.Class<?> o, RenderletType rt)
           
 java.util.Set<RenderletSPI> discoverUserRenderletProviders(java.lang.Class<?> o, RenderletType rt)
           
 java.util.Set<Renderlet> getCoreRenderlets()
           
 java.util.Set<Renderlet> getCoreRenderlets(java.lang.Class<?> o, RenderletType rt)
           
 Renderlet getRenderletByName(java.lang.String renderletName)
           
 PussycatSessionManager getSessionManager()
           
 java.util.Set<Renderlet> getUserRenderlets()
           
 java.util.Set<Renderlet> getUserRenderlets(java.lang.Class<?> o, RenderletType rt)
           
 void registerSessionManager(PussycatSessionManager psm)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PussycatRenderletManager

public PussycatRenderletManager()
Method Detail

getCoreRenderlets

public java.util.Set<Renderlet> getCoreRenderlets()
Specified by:
getCoreRenderlets in interface RenderletManager

getUserRenderlets

public java.util.Set<Renderlet> getUserRenderlets()
Specified by:
getUserRenderlets in interface RenderletManager

getCoreRenderlets

public java.util.Set<Renderlet> getCoreRenderlets(java.lang.Class<?> o,
                                                  RenderletType rt)

getUserRenderlets

public java.util.Set<Renderlet> getUserRenderlets(java.lang.Class<?> o,
                                                  RenderletType rt)

getRenderletByName

public Renderlet getRenderletByName(java.lang.String renderletName)
Specified by:
getRenderletByName in interface RenderletManager

discoverCoreRenderletProviders

public java.util.Set<RenderletSPI> discoverCoreRenderletProviders(java.lang.Class<?> o,
                                                                  RenderletType rt)
Specified by:
discoverCoreRenderletProviders in interface RenderletManager

discoverUserRenderletProviders

public java.util.Set<RenderletSPI> discoverUserRenderletProviders(java.lang.Class<?> o,
                                                                  RenderletType rt)
Specified by:
discoverUserRenderletProviders in interface RenderletManager

registerSessionManager

public void registerSessionManager(PussycatSessionManager psm)
                            throws PussycatException
Throws:
PussycatException

getSessionManager

public PussycatSessionManager getSessionManager()


Copyright © 2010. All Rights Reserved.