org.alfresco.repo.service
Class ServiceDescriptorRegistry

java.lang.Object
  extended by org.alfresco.repo.service.ServiceDescriptorRegistry
All Implemented Interfaces:
ServiceRegistry, org.springframework.beans.factory.BeanFactoryAware

public class ServiceDescriptorRegistry
extends java.lang.Object
implements org.springframework.beans.factory.BeanFactoryAware, ServiceRegistry

Implementation of a Service Registry based on the definition of Services contained within a Spring Bean Factory.


Field Summary
 
Fields inherited from interface org.alfresco.service.ServiceRegistry
ACTION_SERVICE, ASSET_SERVICE, ATTRIBUTE_SERVICE, AUDIT_SERVICE, AUTHENTICATION_SERVICE, AUTHORITY_SERVICE, AVM_LOCKING_AWARE_SERVICE, AVM_LOCKING_SERVICE, AVM_SERVICE, AVM_SYNC_SERVICE, BLOG_SERVICE, CALENDAR_SERVICE, CATEGORY_SERVICE, CMIS_DICTIONARY_SERVICE, CMIS_QUERY_SERVICE, CMIS_SERVICE, COCI_SERVICE, CONTENT_FILTER_LANGUAGES_SERVICE, CONTENT_SERVICE, COPY_SERVICE, CROSS_REPO_COPY_SERVICE, DEPLOYMENT_SERVICE, DESCRIPTOR_SERVICE, DICTIONARY_SERVICE, EDITION_SERVICE, EXPORTER_SERVICE, FILE_FOLDER_SERVICE, FORM_SERVICE, IMAP_SERVICE, IMPORTER_SERVICE, INVITATION_SERVICE, JOB_LOCK_SERVICE, LOCK_SERVICE, MIMETYPE_SERVICE, MULTILINGUAL_CONTENT_SERVICE, NAMESPACE_SERVICE, NODE_LOCATOR_SERVICE, NODE_SERVICE, NOTIFICATION_SERVICE, OWNABLE_SERVICE, PERMISSIONS_SERVICE, PERSON_SERVICE, PREFERENCE_SERVICE, PREVIEW_URI_SERVICE, PUBLIC_SERVICE_ACCESS_SERVICE, RATING_SERVICE, REGISTRY_SERVICE, RENDITION_SERVICE, REPO_ADMIN_SERVICE, RETRYING_TRANSACTION_HELPER, RULE_SERVICE, SANDBOX_SERVICE, SCRIPT_SERVICE, SEARCH_SERVICE, SERVICE_REGISTRY, SITE_SERVICE, TAGGING_SERVICE, TEMPLATE_SERVICE, THUMBNAIL_SERVICE, TRANSACTION_SERVICE, VERSION_SERVICE, VIRT_SERVER_REGISTRY, WEBPROJECT_SERVICE, WORKFLOW_SERVICE
 
Constructor Summary
ServiceDescriptorRegistry()
           
 
Method Summary
 ActionService getActionService()
           
 AssetService getAssetService()
          Get the WCM Asset Service
 AttributeService getAttributeService()
          Get the attribute service (or null if one is not provided)
 AuditService getAuditService()
           
 MutableAuthenticationService getAuthenticationService()
           
 AuthorityService getAuthorityService()
           
 AVMService getAVMLockingAwareService()
          Get the AVMService.
 AVMLockingService getAVMLockingService()
          Get the AVM locking service (or null if one is not provided)
 AVMService getAVMService()
          Get the AVMService.
 AVMSyncService getAVMSyncService()
          Get the AVM Sync Service.
 BlogService getBlogService()
          Get the blog service (or null if one is not provided)
 CalendarService getCalendarService()
          Get the calendar service (or null if one is not provided)
 CategoryService getCategoryService()
           
 CheckOutCheckInService getCheckOutCheckInService()
           
 CMISDictionaryService getCMISDictionaryService()
          Get the CMIS Dictionary service (or null if one is not provided)
 CMISQueryService getCMISQueryService()
          Get the CMIS Query service (or null if one is not provided)
 CMISServices getCMISService()
          Get the CMIS service (or null if one is not provided)
 ContentFilterLanguagesService getContentFilterLanguagesService()
           
 ContentService getContentService()
           
 CopyService getCopyService()
           
 CrossRepositoryCopyService getCrossRepositoryCopyService()
          Get the cross repository copy service (or null if one is not provided)
 DeploymentService getDeploymentService()
          Get the WCM Deployment Service
 DescriptorService getDescriptorService()
           
 org.alfresco.service.cmr.dictionary.DictionaryService getDictionaryService()
           
 EditionService getEditionService()
          Get the Edition Service
 ExporterService getExporterService()
           
 FileFolderService getFileFolderService()
           
 FormService getFormService()
          Get the form service (or null if one is not provided)
 ImapService getImapService()
          Get the IMAP service (or null if one is not provided)
 ImporterService getImporterService()
           
 InvitationService getInvitationService()
          Get the invitation service (or null if one is not provided)
 JobLockService getJobLockService()
           
 LockService getLockService()
           
 org.alfresco.service.cmr.repository.MimetypeService getMimetypeService()
           
 MultilingualContentService getMultilingualContentService()
          Get the Multilingual Content Service
 org.alfresco.service.namespace.NamespaceService getNamespaceService()
           
 NodeLocatorService getNodeLocatorService()
          Get the node locator service (or null if one is not provided)
 org.alfresco.service.cmr.repository.NodeService getNodeService()
           
 NotificationService getNotificationService()
           
 OwnableService getOwnableService()
          Get the ownable service (or null if one is not provided)
 org.alfresco.service.cmr.security.PermissionService getPermissionService()
           
 PersonService getPersonService()
          Get the person service (or null if one is not provided)
 PreviewURIService getPreviewURIService()
          Get the WCM Preview URI Service
 PublicServiceAccessService getPublicServiceAccessService()
          Get the IMAP service (or null if one is not provided)
 RatingService getRatingService()
          Get the rating service (or null if one is not provided)
 RenditionService getRenditionService()
          Get the rendition service (or null if one is not provided)
 RepoAdminService getRepoAdminService()
          Get the repo admin service (or null if one is not provided)
 RetryingTransactionHelper getRetryingTransactionHelper()
           
 RuleService getRuleService()
           
 SandboxService getSandboxService()
          Get the WCM Sandbox Service
 ScriptService getScriptService()
           
 org.alfresco.service.cmr.search.SearchService getSearchService()
           
 java.lang.Object getService(org.alfresco.service.namespace.QName service)
          Get the specified service.
 java.util.Collection getServices()
          Get the list of services provided by the Repository
 SiteService getSiteService()
          Get the site service (or null if one is not provided)
 SysAdminParams getSysAdminParams()
          Get the sys admin params helper bean.
 TaggingService getTaggingService()
          Get the Tagging Service
 TemplateService getTemplateService()
           
 ThumbnailService getThumbnailService()
          Get the Thumbnail Service
 TransactionService getTransactionService()
           
 VersionService getVersionService()
           
 org.alfresco.mbeans.VirtServerRegistry getVirtServerRegistry()
          Get the Virtualisation Server registry service bean
 WebProjectService getWebProjectService()
          Get the WCM WebProject Service
 WorkflowService getWorkflowService()
           
 boolean isServiceProvided(org.alfresco.service.namespace.QName service)
          Is the specified service provided by the Repository?
 void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceDescriptorRegistry

public ServiceDescriptorRegistry()
Method Detail

setBeanFactory

public void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)
                    throws org.springframework.beans.BeansException
Specified by:
setBeanFactory in interface org.springframework.beans.factory.BeanFactoryAware
Throws:
org.springframework.beans.BeansException

getServices

public java.util.Collection getServices()
Description copied from interface: ServiceRegistry
Get the list of services provided by the Repository

Specified by:
getServices in interface ServiceRegistry
Returns:
list of provided Services

isServiceProvided

public boolean isServiceProvided(org.alfresco.service.namespace.QName service)
Description copied from interface: ServiceRegistry
Is the specified service provided by the Repository?

Specified by:
isServiceProvided in interface ServiceRegistry
Parameters:
service - name of service to test provision of
Returns:
true => provided, false => not provided

getService

public java.lang.Object getService(org.alfresco.service.namespace.QName service)
Description copied from interface: ServiceRegistry
Get the specified service.

