// Lock
LockManagerEntry lockManagerEntry = new LockManagerEntry();
lockManagerEntry.setTimeout(wsEntry.getLockManager().getTimeout());
if (wsEntry.getLockManager().getPersister() != null)
{
LockPersisterEntry lockPersisterEntry = new LockPersisterEntry();
lockPersisterEntry.setType(wsEntry.getLockManager().getPersister().getType());
ArrayList<SimpleParameterEntry> lockPersisterParameters = new ArrayList<SimpleParameterEntry>();
lockPersisterParameters.addAll(wsEntry.getLockManager().getPersister().getParameters());
lockPersisterEntry.setParameters(lockPersisterParameters);
lockManagerEntry.setPersister(lockPersisterEntry);
}
WorkspaceEntry workspaceEntry = new WorkspaceEntry();
workspaceEntry.setContainer(containerEntry);