diff --git a/config/alfresco/slingshot-context.xml b/config/alfresco/slingshot-context.xml index 586e9becb3..ed1891b719 100644 --- a/config/alfresco/slingshot-context.xml +++ b/config/alfresco/slingshot-context.xml @@ -3,46 +3,49 @@ - - - - classpath*:alfresco/module/org.alfresco.module.vti/context/vti.properties - - classpath*:alfresco/extension/custom-vti.properties - - - - - - 0 - null - - - + + + + classpath*:alfresco/module/org.alfresco.module.vti/context/vti.properties + + classpath*:alfresco/extension/custom-vti.properties + + + + + + 0 + null + + + - - - ${vti.server.external.port} - - - ${vti.server.external.host} - - - - - + + + + + + + + + ${vti.server.external.port} + + + ${vti.server.external.host} + + - - - slingshotDocLib + + + slingshotDocLib - - + + - - - - + + + + \ No newline at end of file diff --git a/source/java/org/alfresco/repo/jscript/app/VtiServerCustomResponse.java b/source/java/org/alfresco/repo/jscript/app/VtiServerCustomResponse.java index bb1cd3aaf9..c29124116e 100644 --- a/source/java/org/alfresco/repo/jscript/app/VtiServerCustomResponse.java +++ b/source/java/org/alfresco/repo/jscript/app/VtiServerCustomResponse.java @@ -56,6 +56,16 @@ public class VtiServerCustomResponse implements CustomResponse this.scriptUtils = scriptUtils; } + /** + * Setter for sysAdminParams + * + * @param sysAdminParams + */ + public void setSysAdminParams(SysAdminParams sysAdminParams) + { + this.sysAdminParams = sysAdminParams; + } + /** * Setter for vtiServer Port * @@ -76,16 +86,6 @@ public class VtiServerCustomResponse implements CustomResponse this.vtiServerHost = vtiServerHost; } - /** - * Setter for sysAdminParams - * - * @param sysAdminParams - */ - public void setSysAdminParams(SysAdminParams sysAdminParams) - { - this.sysAdminParams = sysAdminParams; - } - /** * Populates the DocLib webscript response with custom metadata *