org.apache.chemistry.opencmis.commons.server
Interface CmisServiceFactory

All Known Implementing Classes:
org.apache.chemistry.opencmis.commons.impl.server.AbstractServiceFactory, JcrServiceFactory

public interface CmisServiceFactory

Factory for CmisService objects.


Method Summary
 void destroy()
          Cleans up the the factory instance.
 CmisService getService(CallContext context)
          Returns a CmisService object for the given CallContext.
 void init(Map<String,String> parameters)
          Initializes the factory instance.
 

Method Detail

init

void init(Map<String,String> parameters)
Initializes the factory instance.


destroy

void destroy()
Cleans up the the factory instance.


getService

CmisService getService(CallContext context)
Returns a CmisService object for the given CallContext. When the CmisService object is not longer needed CmisService.close() will be called.



Copyright © 2009-2011 The Apache Software Foundation. All Rights Reserved.