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:
Mike Hatfield
2011-09-29 09:11:59 +00:00
parent 79508da9fc
commit da831724d7
2 changed files with 49 additions and 46 deletions

View File

@@ -21,15 +21,18 @@
</bean> </bean>
<bean id="doclibCustomVtiServer" class="org.alfresco.repo.jscript.app.VtiServerCustomResponse"> <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"> <property name="port">
<value>${vti.server.external.port}</value> <value>${vti.server.external.port}</value>
</property> </property>
<property name="host"> <property name="host">
<value>${vti.server.external.host}</value> <value>${vti.server.external.host}</value>
</property> </property>
<property name="sysAdminParams">
<ref bean="sysAdminParams" />
</property>
</bean> </bean>
<bean id="slingshotDocLibCustomResponse" parent="baseJavaScriptExtension" class="org.alfresco.repo.jscript.SlingshotDocLibCustomResponse"> <bean id="slingshotDocLibCustomResponse" parent="baseJavaScriptExtension" class="org.alfresco.repo.jscript.SlingshotDocLibCustomResponse">

View File

@@ -56,6 +56,16 @@ public class VtiServerCustomResponse implements CustomResponse
this.scriptUtils = scriptUtils; this.scriptUtils = scriptUtils;
} }
/**
* Setter for sysAdminParams
*
* @param sysAdminParams
*/
public void setSysAdminParams(SysAdminParams sysAdminParams)
{
this.sysAdminParams = sysAdminParams;
}
/** /**
* Setter for vtiServer Port * Setter for vtiServer Port
* *
@@ -76,16 +86,6 @@ public class VtiServerCustomResponse implements CustomResponse
this.vtiServerHost = vtiServerHost; this.vtiServerHost = vtiServerHost;
} }
/**
* Setter for sysAdminParams
*
* @param sysAdminParams
*/
public void setSysAdminParams(SysAdminParams sysAdminParams)
{
this.sysAdminParams = sysAdminParams;
}
/** /**
* Populates the DocLib webscript response with custom metadata * Populates the DocLib webscript response with custom metadata
* *