Obsolete Pages{{Obsolete}}
The official documentation is at: http://docs.alfresco.com
Create an OnPremise Alfresco Session + define a custom ServiceRegistry :
HashMap<String, Serializable> settings = new HashMap<String, Serializable>(1);
settings.put(AlfrescoSession.ONPREMISE_SERVICES_CLASSNAME, 'custom.package.name.of.your.custom.service.registry.CustomServiceRegistry' );
RepositorySession session = RepositorySession.connect('http://hostname:port/alfresco', 'username', 'password', settings);
CustomServiceRegistry serviceRegistry = (CustomServiceRegistry)session.getServiceRegistry();
CustomService service = serviceRegistry.getCustomService();
More informations with the extension sample project
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.