|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aurorasoftworks.signal.runtime.core.context.AbstractBeanReference
public abstract class AbstractBeanReference
A common superclass for implementations of IBeanReference
.
Constructor Summary | |
---|---|
protected |
AbstractBeanReference(java.lang.String name)
Creates a new instance of AbstractBeanReference. |
protected |
AbstractBeanReference(java.lang.String name,
java.lang.Object bean)
Creates a new instance of AbstractBeanReference. |
Method Summary | |
---|---|
java.lang.Object |
getBean()
Returns the wrapped bean. |
java.lang.Class |
getBeanClass()
Returns the class of the wrapped bean. |
java.lang.String |
getName()
Returns the name of the wrapped bean. |
protected void |
setBean(java.lang.Object bean)
Allows subclasses to set the wrapped bean. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected AbstractBeanReference(java.lang.String name)
setBean(Object)
.
name
- name of the bean to wrappedprotected AbstractBeanReference(java.lang.String name, java.lang.Object bean)
name
- name of the bean to wrappedbean
- the bean to be wrappedMethod Detail |
---|
public java.lang.String getName()
getName
in interface IBeanReference
public java.lang.Object getBean() throws ContextException
getBean
in interface IBeanReference
getBean
in interface IBeanDelegate
ContextException
- if an error occurs while
retrieving the beanpublic java.lang.Class getBeanClass()
IBeanDelegate.getBean()
is invoked.
getBeanClass
in interface IBeanDelegate
protected void setBean(java.lang.Object bean) throws ContextException
bean
-
ContextException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |