org.apache.servicemix.bean
Class EndpointFinder
java.lang.Object
org.apache.servicemix.bean.EndpointFinder
- All Implemented Interfaces:
- org.springframework.context.ApplicationContextAware
public class EndpointFinder
- extends java.lang.Object
- implements org.springframework.context.ApplicationContextAware
Used to find POJOs on the classpath to be auto-exposed as endpoints
- Version:
- $Revision$
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EndpointFinder
public EndpointFinder(BeanComponent beanComponent)
getPackages
public java.lang.String[] getPackages()
setPackages
public void setPackages(java.lang.String[] packages)
getApplicationContext
public org.springframework.context.ApplicationContext getApplicationContext()
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
throws org.springframework.beans.BeansException
- Specified by:
setApplicationContext in interface org.springframework.context.ApplicationContextAware
- Throws:
org.springframework.beans.BeansException
addEndpoints
public void addEndpoints(java.util.List list)
shouldIgnoreBean
protected boolean shouldIgnoreBean(java.lang.Class type)
- Should the bean be ignored?
isClient
protected boolean isClient(java.lang.Class type)
- Returns true if the interface is a client side interface
createBeanEndpoint
protected BeanEndpoint createBeanEndpoint(java.lang.Class serviceType)
createQName
protected javax.xml.namespace.QName createQName(java.lang.String localName,
java.lang.String uri)
isNotNullOrBlank
protected boolean isNotNullOrBlank(java.lang.String text)
Copyright © 2005-2015 FuseSource. All Rights Reserved.