org.n52.wps.server
Class LocalAlgorithmRepository

java.lang.Object
  extended by org.n52.wps.server.LocalAlgorithmRepository
All Implemented Interfaces:
IAlgorithmRepository, ITransactionalAlgorithmRepository

public class LocalAlgorithmRepository
extends java.lang.Object
implements ITransactionalAlgorithmRepository

A static repository to retrieve the available algorithms.

Author:
foerster

Constructor Summary
LocalAlgorithmRepository()
           
 
Method Summary
 boolean addAlgorithm(java.lang.Object processID)
           
 boolean addAlgorithms(java.lang.String[] algorithms)
           
 boolean containsAlgorithm(java.lang.String className)
           
 IAlgorithm getAlgorithm(java.lang.String className, ExecuteRequest executeRequest)
           
 java.util.Collection<java.lang.String> getAlgorithmNames()
           
 java.util.Collection<IAlgorithm> getAlgorithms()
           
 net.opengis.wps.x100.ProcessDescriptionType getProcessDescription(java.lang.String processID)
           
 boolean removeAlgorithm(java.lang.Object processID)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocalAlgorithmRepository

public LocalAlgorithmRepository()
Method Detail

addAlgorithms

public boolean addAlgorithms(java.lang.String[] algorithms)

getAlgorithm

public IAlgorithm getAlgorithm(java.lang.String className,
                               ExecuteRequest executeRequest)
Specified by:
getAlgorithm in interface IAlgorithmRepository

getAlgorithms

public java.util.Collection<IAlgorithm> getAlgorithms()
Specified by:
getAlgorithms in interface IAlgorithmRepository

getAlgorithmNames

public java.util.Collection<java.lang.String> getAlgorithmNames()
Specified by:
getAlgorithmNames in interface IAlgorithmRepository

containsAlgorithm

public boolean containsAlgorithm(java.lang.String className)
Specified by:
containsAlgorithm in interface IAlgorithmRepository

addAlgorithm

public boolean addAlgorithm(java.lang.Object processID)
Specified by:
addAlgorithm in interface ITransactionalAlgorithmRepository

removeAlgorithm

public boolean removeAlgorithm(java.lang.Object processID)
Specified by:
removeAlgorithm in interface ITransactionalAlgorithmRepository

getProcessDescription

public net.opengis.wps.x100.ProcessDescriptionType getProcessDescription(java.lang.String processID)
Specified by:
getProcessDescription in interface IAlgorithmRepository


Copyright © 2007-2011 52north.org. All Rights Reserved.