eXo Kernel :: Component :: Command Service 2.4.1-GA

org.exoplatform.services.command.impl
Class CommandService

java.lang.Object
  extended by 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
           
 
Constructor Summary
CommandService()
           
 
Method Summary
 void addPlugin(ComponentPlugin plugin)
           
 org.apache.commons.chain.Catalog getCatalog()
           
 org.apache.commons.chain.Catalog getCatalog(String name)
           
 Iterator getCatalogNames()
           
 void putCatalog(InputStream xml)
          puts catalog (add or update) using XML input stream
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

catalogFactory

protected org.apache.commons.chain.CatalogFactory catalogFactory

digester

protected org.apache.commons.digester.Digester digester
Constructor Detail

CommandService

public CommandService()
Method Detail

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!

eXo Kernel :: Component :: Command Service 2.4.1-GA

Copyright © 2012 eXo Platform SAS. All Rights Reserved.