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