|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.avalon.framework.logger.AbstractLogEnabled org.apache.cocoon.portal.impl.DefaultPortalComponentManager
public class DefaultPortalComponentManager
Default PortalComponentManager
implementation
TODO Handle non ThreadSafe components
Field Summary | |
---|---|
protected Context |
context
|
protected CopletFactory |
copletFactory
|
protected String |
copletFactoryRole
|
protected EventManager |
eventManager
|
protected String |
eventManagerRole
|
protected LayoutFactory |
layoutFactory
|
protected String |
layoutFactoryRole
|
protected LinkService |
linkService
|
protected String |
linkServiceRole
|
protected ServiceManager |
manager
The avalon component manager |
protected PortalManager |
portalManager
|
protected String |
portalManagerRole
|
protected PortalService |
portalService
The portal service |
protected ProfileManager |
profileManager
|
protected String |
profileManagerRole
|
protected Map |
renderers
|
protected ServiceSelector |
rendererSelector
|
protected String |
rendererSelectorRole
|
Constructor Summary | |
---|---|
DefaultPortalComponentManager(PortalService service,
Context context)
Create a new portal component manager. |
Method Summary | |
---|---|
void |
configure(Configuration config)
|
void |
dispose()
|
Context |
getComponentContext()
Return the component context. |
CopletFactory |
getCopletFactory()
Get the coplet factory. |
EventManager |
getEventManager()
Get the event manager |
LayoutFactory |
getLayoutFactory()
Get the layout factory |
LinkService |
getLinkService()
Get the link service. |
PortalManager |
getPortalManager()
Get the portal manager |
ProfileManager |
getProfileManager()
Get the current profile manager. |
Renderer |
getRenderer(String hint)
Get the renderer. |
void |
service(ServiceManager manager)
|
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled |
---|
enableLogging, getLogger, setupLogger, setupLogger, setupLogger |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected ServiceManager manager
protected final PortalService portalService
protected String profileManagerRole
protected ProfileManager profileManager
protected String linkServiceRole
protected LinkService linkService
protected String rendererSelectorRole
protected ServiceSelector rendererSelector
protected Map renderers
protected String copletFactoryRole
protected CopletFactory copletFactory
protected String layoutFactoryRole
protected LayoutFactory layoutFactory
protected String eventManagerRole
protected EventManager eventManager
protected String portalManagerRole
protected PortalManager portalManager
protected final Context context
Constructor Detail |
---|
public DefaultPortalComponentManager(PortalService service, Context context)
service
- The portal service.Method Detail |
---|
public void service(ServiceManager manager) throws ServiceException
service
in interface Serviceable
ServiceException
public LinkService getLinkService()
PortalComponentManager
getLinkService
in interface PortalComponentManager
public ProfileManager getProfileManager()
PortalComponentManager
getProfileManager
in interface PortalComponentManager
public EventManager getEventManager()
PortalComponentManager
getEventManager
in interface PortalComponentManager
public void dispose()
dispose
in interface Disposable
public void configure(Configuration config) throws ConfigurationException
configure
in interface Configurable
ConfigurationException
public Renderer getRenderer(String hint)
PortalComponentManager
getRenderer
in interface PortalComponentManager
public CopletFactory getCopletFactory()
PortalComponentManager
getCopletFactory
in interface PortalComponentManager
public LayoutFactory getLayoutFactory()
PortalComponentManager
getLayoutFactory
in interface PortalComponentManager
public PortalManager getPortalManager()
PortalComponentManager
getPortalManager
in interface PortalComponentManager
PortalComponentManager.getPortalManager()
public Context getComponentContext()
PortalComponentManager
getComponentContext
in interface PortalComponentManager
PortalComponentManager.getComponentContext()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |