Package jodd.petite.scope
Class ProtoScope
- java.lang.Object
-
- jodd.petite.scope.ProtoScope
-
-
Constructor Summary
Constructors Constructor Description ProtoScope()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanaccept(Scope referenceScope)Allows all scopes to be injected into prototype scoped beans.java.lang.Objectlookup(java.lang.String name)Returnsnullas no bean instance is stored.voidregister(BeanDefinition beanDefinition, java.lang.Object bean)Does nothing, as bean instances are not stored.voidremove(java.lang.String name)Does nothing.voidshutdown()Does nothing.
-
-
-
Method Detail
-
lookup
public java.lang.Object lookup(java.lang.String name)
Returnsnullas no bean instance is stored.
-
register
public void register(BeanDefinition beanDefinition, java.lang.Object bean)
Does nothing, as bean instances are not stored.
-
remove
public void remove(java.lang.String name)
Does nothing.
-
accept
public boolean accept(Scope referenceScope)
Allows all scopes to be injected into prototype scoped beans.
-
-