Class CommandService
- java.lang.Object
-
- org.exoplatform.services.command.impl.CommandService
-
public class CommandService extends Object
Created by The eXo Platform SAS.- Version:
- $Id: CommandService.java 12832 2007-02-15 12:41:32Z geaz $
- Author:
- Gennady Azarenkov
-
-
Field Summary
Fields Modifier and Type Field Description protected org.apache.commons.chain.CatalogFactorycatalogFactoryprotected org.apache.commons.digester.Digesterdigester
-
Constructor Summary
Constructors Constructor Description CommandService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddPlugin(org.exoplatform.container.component.ComponentPlugin plugin)org.apache.commons.chain.CataloggetCatalog()org.apache.commons.chain.CataloggetCatalog(String name)IteratorgetCatalogNames()voidputCatalog(InputStream xml)puts catalog (add or update) using XML input stream
-
-
-
Method Detail
-
addPlugin
public void addPlugin(org.exoplatform.container.component.ComponentPlugin plugin)
-
putCatalog
public void putCatalog(InputStream xml) throws IOException, SAXException
puts catalog (add or update) using XML input stream- Parameters:
xml-- Throws:
IOExceptionSAXException
-
getCatalog
public org.apache.commons.chain.Catalog getCatalog()
- Returns:
- default catalog
-
getCatalog
public org.apache.commons.chain.Catalog getCatalog(String name)
- Parameters:
name-- Returns:
- named catalog
-
getCatalogNames
public Iterator getCatalogNames()
- Returns:
- iterator of catalog names. default catalog is not listed here!
-
-