org.gcube.application.aquamaps.aquamapsservice.impl.engine.predictions
Class BatchGeneratorObjectFactory

java.lang.Object
  extended by org.apache.commons.pool.BasePoolableObjectFactory
      extended by org.gcube.application.aquamaps.aquamapsservice.impl.engine.predictions.BatchGeneratorObjectFactory
All Implemented Interfaces:
org.apache.commons.pool.PoolableObjectFactory

public class BatchGeneratorObjectFactory
extends org.apache.commons.pool.BasePoolableObjectFactory


Nested Class Summary
static class BatchGeneratorObjectFactory.BatchPoolType
           
 
Constructor Summary
BatchGeneratorObjectFactory(BatchGeneratorObjectFactory.BatchPoolType type)
           
 
Method Summary
 void activateObject(Object obj)
           
 void destroyObject(Object obj)
           
static org.gcube.application.aquamaps.aquamapsservice.stubs.datamodel.environments.EnvironmentalExecutionReportItem getReport(int batchId, boolean getResourceInfo)
           
 Object makeObject()
           
 void passivateObject(Object obj)
           
 
Methods inherited from class org.apache.commons.pool.BasePoolableObjectFactory
validateObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BatchGeneratorObjectFactory

public BatchGeneratorObjectFactory(BatchGeneratorObjectFactory.BatchPoolType type)
Method Detail

getReport

public static org.gcube.application.aquamaps.aquamapsservice.stubs.datamodel.environments.EnvironmentalExecutionReportItem getReport(int batchId,
                                                                                                                                     boolean getResourceInfo)
                                                                                                                              throws Exception
Throws:
Exception

makeObject

public Object makeObject()
                  throws Exception
Specified by:
makeObject in interface org.apache.commons.pool.PoolableObjectFactory
Specified by:
makeObject in class org.apache.commons.pool.BasePoolableObjectFactory
Throws:
Exception

activateObject

public void activateObject(Object obj)
                    throws Exception
Specified by:
activateObject in interface org.apache.commons.pool.PoolableObjectFactory
Overrides:
activateObject in class org.apache.commons.pool.BasePoolableObjectFactory
Throws:
Exception

destroyObject

public void destroyObject(Object obj)
                   throws Exception
Specified by:
destroyObject in interface org.apache.commons.pool.PoolableObjectFactory
Overrides:
destroyObject in class org.apache.commons.pool.BasePoolableObjectFactory
Throws:
Exception

passivateObject

public void passivateObject(Object obj)
                     throws Exception
Specified by:
passivateObject in interface org.apache.commons.pool.PoolableObjectFactory
Overrides:
passivateObject in class org.apache.commons.pool.BasePoolableObjectFactory
Throws:
Exception


Copyright © 2014. All Rights Reserved.