|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.wicket.spring.SpringBeanLocator
public class SpringBeanLocator
Implementation of IProxyTargetLocator that can locate beans within a spring application
context. Beans are looked up by the combination of name and type, if name is omitted only type is
used.
| Constructor Summary | |
|---|---|
SpringBeanLocator(Class<?> beanType,
ISpringContextLocator locator)
Constructor |
|
SpringBeanLocator(String beanName,
Class<?> beanType,
ISpringContextLocator locator)
Constructor |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
String |
getBeanName()
|
Class<?> |
getBeanType()
|
ISpringContextLocator |
getSpringContextLocator()
|
int |
hashCode()
|
boolean |
isSingletonBean()
|
Object |
locateProxyTarget()
Returns the object that will be used as target object for a lazy init proxy. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SpringBeanLocator(Class<?> beanType,
ISpringContextLocator locator)
beanType - bean classlocator - spring context locator
public SpringBeanLocator(String beanName,
Class<?> beanType,
ISpringContextLocator locator)
beanName - bean namebeanType - bean classlocator - spring context locator| Method Detail |
|---|
public boolean isSingletonBean()
public Class<?> getBeanType()
public Object locateProxyTarget()
IProxyTargetLocator
locateProxyTarget in interface IProxyTargetLocatorIProxyTargetLocator.locateProxyTarget()public final String getBeanName()
public final ISpringContextLocator getSpringContextLocator()
public boolean equals(Object obj)
equals in class ObjectObject.equals(java.lang.Object)public int hashCode()
hashCode in class ObjectObject.hashCode()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||