com.pentagaia.tb.start
Interface IStartupConfiguration


public interface IStartupConfiguration

Startup configuration interface used by the kernel manager.

Since:
0.1.0
Version:
0.1.0
Author:
mepeisen

Method Summary
 Properties getApplicationProperties()
          Returns the application properties that should be used to startup the application.
 String getBootupPath()
          Returns a path to jar files that are loaded by the bootup class loader.
 String[] getSecuredProviders()
          Returns a list of allowed IPdsKernelProvider implementations.
 Properties getSystemProperties()
          Returns the system and pds properties that should be used by the kernel.
 boolean isMultipleKernelConfiguration()
          returns if we are allowed to startup multiple kernels.
 

Method Detail

getBootupPath

String getBootupPath()
Returns a path to jar files that are loaded by the bootup class loader. The kernel manager assumes that the returned path is a directory. It will look for jar files and zip files within this folder and automatically load them.

Returns:
path to bootup jar files or null if no additional jar files should be loaded.
See Also:
IConfigurationProperties.BOOT_PATH

getSecuredProviders

String[] getSecuredProviders()
Returns a list of allowed IPdsKernelProvider implementations.

Returns:
List of IPdsKernelProvider implementation classes (fully qualified class name). Returns an empty list if no provider is allowed and returns null if all providers are allowed.
See Also:
IConfigurationProperties.SECURED_PROVIDERS

isMultipleKernelConfiguration

boolean isMultipleKernelConfiguration()
returns if we are allowed to startup multiple kernels. This will always be false if started from command line. This may be used by special test cases that require to start multiple concurrent kernels.

Returns:
if we are allowed to start multiple kernels.

getSystemProperties

Properties getSystemProperties()
Returns the system and pds properties that should be used by the kernel.

Returns:
system and pds properties

getApplicationProperties

Properties getApplicationProperties()
Returns the application properties that should be used to startup the application.

Returns:
application properties (not merged with system properties).


Copyright © 2008. All Rights Reserved.