Enhancements to FSR.

1) Performance imporvements (client and server are now multi-threaded + other performance work)
2) Pluggable transport protocols (ENH-145)
3) Changes to initialisation (ALFCOM-135)
4) Changes to the action service to enable multiple async event queues.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@11022 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Mark Rogers
2008-09-25 15:10:58 +00:00
parent ee55f90a07
commit 4bf32304f1
3 changed files with 159 additions and 55 deletions

View File

@@ -53,6 +53,7 @@ public final class DeploymentServerConfig implements Serializable
public static final String PROP_ALLOCATED_TO = "allocatedTo";
public static final String PROP_ON_APPROVAL = "onApproval";
public static final String PROP_GROUP = "group";
public static final String PROP_ADAPTER_NAME = "adapterName";
protected String id;
protected NodeRef serverRef;
@@ -198,6 +199,10 @@ public final class DeploymentServerConfig implements Serializable
repoProps.put(WCMAppModel.PROP_DEPLOYSERVERGROUP, (Serializable)this.props.get(PROP_GROUP));
}
if (this.props.get(PROP_ADAPTER_NAME) != null && ((String)this.props.get(PROP_ADAPTER_NAME)).length() > 0)
{
repoProps.put(WCMAppModel.PROP_DEPLOYSERVERADPTERNAME, (Serializable)this.props.get(PROP_ADAPTER_NAME));
}
return repoProps;
@@ -283,5 +288,16 @@ public final class DeploymentServerConfig implements Serializable
// Default the group to blank
this.props.put(PROP_GROUP, "");
}
if (repoProps.get(WCMAppModel.PROP_DEPLOYSERVERADPTERNAME) != null)
{
this.props.put(PROP_ADAPTER_NAME, (String)repoProps.get(WCMAppModel.PROP_DEPLOYSERVERADPTERNAME));
}
else
{
// Default the adapter name to "default"
this.props.put(PROP_ADAPTER_NAME, "default");
}
}
}