mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
ALF-10549 - VtiServerCustomResponse bean definition missing ScriptUtils bean ref. (and not suppressed from Repo browser)
Trivial tidying to associated files. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30839 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -21,15 +21,18 @@
|
||||
</bean>
|
||||
|
||||
<bean id="doclibCustomVtiServer" class="org.alfresco.repo.jscript.app.VtiServerCustomResponse">
|
||||
<property name="scriptUtils">
|
||||
<ref bean="utilsScript" />
|
||||
</property>
|
||||
<property name="sysAdminParams">
|
||||
<ref bean="sysAdminParams" />
|
||||
</property>
|
||||
<property name="port">
|
||||
<value>${vti.server.external.port}</value>
|
||||
</property>
|
||||
<property name="host">
|
||||
<value>${vti.server.external.host}</value>
|
||||
</property>
|
||||
<property name="sysAdminParams">
|
||||
<ref bean="sysAdminParams" />
|
||||
</property>
|
||||
</bean>
|
||||
|
||||
<bean id="slingshotDocLibCustomResponse" parent="baseJavaScriptExtension" class="org.alfresco.repo.jscript.SlingshotDocLibCustomResponse">
|
||||
|
@@ -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
|
||||
*
|
||||
|
Reference in New Issue
Block a user