Specified by:
getService in interface ServiceRegistry
Parameters:
service - name of service to retrieve
Returns:
the service interface (must cast to interface as described in service meta-data)

getDescriptorService

public DescriptorService getDescriptorService()
Specified by:
getDescriptorService in interface ServiceRegistry
Returns:
the descriptor service

getNodeService

public org.alfresco.service.cmr.repository.NodeService getNodeService()
Specified by:
getNodeService in interface ServiceRegistry
Returns:
the node service (or null, if one is not provided)

getAuthenticationService

public MutableAuthenticationService getAuthenticationService()
Specified by:
getAuthenticationService in interface ServiceRegistry
Returns:
the authentication service (or null, if one is not provided)

getContentService

public ContentService getContentService()
Specified by:
getContentService in interface ServiceRegistry
Returns:
the content service (or null, if one is not provided)

getMimetypeService

public org.alfresco.service.cmr.repository.MimetypeService getMimetypeService()
Specified by:
getMimetypeService in interface ServiceRegistry
Returns:
the mimetype service (or null, if one is not provided)

getVersionService

public VersionService getVersionService()
Specified by:
getVersionService in interface ServiceRegistry
Returns:
the version service (or null, if one is not provided)

getLockService

public LockService getLockService()
Specified by:
getLockService in interface ServiceRegistry
Returns:
the lock service (or null, if one is not provided)

getJobLockService

public JobLockService getJobLockService()
Specified by:
getJobLockService in interface ServiceRegistry
Returns:
the job lock service (or null, if one is not provided)

getDictionaryService

public org.alfresco.service.cmr.dictionary.DictionaryService getDictionaryService()
Specified by:
getDictionaryService in interface ServiceRegistry
Returns:
the dictionary service (or null, if one is not provided)

getSearchService

public org.alfresco.service.cmr.search.SearchService getSearchService()
Specified by:
getSearchService in interface ServiceRegistry
Returns:
the search service (or null, if one is not provided)

getTransactionService

public TransactionService getTransactionService()
Specified by:
getTransactionService in interface ServiceRegistry
Returns:
the transaction service

getRetryingTransactionHelper

public RetryingTransactionHelper getRetryingTransactionHelper()
Specified by:
getRetryingTransactionHelper in interface ServiceRegistry
Returns:
the transaction service

getCopyService

public CopyService getCopyService()
Specified by:
getCopyService in interface ServiceRegistry
Returns:
the copy service (or null, if one is not provided)

getCheckOutCheckInService

public CheckOutCheckInService getCheckOutCheckInService()
Specified by:
getCheckOutCheckInService in interface ServiceRegistry
Returns:
the checkout / checkin service (or null, if one is not provided)

getCategoryService

public CategoryService getCategoryService()
Specified by:
getCategoryService in interface ServiceRegistry
Returns:
the category service (or null, if one is not provided)

getNamespaceService

public org.alfresco.service.namespace.NamespaceService getNamespaceService()
Specified by:
getNamespaceService in interface ServiceRegistry
Returns:
the namespace service (or null, if one is not provided)

getImporterService

public ImporterService getImporterService()
Specified by:
getImporterService in interface ServiceRegistry
Returns:
the importer service or null if not present

getExporterService

public ExporterService getExporterService()
Specified by:
getExporterService in interface ServiceRegistry
Returns:
the exporter service or null if not present

getRuleService

public RuleService getRuleService()
Specified by:
getRuleService in interface ServiceRegistry
Returns:
the rule service (or null, if one is not provided)

getActionService

public ActionService getActionService()
Specified by:
getActionService in interface ServiceRegistry
Returns:
the action service (or null if one is not provided)

getPermissionService

public org.alfresco.service.cmr.security.PermissionService getPermissionService()
Specified by:
getPermissionService in interface ServiceRegistry
Returns:
the permission service (or null if one is not provided)

getAuthorityService

public AuthorityService getAuthorityService()
Specified by:
getAuthorityService in interface ServiceRegistry
Returns:
the authority service (or null if one is not provided)

getTemplateService

public TemplateService getTemplateService()
Specified by:
getTemplateService in interface ServiceRegistry
Returns:
the template service (or null if one is not provided)

getFileFolderService

public FileFolderService getFileFolderService()
Specified by:
getFileFolderService in interface ServiceRegistry
Returns:
the file-folder manipulation service (or null if one is not provided)

