public class AlfrescoCmisServiceFactory
extends org.apache.chemistry.opencmis.commons.impl.server.AbstractServiceFactory
| Constructor and Description |
|---|
AlfrescoCmisServiceFactory() |
| Modifier and Type | Method and Description |
|---|---|
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) |
public void setCmisConnector(CMISConnector connector)
public void setCmisTransactions(RetryingTransactionInterceptor cmisTransactions)
cmisTransactions - the interceptor that applies appropriate transactionspublic void setCmisExceptions(AlfrescoCmisExceptionInterceptor cmisExceptions)
cmisExceptions - interceptor to translate exceptionspublic void setCmisControl(AlfrescoCmisServiceInterceptor cmisControl)
cmisControl - interceptor that provides logging and authentication checkspublic void init(java.util.Map parameters)
init in interface org.apache.chemistry.opencmis.commons.server.CmisServiceFactoryinit in class org.apache.chemistry.opencmis.commons.impl.server.AbstractServiceFactorypublic void destroy()
destroy in interface org.apache.chemistry.opencmis.commons.server.CmisServiceFactorydestroy in class org.apache.chemistry.opencmis.commons.impl.server.AbstractServiceFactorypublic org.apache.chemistry.opencmis.commons.server.CmisService getService(org.apache.chemistry.opencmis.commons.server.CallContext context)
getService in interface org.apache.chemistry.opencmis.commons.server.CmisServiceFactorygetService in class org.apache.chemistry.opencmis.commons.impl.server.AbstractServiceFactoryCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.