public class SpringBeanLocator extends Object implements IProxyTargetLocator
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 and Description |
|---|
SpringBeanLocator(Class<?> beanType,
ISpringContextLocator locator)
Constructor
|
SpringBeanLocator(String beanName,
Class<?> beanType,
ISpringContextLocator locator)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getBeanName() |
Class<?> |
getBeanType() |
ISpringContextLocator |
getSpringContextLocator() |
int |
hashCode() |
boolean |
isSingletonBean() |
Object |
locateProxyTarget() |
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 locatorpublic boolean isSingletonBean()
public Class<?> getBeanType()
public Object locateProxyTarget()
locateProxyTarget in interface IProxyTargetLocatorpublic 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()Copyright © 2006–2015 Apache Software Foundation. All rights reserved.