|
||||||||||
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 locatorpublic SpringBeanLocator(String beanName, Class<?> beanType, ISpringContextLocator locator)
beanName
- bean namebeanType
- bean classlocator
- spring context locatorMethod Detail |
---|
public boolean isSingletonBean()
public Class<?> getBeanType()
public Object locateProxyTarget()
IProxyTargetLocator
locateProxyTarget
in interface IProxyTargetLocator
IProxyTargetLocator.locateProxyTarget()
public final String getBeanName()
public final ISpringContextLocator getSpringContextLocator()
public boolean equals(Object obj)
equals
in class Object
Object.equals(java.lang.Object)
public int hashCode()
hashCode
in class Object
Object.hashCode()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |