Package ubic.gemma.persistence.util
Class AsyncSingletonFactoryTest.MyServiceFactory
- java.lang.Object
-
- ubic.gemma.persistence.util.AbstractAsyncFactoryBean<AsyncSingletonFactoryTest.MyService>
-
- ubic.gemma.persistence.util.AsyncSingletonFactoryTest.MyServiceFactory
-
- All Implemented Interfaces:
DisposableBean,FactoryBean<Future<AsyncSingletonFactoryTest.MyService>>,AsyncFactoryBean<AsyncSingletonFactoryTest.MyService>
- Enclosing class:
- AsyncSingletonFactoryTest
public static class AsyncSingletonFactoryTest.MyServiceFactory extends AbstractAsyncFactoryBean<AsyncSingletonFactoryTest.MyService>
-
-
Constructor Summary
Constructors Constructor Description MyServiceFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AsyncSingletonFactoryTest.MyServicecreateObject()booleanisSingleton()-
Methods inherited from class ubic.gemma.persistence.util.AbstractAsyncFactoryBean
destroy, getObject, getObjectType, isInitialized
-
-
-
-
Method Detail
-
createObject
public AsyncSingletonFactoryTest.MyService createObject() throws Exception
- Specified by:
createObjectin classAbstractAsyncFactoryBean<AsyncSingletonFactoryTest.MyService>- Throws:
Exception
-
isSingleton
public boolean isSingleton()
-
-