org.apache.chemistry.opencmis.inmemory.server
Class InMemoryServiceFactoryImpl

java.lang.Object
  extended by org.apache.chemistry.opencmis.commons.impl.server.AbstractServiceFactory
      extended by org.apache.chemistry.opencmis.inmemory.server.InMemoryServiceFactoryImpl
All Implemented Interfaces:
CmisServiceFactory

public class InMemoryServiceFactoryImpl
extends AbstractServiceFactory


Constructor Summary
InMemoryServiceFactoryImpl()
           
 
Method Summary
 void destroy()
          Cleans up the the factory instance.
 CmisService getService(CallContext context)
          Returns a CmisService object for the given CallContext.
 void init(java.util.Map<java.lang.String,java.lang.String> parameters)
          Initializes the factory instance.
static void setOverrideCallContext(CallContext ctx)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InMemoryServiceFactoryImpl

public InMemoryServiceFactoryImpl()
Method Detail

init

public void init(java.util.Map<java.lang.String,java.lang.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.