org.alfresco.opencmis
Class AlfrescoCmisServiceFactory

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

public class AlfrescoCmisServiceFactory
extends org.apache.chemistry.opencmis.commons.impl.server.AbstractServiceFactory

Factory for OpenCMIS service objects.


Constructor Summary
AlfrescoCmisServiceFactory()
           
 
Method Summary
 void destroy()
           
 org.apache.chemistry.opencmis.commons.server.CmisService getService(org.apache.chemistry.opencmis.commons.server.CallContext context)
          TODO: We are producing new instances each time.
 void init(java.util.Map parameters)
           
 void setCmisConnector(CMISConnector connector)
          Sets the CMIS connector.
 void setCmisControl(AlfrescoCmisServiceInterceptor cmisControl)
           
 void setCmisExceptions(AlfrescoCmisExceptionInterceptor cmisExceptions)
           
 void setCmisTransactions(RetryingTransactionInterceptor cmisTransactions)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AlfrescoCmisServiceFactory

public AlfrescoCmisServiceFactory()
Method Detail

setCmisConnector

public void setCmisConnector(CMISConnector connector)
Sets the CMIS connector.


setCmisTransactions

public void setCmisTransactions(RetryingTransactionInterceptor cmisTransactions)
Parameters:
cmisTransactions - the interceptor that applies appropriate transactions

setCmisExceptions

public void setCmisExceptions(AlfrescoCmisExceptionInterceptor cmisExceptions)
Parameters:
cmisExceptions - interceptor to translate exceptions

setCmisControl

public void setCmisControl(AlfrescoCmisServiceInterceptor cmisControl)
Parameters:
cmisControl - interceptor that provides logging and authentication checks

init

public void init(java.util.Map parameters)
Specified by:
init in interface org.apache.chemistry.opencmis.commons.server.CmisServiceFactory
Overrides:
init in class org.apache.chemistry.opencmis.commons.impl.server.AbstractServiceFactory

destroy

public void destroy()
Specified by:
destroy in interface org.apache.chemistry.opencmis.commons.server.CmisServiceFactory
Overrides:
destroy in class org.apache.chemistry.opencmis.commons.impl.server.AbstractServiceFactory

getService

public org.apache.chemistry.opencmis.commons.server.CmisService getService(org.apache.chemistry.opencmis.commons.server.CallContext context)
TODO: We are producing new instances each time.

Specified by:
getService in interface org.apache.chemistry.opencmis.commons.server.CmisServiceFactory
Specified by:
getService in class org.apache.chemistry.opencmis.commons.impl.server.AbstractServiceFactory


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.