Class CommandService
java.lang.Object
org.exoplatform.services.command.impl.CommandService
Created by The eXo Platform SAS.
- Version:
- $Id: CommandService.java 12832 2007-02-15 12:41:32Z geaz $
- Author:
- Gennady Azarenkov
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.apache.commons.chain.CatalogFactoryprotected org.apache.commons.digester.Digester -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddPlugin(org.exoplatform.container.component.ComponentPlugin plugin) org.apache.commons.chain.Catalogorg.apache.commons.chain.CataloggetCatalog(String name) voidputCatalog(InputStream xml) puts catalog (add or update) using XML input stream
-
Field Details
-
catalogFactory
protected org.apache.commons.chain.CatalogFactory catalogFactory -
digester
protected org.apache.commons.digester.Digester digester
-
-
Constructor Details
-
CommandService
public CommandService()
-
-
Method Details
-
addPlugin
public void addPlugin(org.exoplatform.container.component.ComponentPlugin plugin) -
putCatalog
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
- Parameters:
name-- Returns:
- named catalog
-
getCatalogNames
- Returns:
- iterator of catalog names. default catalog is not listed here!
-