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 Object
- implements org.springframework.context.ApplicationContextAware
Used to find POJOs on the classpath to be auto-exposed as endpoints
- Version:
- $Revision: 10351 $
| 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 String[] getPackages()
setPackages
public void setPackages(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(List list)
destroy
public void destroy()
throws Exception
- Throws:
Exception
shouldIgnoreBean
protected boolean shouldIgnoreBean(Class type)
- Should the bean be ignored?
isClient
protected boolean isClient(Class type)
- Returns true if the interface is a client side interface
registerClient
protected void registerClient(Class type)
createBeanEndpoint
protected BeanEndpoint createBeanEndpoint(Class serviceType)
createQName
protected QName createQName(String localName,
String uri)
isNotNullOrBlank
protected boolean isNotNullOrBlank(String text)
Copyright © 2005-2008 Apache Software Foundation. All Rights Reserved.