|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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 ServiceableServiceExceptionpublic LinkService getLinkService()
PortalComponentManager
getLinkService in interface PortalComponentManagerpublic ProfileManager getProfileManager()
PortalComponentManager
getProfileManager in interface PortalComponentManagerpublic EventManager getEventManager()
PortalComponentManager
getEventManager in interface PortalComponentManagerpublic void dispose()
dispose in interface Disposable
public void configure(Configuration config)
throws ConfigurationException
configure in interface ConfigurableConfigurationExceptionpublic Renderer getRenderer(String hint)
PortalComponentManager
getRenderer in interface PortalComponentManagerpublic CopletFactory getCopletFactory()
PortalComponentManager
getCopletFactory in interface PortalComponentManagerpublic LayoutFactory getLayoutFactory()
PortalComponentManager
getLayoutFactory in interface PortalComponentManagerpublic PortalManager getPortalManager()
PortalComponentManager
getPortalManager in interface PortalComponentManagerPortalComponentManager.getPortalManager()public Context getComponentContext()
PortalComponentManager
getComponentContext in interface PortalComponentManagerPortalComponentManager.getComponentContext()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||