uk.ac.ncl.cs.instantsoap.wsapi.impl
Class ExternalPythonProcessorConfigurator

java.lang.Object
  extended by uk.ac.ncl.cs.instantsoap.wsapi.impl.ExternalPythonProcessorConfigurator
All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean

public class ExternalPythonProcessorConfigurator
extends Object
implements org.springframework.beans.factory.InitializingBean

Expose python scripts to an InstantsSOAP stack.

This is intended for use in SPRING containers. It searches for a resource: META-INF/spring/uk.ac.ncl.cs.instantsoap.strategydp.impl.PythonProcessorConfigurator which should contain one python module per line to expose.

Author:
Matthew Pocock

Constructor Summary
ExternalPythonProcessorConfigurator()
           
 
Method Summary
 void afterPropertiesSet()
           
 PythonExecutor getExecutor()
           
 MultiplexingMapProcessor getProcessor()
           
 String getSearchLocation()
           
 void setExecutor(PythonExecutor executor)
           
 void setProcessor(MultiplexingMapProcessor processor)
           
 void setSearchLocations(String searchLocation)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExternalPythonProcessorConfigurator

public ExternalPythonProcessorConfigurator()
Method Detail

getProcessor

public MultiplexingMapProcessor getProcessor()

setProcessor

public void setProcessor(MultiplexingMapProcessor processor)

getExecutor

public PythonExecutor getExecutor()

setExecutor

public void setExecutor(PythonExecutor executor)

getSearchLocation

public String getSearchLocation()

setSearchLocations

public void setSearchLocations(String searchLocation)

afterPropertiesSet

public void afterPropertiesSet()
                        throws Exception
Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
Throws:
Exception


Copyright © 2006-2008. All Rights Reserved.