public NamedWindow GetNamedWindow(
     string deploymentId,
     string namedWindowName)
 {
     NamedWindowDeployment deployment = deployments.Get(deploymentId);
     return deployment == null ? null : deployment.GetProcessor(namedWindowName);
 }
        public void AddNamedWindow(
            string windowName,
            NamedWindowMetaData metadata,
            EPStatementInitServices services)
        {
            NamedWindowDeployment deployment = deployments.Get(services.DeploymentId);
            if (deployment == null) {
                deployment = new NamedWindowDeployment();
                deployments.Put(services.DeploymentId, deployment);
            }

            deployment.Add(windowName, metadata, services);
        }