|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectoemware.core.util.ChainUtils
public final class ChainUtils
The chain utils.
| Constructor Summary | |
|---|---|
ChainUtils()
|
|
| Method Summary | |
|---|---|
static java.lang.String |
chainsAvailable(org.apache.commons.chain.Catalog pCatalog)
Returns a string of available chains in a catalog. |
static org.apache.commons.chain.Context |
createContext()
Returns the standard context object for the system. |
static org.apache.commons.chain.Context |
executeChain(org.apache.commons.chain.Catalog pCatalog,
java.lang.String pChainName)
Execute a command name in a chain. |
static void |
executeChain(org.apache.commons.chain.Catalog pCatalog,
java.lang.String pChainName,
org.apache.commons.chain.Context pContext)
Execute a command name in a chain. |
static org.apache.commons.chain.Context |
executeChain(org.apache.commons.chain.Chain pChain)
Execute a chain with a new empty context object. |
static void |
executeChain(org.apache.commons.chain.Chain pChain,
org.apache.commons.chain.Context pContext)
Execute a chain with a passed context. |
static org.apache.commons.chain.Chain |
getChain(org.apache.commons.chain.Catalog pCatalog,
java.lang.String pChainName)
Returns a chain from a catalog. |
static org.apache.commons.chain.Catalog |
loadCatalog(java.lang.String pResourceName,
java.lang.String pCatalogName)
Load a catalog. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ChainUtils()
| Method Detail |
|---|
public static final org.apache.commons.chain.Context createContext()
public static final org.apache.commons.chain.Context executeChain(org.apache.commons.chain.Catalog pCatalog,
java.lang.String pChainName)
throws CoreException
pCatalog - The catalog.pChainName - The chain name.
CoreException
public static final void executeChain(org.apache.commons.chain.Catalog pCatalog,
java.lang.String pChainName,
org.apache.commons.chain.Context pContext)
throws CoreException
pCatalog - The catalog.pChainName - The chain name.pContext - The context object.
CoreException
public static final void executeChain(org.apache.commons.chain.Chain pChain,
org.apache.commons.chain.Context pContext)
throws CoreException
pChain - The chainpContext - The context object.
CoreException
public static final org.apache.commons.chain.Context executeChain(org.apache.commons.chain.Chain pChain)
throws CoreException
pChain - The chain
CoreException
public static final org.apache.commons.chain.Chain getChain(org.apache.commons.chain.Catalog pCatalog,
java.lang.String pChainName)
throws CoreException
pCatalog - The catalog.pChainName - The chain name.
CoreExceptionpublic static final java.lang.String chainsAvailable(org.apache.commons.chain.Catalog pCatalog)
pCatalog - The catalog
public static final org.apache.commons.chain.Catalog loadCatalog(java.lang.String pResourceName,
java.lang.String pCatalogName)
throws CoreException
pResourceName - The catalog config file name (must be in the
classpath e.g., /oemware-lifecycle.xml).pCatalogName - The name of the catalog.
CoreException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||