org.apache.chemistry.opencmis.inmemory.server
Class InMemoryServiceFactoryImpl
java.lang.Object
org.apache.chemistry.opencmis.commons.impl.server.AbstractServiceFactory
org.apache.chemistry.opencmis.inmemory.server.InMemoryServiceFactoryImpl
- All Implemented Interfaces:
- CmisServiceFactory
public class InMemoryServiceFactoryImpl
- extends AbstractServiceFactory
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InMemoryServiceFactoryImpl
public InMemoryServiceFactoryImpl()
init
public void init(Map<String,String> parameters)
- Description copied from interface:
CmisServiceFactory
- Initializes the factory instance.
- Specified by:
init
in interface CmisServiceFactory
- Overrides:
init
in class AbstractServiceFactory
setOverrideCallContext
public static void setOverrideCallContext(CallContext ctx)
getService
public CmisService getService(CallContext context)
- Description copied from interface:
CmisServiceFactory
- Returns a
CmisService
object for the given CallContext
.
When the CmisService
object is not longer needed
CmisService.close()
will be called.
- Specified by:
getService
in interface CmisServiceFactory
- Specified by:
getService
in class AbstractServiceFactory
destroy
public void destroy()
- Description copied from interface:
CmisServiceFactory
- Cleans up the the factory instance.
- Specified by:
destroy
in interface CmisServiceFactory
- Overrides:
destroy
in class AbstractServiceFactory
Copyright © 2009-2011 The Apache Software Foundation. All Rights Reserved.