How to get or create ServiceRegistry
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2013 05:19 PM
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,
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,
Labels:
- Labels:
-
Archive
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2013 01:06 AM
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…
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…
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2013 07:51 AM
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.
property name="serviceRegistry"
ref bean="ServiceRegistry"/
/property
and in your bean class just use setter and getter method's to access that service registry.
