org.apache.cocoon.components.blocks
Class BlockWiring
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.cocoon.components.blocks.BlockWiring
- All Implemented Interfaces:
- Configurable, Contextualizable, Disposable, LogEnabled, Serviceable
- public class BlockWiring
- extends AbstractLogEnabled
- implements Configurable, Contextualizable, Disposable, Serviceable
- Version:
- SVN $Id: BlockWiring.java 327986 2005-10-24 07:12:01Z cziegeler $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BlockWiring
public BlockWiring()
service
public void service(ServiceManager manager)
throws ServiceException
- Specified by:
service
in interface Serviceable
- Throws:
ServiceException
contextualize
public void contextualize(Context context)
throws ContextException
- Specified by:
contextualize
in interface Contextualizable
- Throws:
ContextException
configure
public void configure(Configuration config)
throws ConfigurationException
- Specified by:
configure
in interface Configurable
- Throws:
ConfigurationException
dispose
public void dispose()
- Specified by:
dispose
in interface Disposable
setBlocksManager
public void setBlocksManager(BlocksManager blocksManager)
getId
public String getId()
- Get the identifier of the block
getContextURL
public URL getContextURL()
throws MalformedURLException
- Get the URL of the root of the block
- Throws:
MalformedURLException
getBlock
public Block getBlock(String blockName)
- Get a block from the blockname.
getProperty
public String getProperty(String name)
- Get a block property
Copyright ? 1999-2005 The Apache Software Foundation. All Rights Reserved.