org.gwe.integration.slicer
Class AbstractCLMProxyApp

java.lang.Object
  extended by org.gwe.integration.slicer.AbstractCLMProxyApp
Direct Known Subclasses:
ChainCLMProxyApp, GWECLMProxyApp, WrapperCLMProxyApp

public abstract class AbstractCLMProxyApp
extends java.lang.Object

Since:
Dec 18, 2007
Author:
Marco Ruiz

Field Summary
static java.lang.String ENV_SLICER_HOME
           
static java.lang.String PLUGINS_RELATIVE_DIR
           
protected  java.lang.String slicerHome
           
protected  ExecutableModel xmlModel
           
 
Constructor Summary
AbstractCLMProxyApp()
           
 
Method Summary
protected  java.lang.String generateCLMErrorXML(java.io.IOException e)
           
abstract  java.lang.String generateProxyXML()
           
 java.lang.String getPluginsDir()
           
 java.lang.String getPluginsDir(java.lang.String slicerHomeDir)
           
 ExecutableModel getXmlModel()
           
static void main(java.lang.String[] args)
           
protected static
<PROXY_APP_TYPE extends AbstractCLMProxyApp>
void
proxyAppClassMain(java.lang.Class<PROXY_APP_TYPE> proxyAppClass, java.util.List<java.lang.String> argsList)
           
protected static
<PROXY_APP extends AbstractCLMProxyApp>
void
proxyAppMain(PROXY_APP proxyApp, java.util.List<java.lang.String> argsList)
           
static java.lang.String[] removeArgs(java.lang.String[] args, int count)
           
abstract  java.lang.String runProxyApp(java.lang.String[] args)
           
 void setXmlModel(ExecutableModel xmlModel)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ENV_SLICER_HOME

public static java.lang.String ENV_SLICER_HOME

PLUGINS_RELATIVE_DIR

public static java.lang.String PLUGINS_RELATIVE_DIR

slicerHome

protected java.lang.String slicerHome

xmlModel

protected ExecutableModel xmlModel
Constructor Detail

AbstractCLMProxyApp

public AbstractCLMProxyApp()
Method Detail

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Throws:
java.lang.Exception

proxyAppClassMain

protected static <PROXY_APP_TYPE extends AbstractCLMProxyApp> void proxyAppClassMain(java.lang.Class<PROXY_APP_TYPE> proxyAppClass,
                                                                                     java.util.List<java.lang.String> argsList)
                                 throws java.lang.Exception
Throws:
java.lang.Exception

proxyAppMain

protected static <PROXY_APP extends AbstractCLMProxyApp> void proxyAppMain(PROXY_APP proxyApp,
                                                                           java.util.List<java.lang.String> argsList)

removeArgs

public static java.lang.String[] removeArgs(java.lang.String[] args,
                                            int count)

getPluginsDir

public java.lang.String getPluginsDir()

getPluginsDir

public java.lang.String getPluginsDir(java.lang.String slicerHomeDir)

getXmlModel

public ExecutableModel getXmlModel()

setXmlModel

public void setXmlModel(ExecutableModel xmlModel)

generateProxyXML

public abstract java.lang.String generateProxyXML()
                                           throws java.lang.Exception
Throws:
java.lang.Exception

runProxyApp

public abstract java.lang.String runProxyApp(java.lang.String[] args)
                                      throws java.lang.Exception
Throws:
java.lang.Exception

generateCLMErrorXML

protected java.lang.String generateCLMErrorXML(java.io.IOException e)


Copyright © 2007-2009. All Rights Reserved.