com.vaadin.spring.internal
Class BeanStore

java.lang.Object
  extended by com.vaadin.spring.internal.BeanStore
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
SessionLockingBeanStore

public class BeanStore
extends Object
implements Serializable

Class for storing beans in the different Vaadin scopes. For internal use only.

Author:
Petter Holmström (petter@vaadin.com)
See Also:
Serialized Form

Nested Class Summary
static interface BeanStore.DestructionCallback
          Callback interface for receiving notifications about a BeanStore being destroyed.
 
Constructor Summary
BeanStore(String name)
           
BeanStore(String name, BeanStore.DestructionCallback destructionCallback)
           
 
Method Summary
protected  Object create(String s, org.springframework.beans.factory.ObjectFactory<?> objectFactory)
           
 void destroy()
           
 Object get(String s, org.springframework.beans.factory.ObjectFactory<?> objectFactory)
           
 void registerDestructionCallback(String s, Runnable runnable)
           
 Object remove(String s)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BeanStore

public BeanStore(String name,
                 BeanStore.DestructionCallback destructionCallback)

BeanStore

public BeanStore(String name)
Method Detail

get

public Object get(String s,
                  org.springframework.beans.factory.ObjectFactory<?> objectFactory)

create

protected Object create(String s,
                        org.springframework.beans.factory.ObjectFactory<?> objectFactory)

remove

public Object remove(String s)

registerDestructionCallback

public void registerDestructionCallback(String s,
                                        Runnable runnable)

destroy

public void destroy()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2016 Vaadin Ltd. All Rights Reserved.