net.sf.taverna.raven.appconfig
Class TestApplicationConfig

java.lang.Object
  extended by net.sf.taverna.raven.appconfig.AbstractPropThreadTest
      extended by net.sf.taverna.raven.appconfig.TestApplicationConfig

public class TestApplicationConfig
extends AbstractPropThreadTest


Constructor Summary
TestApplicationConfig()
           
 
Method Summary
 void getApplicationInheritedTitleSysProps()
           
 void getNameClassPathCL1()
           
 void getNameClassPathCL1ctxCL2()
          Make sure that the context class loader (CL2) is always preferred, even if it only has /raven-launcher.properties and the loading class loader (CL1) has /conf/raven-launcher-properties.
 void getNameClassPathCL2()
           
 void getNameClassPathCL3()
           
 void getNameSysProps()
           
 void getNameThreadCntxCL1()
           
 void getNameThreadCntxCL2()
           
 void getNameThreadCntxCL3()
           
 void getTitleClassPathCL1()
           
 void getTitleClassPathCL2()
           
 void getTitleClassPathCL3()
           
 void getTitleThreadCntxCL1()
           
 void getTitleThreadCntxCL2()
           
 void getTitleThreadCntxCL3()
           
 void getUnknownName()
           
 void getUnknownTitle()
           
 void makeApplicationConfig()
           
 void makeClassLoader1()
           
 void makeClassLoader2()
           
 void makeClassLoader3()
           
 
Methods inherited from class net.sf.taverna.raven.appconfig.AbstractPropThreadTest
restoreContextClassLoader, restoreSysProperties, saveContextClassLoader, saveSysProperties
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestApplicationConfig

public TestApplicationConfig()
Method Detail

getApplicationInheritedTitleSysProps

public void getApplicationInheritedTitleSysProps()

getUnknownName

public void getUnknownName()
                    throws java.lang.Exception
Throws:
java.lang.Exception

getNameSysProps

public void getNameSysProps()

makeClassLoader1

public void makeClassLoader1()
                      throws java.lang.ClassNotFoundException
Throws:
java.lang.ClassNotFoundException

makeClassLoader2

public void makeClassLoader2()

makeClassLoader3

public void makeClassLoader3()

getNameThreadCntxCL1

public void getNameThreadCntxCL1()

getTitleThreadCntxCL1

public void getTitleThreadCntxCL1()

getNameThreadCntxCL2

public void getNameThreadCntxCL2()

getTitleThreadCntxCL2

public void getTitleThreadCntxCL2()

getNameThreadCntxCL3

public void getNameThreadCntxCL3()

getTitleThreadCntxCL3

public void getTitleThreadCntxCL3()

getNameClassPathCL1

public void getNameClassPathCL1()
                         throws java.lang.ClassNotFoundException,
                                java.lang.SecurityException,
                                java.lang.NoSuchMethodException,
                                java.lang.IllegalArgumentException,
                                java.lang.IllegalAccessException,
                                java.lang.reflect.InvocationTargetException,
                                java.lang.InstantiationException
Throws:
java.lang.ClassNotFoundException
java.lang.SecurityException
java.lang.NoSuchMethodException
java.lang.IllegalArgumentException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
java.lang.InstantiationException

getTitleClassPathCL1

public void getTitleClassPathCL1()
                          throws java.lang.ClassNotFoundException,
                                 java.lang.SecurityException,
                                 java.lang.NoSuchMethodException,
                                 java.lang.IllegalArgumentException,
                                 java.lang.IllegalAccessException,
                                 java.lang.reflect.InvocationTargetException,
                                 java.lang.InstantiationException
Throws:
java.lang.ClassNotFoundException
java.lang.SecurityException
java.lang.NoSuchMethodException
java.lang.IllegalArgumentException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
java.lang.InstantiationException

getNameClassPathCL2

public void getNameClassPathCL2()
                         throws java.lang.ClassNotFoundException,
                                java.lang.SecurityException,
                                java.lang.NoSuchMethodException,
                                java.lang.IllegalArgumentException,
                                java.lang.IllegalAccessException,
                                java.lang.reflect.InvocationTargetException,
                                java.lang.InstantiationException
Throws:
java.lang.ClassNotFoundException
java.lang.SecurityException
java.lang.NoSuchMethodException
java.lang.IllegalArgumentException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
java.lang.InstantiationException

getTitleClassPathCL2

public void getTitleClassPathCL2()
                          throws java.lang.ClassNotFoundException,
                                 java.lang.SecurityException,
                                 java.lang.NoSuchMethodException,
                                 java.lang.IllegalArgumentException,
                                 java.lang.IllegalAccessException,
                                 java.lang.reflect.InvocationTargetException,
                                 java.lang.InstantiationException
Throws:
java.lang.ClassNotFoundException
java.lang.SecurityException
java.lang.NoSuchMethodException
java.lang.IllegalArgumentException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
java.lang.InstantiationException

getNameClassPathCL3

public void getNameClassPathCL3()
                         throws java.lang.ClassNotFoundException,
                                java.lang.SecurityException,
                                java.lang.NoSuchMethodException,
                                java.lang.IllegalArgumentException,
                                java.lang.IllegalAccessException,
                                java.lang.reflect.InvocationTargetException,
                                java.lang.InstantiationException
Throws:
java.lang.ClassNotFoundException
java.lang.SecurityException
java.lang.NoSuchMethodException
java.lang.IllegalArgumentException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
java.lang.InstantiationException

getTitleClassPathCL3

public void getTitleClassPathCL3()
                          throws java.lang.ClassNotFoundException,
                                 java.lang.SecurityException,
                                 java.lang.NoSuchMethodException,
                                 java.lang.IllegalArgumentException,
                                 java.lang.IllegalAccessException,
                                 java.lang.reflect.InvocationTargetException,
                                 java.lang.InstantiationException
Throws:
java.lang.ClassNotFoundException
java.lang.SecurityException
java.lang.NoSuchMethodException
java.lang.IllegalArgumentException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
java.lang.InstantiationException

getNameClassPathCL1ctxCL2

public void getNameClassPathCL1ctxCL2()
                               throws java.lang.ClassNotFoundException,
                                      java.lang.SecurityException,
                                      java.lang.NoSuchMethodException,
                                      java.lang.IllegalArgumentException,
                                      java.lang.IllegalAccessException,
                                      java.lang.reflect.InvocationTargetException,
                                      java.lang.InstantiationException
Make sure that the context class loader (CL2) is always preferred, even if it only has /raven-launcher.properties and the loading class loader (CL1) has /conf/raven-launcher-properties.

Throws:
java.lang.ClassNotFoundException
java.lang.SecurityException
java.lang.NoSuchMethodException
java.lang.IllegalArgumentException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
java.lang.InstantiationException

getUnknownTitle

public void getUnknownTitle()
                     throws java.lang.Exception
Throws:
java.lang.Exception

makeApplicationConfig

public void makeApplicationConfig()