cancel
Showing results for 
Search instead for 
Did you mean: 

How to get or create ServiceRegistry

umajava
Champ in-the-making
Champ in-the-making
Hi,

I am trying to connect to remote Alfresco repository from my local box. I am not sure how to get started. I need to get or create ServiceRegistry so I can use NodeService for my tasks. I have access to all the information from remote Alfresco server.

Is there anyway I can do this without using Spring injection?

Thanks,
2 REPLIES 2

mitpatoliya
Star Collaborator
Star Collaborator
No, you cannot access it if your application and alfresco running on different servers.
You can use CMIS for accessing alfresco repository.
http://wiki.alfresco.com/wiki/CMIS
http://cmis.alfresco.com/

You have advantage that it support many programming languages like php,java,.net etc…

rajupingili
Champ in-the-making
Champ in-the-making
You can get service registry by injecting in fallowing way
property name="serviceRegistry"
            ref bean="ServiceRegistry"/
/property
and in your bean class just use setter and getter method's to access that service registry.
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.