getScriptService

public ScriptService getScriptService()
Specified by:
getScriptService in interface ServiceRegistry
Returns:
the script execution service (or null if one is not provided)

getWorkflowService

public WorkflowService getWorkflowService()
Specified by:
getWorkflowService in interface ServiceRegistry
Returns:
the workflow service (or null if one is not provided)

getNotificationService

public NotificationService getNotificationService()
Specified by:
getNotificationService in interface ServiceRegistry
Returns:
the notification service (or null if on is not provided)

getAuditService

public AuditService getAuditService()
Specified by:
getAuditService in interface ServiceRegistry
Returns:
the audit service (or null if one is not provided)

getAVMService

public AVMService getAVMService()
Get the AVMService.

Specified by:
getAVMService in interface ServiceRegistry
Returns:
The AVMService or null if there is none.

getAVMLockingAwareService

public AVMService getAVMLockingAwareService()
Get the AVMService.

Specified by:
getAVMLockingAwareService in interface ServiceRegistry
Returns:
The AVMService or null if there is none.

getAVMSyncService

public AVMSyncService getAVMSyncService()
Get the AVM Sync Service.

Specified by:
getAVMSyncService in interface ServiceRegistry
Returns:
The AVM Sync Service.

getOwnableService

public OwnableService getOwnableService()
Description copied from interface: ServiceRegistry
Get the ownable service (or null if one is not provided)

Specified by:
getOwnableService in interface ServiceRegistry
Returns:

getPersonService

public PersonService getPersonService()
Description copied from interface: ServiceRegistry
Get the person service (or null if one is not provided)

Specified by:
getPersonService in interface ServiceRegistry
Returns:

getSiteService

public SiteService getSiteService()
Description copied from interface: ServiceRegistry
Get the site service (or null if one is not provided)

Specified by:
getSiteService in interface ServiceRegistry
Returns:

getCrossRepositoryCopyService

public CrossRepositoryCopyService getCrossRepositoryCopyService()
Description copied from interface: ServiceRegistry
Get the cross repository copy service (or null if one is not provided)

Specified by:
getCrossRepositoryCopyService in interface ServiceRegistry
Returns:

getAttributeService

public AttributeService getAttributeService()
Description copied from interface: ServiceRegistry
Get the attribute service (or null if one is not provided)

Specified by:
getAttributeService in interface ServiceRegistry
Returns:

getContentFilterLanguagesService

public ContentFilterLanguagesService getContentFilterLanguagesService()
Specified by:
getContentFilterLanguagesService in interface ServiceRegistry
Returns:
the content filter languages service (or null, if one is not provided)

getAVMLockingService

public AVMLockingService getAVMLockingService()
Description copied from interface: ServiceRegistry
Get the AVM locking service (or null if one is not provided)

Specified by:
getAVMLockingService in interface ServiceRegistry
Returns:

getVirtServerRegistry

public org.alfresco.mbeans.VirtServerRegistry getVirtServerRegistry()
Description copied from interface: ServiceRegistry
Get the Virtualisation Server registry service bean

Specified by:
getVirtServerRegistry in interface ServiceRegistry
Returns:

getEditionService

public EditionService getEditionService()
Description copied from interface: ServiceRegistry
Get the Edition Service

Specified by:
getEditionService in interface ServiceRegistry
Returns:

getMultilingualContentService

public MultilingualContentService getMultilingualContentService()
Description copied from interface: ServiceRegistry
Get the Multilingual Content Service

Specified by:
getMultilingualContentService in interface ServiceRegistry
Returns:

getThumbnailService

public ThumbnailService getThumbnailService()
Description copied from interface: ServiceRegistry
Get the Thumbnail Service

Specified by:
getThumbnailService in interface ServiceRegistry
Returns:
See Also:
ServiceRegistry.getThumbnailService()

getTaggingService

public TaggingService getTaggingService()
Description copied from interface: ServiceRegistry
Get the Tagging Service

Specified by:
getTaggingService in interface ServiceRegistry
Returns:
See Also:
ServiceRegistry.getTaggingService()

getDeploymentService

public DeploymentService getDeploymentService()
Description copied from interface: ServiceRegistry
Get the WCM Deployment Service

