KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > jodd > petite > scope > ProtoScope


1 // Copyright (c) 2003-2007, Jodd Team (jodd.sf.net). All Rights Reserved.
2

3 package jodd.petite.scope;
4
5 /**
6  * Prototype scope doesn't pool any beans, so each time bean is requested,
7  * new instance will be created.
8  */

9 public class ProtoScope implements Scope {
10
11     public Object JavaDoc lookup(String JavaDoc name) {
12         return null;
13     }
14
15     public void register(String JavaDoc name, Object JavaDoc object) {
16     }
17 }
18
Popular Tags