org.apache.servicemix.bean
Class EndpointFinder

java.lang.Object
  extended by 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: 3702 $

Constructor Summary
EndpointFinder(BeanComponent beanComponent)
           
 
Method Summary
 void addEndpoints(List list)
           
protected  BeanEndpoint createBeanEndpoint(Class serviceType)
           
protected  QName createQName(String localName, String uri)
           
 org.springframework.context.ApplicationContext getApplicationContext()
           
 String[] getPackages()
           
protected  boolean isClient(Class type)
          Returns true if the interface is a client side interface
protected  boolean isNotNullOrBlank(String text)
           
 void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
           
 void setPackages(String[] packages)
           
protected  boolean shouldIgnoreBean(Class type)
          Should the bean be ignored?
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EndpointFinder

public EndpointFinder(BeanComponent beanComponent)
Method Detail

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)

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


createBeanEndpoint

protected BeanEndpoint createBeanEndpoint(Class serviceType)

createQName

protected QName createQName(String localName,
                            String uri)

isNotNullOrBlank

protected boolean isNotNullOrBlank(String text)


Copyright © 2010 FuseSource. All Rights Reserved.