org.gcube.application.aquamaps.aquamapsservice.impl.engine.predictions
Class BatchGeneratorObjectFactory
java.lang.Object
org.apache.commons.pool.BasePoolableObjectFactory
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
| 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 |
BatchGeneratorObjectFactory
public BatchGeneratorObjectFactory(BatchGeneratorObjectFactory.BatchPoolType type)
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.