001 package org.springframework.richclient.context.support; 002 003 import org.springframework.beans.factory.ObjectFactory; 004 import org.springframework.beans.factory.config.Scope; 005 006 public class ApplicationWindowScope implements Scope { 007 008 public ApplicationWindowScope() { 009 System.out.println("ttt"); 010 } 011 012 public Object get(String name, ObjectFactory objectFactory) { 013 return objectFactory.getObject(); 014 } 015 016 public String getConversationId() { 017 return "ttt"; 018 } 019 020 public void registerDestructionCallback(String name, Runnable callback) { 021 022 } 023 024 public Object remove(String name) { 025 return null; 026 } 027 028 }