Specified by:
getDeploymentService in interface ServiceRegistry
Returns:
the deployment service (or null, if one is not provided)

getWebProjectService

public WebProjectService getWebProjectService()
Description copied from interface: ServiceRegistry
Get the WCM WebProject Service

Specified by:
getWebProjectService in interface ServiceRegistry
Returns:

getSandboxService

public SandboxService getSandboxService()
Description copied from interface: ServiceRegistry
Get the WCM Sandbox Service

Specified by:
getSandboxService in interface ServiceRegistry
Returns:

getAssetService

public AssetService getAssetService()
Description copied from interface: ServiceRegistry
Get the WCM Asset Service

Specified by:
getAssetService in interface ServiceRegistry
Returns:

getPreviewURIService

public PreviewURIService getPreviewURIService()
Description copied from interface: ServiceRegistry
Get the WCM Preview URI Service

Specified by:
getPreviewURIService in interface ServiceRegistry
Returns:

getFormService

public FormService getFormService()
Description copied from interface: ServiceRegistry
Get the form service (or null if one is not provided)

Specified by:
getFormService in interface ServiceRegistry
Returns:

getRenditionService

public RenditionService getRenditionService()
Description copied from interface: ServiceRegistry
Get the rendition service (or null if one is not provided)

Specified by:
getRenditionService in interface ServiceRegistry
Returns:

getRatingService

public RatingService getRatingService()
Description copied from interface: ServiceRegistry
Get the rating service (or null if one is not provided)

Specified by:
getRatingService in interface ServiceRegistry
Returns:

getNodeLocatorService

public NodeLocatorService getNodeLocatorService()
Description copied from interface: ServiceRegistry
Get the node locator service (or null if one is not provided)

Specified by:
getNodeLocatorService in interface ServiceRegistry
Returns:

getBlogService

public BlogService getBlogService()
Description copied from interface: ServiceRegistry
Get the blog service (or null if one is not provided)

Specified by:
getBlogService in interface ServiceRegistry
Returns:

getCalendarService

public CalendarService getCalendarService()
Description copied from interface: ServiceRegistry
Get the calendar service (or null if one is not provided)

Specified by:
getCalendarService in interface ServiceRegistry
Returns:

getInvitationService

public InvitationService getInvitationService()
Description copied from interface: ServiceRegistry
Get the invitation service (or null if one is not provided)

Specified by:
getInvitationService in interface ServiceRegistry
Returns:
the invitation service

getCMISService

public CMISServices getCMISService()
Description copied from interface: ServiceRegistry
Get the CMIS service (or null if one is not provided)

Specified by:
getCMISService in interface ServiceRegistry
Returns:
the CMIS service

getCMISDictionaryService

public CMISDictionaryService getCMISDictionaryService()
Description copied from interface: ServiceRegistry
Get the CMIS Dictionary service (or null if one is not provided)

Specified by:
getCMISDictionaryService in interface ServiceRegistry
Returns:
the CMIS Dictionary service

getCMISQueryService

public CMISQueryService getCMISQueryService()
Description copied from interface: ServiceRegistry
Get the CMIS Query service (or null if one is not provided)

Specified by:
getCMISQueryService in interface ServiceRegistry
Returns:
the CMIS Query service

getImapService

public ImapService getImapService()
Description copied from interface: ServiceRegistry
Get the IMAP service (or null if one is not provided)

Specified by:
getImapService in interface ServiceRegistry
Returns:
the IMAP service

getPublicServiceAccessService

public PublicServiceAccessService getPublicServiceAccessService()
Description copied from interface: ServiceRegistry
Get the IMAP service (or null if one is not provided)

Specified by:
getPublicServiceAccessService in interface ServiceRegistry
Returns:
the IMAP service

getRepoAdminService

public RepoAdminService getRepoAdminService()
Description copied from interface: ServiceRegistry
Get the repo admin service (or null if one is not provided)

Specified by:
getRepoAdminService in interface ServiceRegistry
Returns:
the invitation service

getSysAdminParams

public SysAdminParams getSysAdminParams()
Description copied from interface: ServiceRegistry
Get the sys admin params helper bean.

Specified by:
getSysAdminParams in interface ServiceRegistry
Returns:
the sys admin params bean.


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