org.astrogrid.applications.commandline
Class CommandLineCEAComponentManager

java.lang.Object
  extended byorg.astrogrid.component.EmptyComponentManager
      extended byorg.astrogrid.applications.component.EmptyCEAComponentManager
          extended byorg.astrogrid.applications.commandline.CommandLineCEAComponentManager
All Implemented Interfaces:
CEAComponentManager, ComponentManager, org.picocontainer.Startable

public class CommandLineCEAComponentManager
extends EmptyCEAComponentManager

Component manager that create a cea server that runs command-line applications

Author:
Noel Winstanley nw@jb.man.ac.uk 04-May-2004

Field Summary
 
Fields inherited from class org.astrogrid.applications.component.EmptyCEAComponentManager
AUTHORITY_NAME, FILESTORE_BASEDIR, logger, PERSISTENCE_BACKEND
 
Fields inherited from class org.astrogrid.component.EmptyComponentManager
log, pico
 
Constructor Summary
CommandLineCEAComponentManager()
          construct a component manager configured with a working cea server with the commandline application provider.
 
Method Summary
static void registerCommandLineProvider(org.picocontainer.MutablePicoContainer pico)
          register just the components for the commandline provider - none of the generic components
 void setCommandLineConfigurationInstance(CommandLineConfiguration c)
          Sets a specific instance of the CEC-configuration object.
 
Methods inherited from class org.astrogrid.applications.component.EmptyCEAComponentManager
getConfiguration, getControlService, getExecutionController, getMetadataService, getQueryService, getRegistryUploaderService, registerAstrogridIndirectionProtocols, registerCompositeApplicationDescriptionLibrary, registerContainerApplicationDescriptionLibrary, registerDefaultPersistence, registerDefaultRegistryUploader, registerDefaultServices, registerDefaultVOProvider, registerEnvironmentRetriever, registerProtocolLibrary, registerStandardIndirectionProtocols, registerVOProvider
 
Methods inherited from class org.astrogrid.component.EmptyComponentManager
getContainer, getSuite, information, informationHTML, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.astrogrid.component.ComponentManager
getContainer, getSuite, information, informationHTML
 
Methods inherited from interface org.picocontainer.Startable
start, stop
 

Constructor Detail

CommandLineCEAComponentManager

public CommandLineCEAComponentManager()
construct a component manager configured with a working cea server with the commandline application provider.

Method Detail

registerCommandLineProvider

public static final void registerCommandLineProvider(org.picocontainer.MutablePicoContainer pico)
register just the components for the commandline provider - none of the generic components


setCommandLineConfigurationInstance

public void setCommandLineConfigurationInstance(CommandLineConfiguration c)
Sets a specific instance of the CEC-configuration object. This is useful for testing with an environment set in the the test-code. Calling this method circumvents the usual process of finding the configuration from JNDI etc. and is typically inappropriate for a CEC in actual service.



Copyright © 2002-2006 AstroGrid. All Rights Reserved.