com.aurorasoftworks.signal.runtime.core.context
Interface IBeanReference

All Superinterfaces:
IBeanDelegate
All Known Implementing Classes:
AbstractBeanReference, EagerInitBeanReference, LazyInitBeanReference

public interface IBeanReference
extends IBeanDelegate

A proxy object for a bean registered in a context. The notion of a reference is needed to support lazy initialization.

Author:
Marek

Method Summary
 java.lang.Object getBean()
          Returns the wrapped bean.
 java.lang.String getName()
          Returns the name of the wrapped bean.
 
Methods inherited from interface com.aurorasoftworks.signal.runtime.core.context.proxy.IBeanDelegate
getBeanClass
 

Method Detail

getName

java.lang.String getName()
Returns the name of the wrapped bean.

Returns:
name of the wrapped bean

getBean

java.lang.Object getBean()
                         throws ContextException
Returns the wrapped bean.

Specified by:
getBean in interface IBeanDelegate
Returns:
wrapped bean
Throws:
ContextException - if an error occurs while retrieving the bean


Copyright © 2010. All Rights Reserved.