org.exoplatform.services.command.impl
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 |
protected org.apache.commons.chain.CatalogFactory |
catalogFactory
|
protected org.apache.commons.digester.Digester |
digester
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
catalogFactory
protected org.apache.commons.chain.CatalogFactory catalogFactory
digester
protected org.apache.commons.digester.Digester digester
CommandService
public CommandService()
addPlugin
public void addPlugin(ComponentPlugin plugin)
putCatalog
public void putCatalog(InputStream xml)
throws IOException,
SAXException
- puts catalog (add or update) using XML input stream
- Parameters:
xml -
- Throws:
IOException
SAXException
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!
Copyright © 2015 eXo Platform SAS. All Rights Reserved.