| org.jboss.portal.jems.as.system.AbstractJBossService org.jboss.portal.theme.impl.LayoutServiceImpl
LayoutServiceImpl | public class LayoutServiceImpl extends AbstractJBossService implements LayoutService,Service(Code) | | Implementaion of the layout server. The layout server is a registry of all available layouts. The server also
allows access to all available render sets. Render sets can be independent (named), or children of a layout.
Accordingly, the layout server provides accessor methods to get render set by name, or by layout. Render sets can,
and must, be defined for a specific media type (mime type).
author: Martin Holzner. version: $Revision: 8784 $ See Also: org.jboss.portal.theme.PortalLayout See Also: org.jboss.portal.theme.PortalRenderSet See Also: MediaType |
LayoutServiceImpl | public LayoutServiceImpl()(Code) | | |
createService | protected void createService() throws Exception(Code) | | See Also: org.jboss.system.Service.create See Also: |
destroyService | protected void destroyService()(Code) | | See Also: org.jboss.system.Service.destroy See Also: |
getDefaultRenderSetName | public String getDefaultRenderSetName()(Code) | | |
getRenderSet | public PortalRenderSet getRenderSet(LayoutInfo info, ContentInfo streamInfo, String renderSetName)(Code) | | Get the PortalRenderSet to use for the provided layout, page and media type. The render set can be defined
specifically for a layout, a page, or a portal. The one defined for the layout overwrites the one defined for the
page, which in turn overwrites the one defined for the portal. The render set is defined for a specific content
type (media type), which will be determined from the provided HttpStreamInfo.
|
setDefaultLayoutName | public void setDefaultLayoutName(String name)(Code) | | |
setDefaultRenderSetName | public void setDefaultRenderSetName(String name)(Code) | | |
startService | protected void startService() throws Exception(Code) | | See Also: org.jboss.system.Service.start See Also: |
stopService | protected void stopService()(Code) | | See Also: org.jboss.system.Service.stop See Also: |
|
|