org.apache.camel.component.cxf.util
Class CxfEndpointUtils
java.lang.Object
org.apache.camel.component.cxf.util.CxfEndpointUtils
public final class CxfEndpointUtils
- extends java.lang.Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getQName
public static javax.xml.namespace.QName getQName(java.lang.String name)
getPortName
public static javax.xml.namespace.QName getPortName(CxfEndpoint endpoint)
getServiceName
public static javax.xml.namespace.QName getServiceName(CxfEndpoint endpoint)
hasWebServiceAnnotation
public static boolean hasWebServiceAnnotation(java.lang.Class<?> cls)
hasAnnotation
public static boolean hasAnnotation(java.lang.Class<?> cls,
java.lang.Class<? extends java.lang.annotation.Annotation> annotation)
getServerFactoryBean
public static org.apache.cxf.frontend.ServerFactoryBean getServerFactoryBean(java.lang.Class<?> cls)
throws org.apache.camel.CamelException
- Throws:
org.apache.camel.CamelException
getClientFactoryBean
public static org.apache.cxf.frontend.ClientProxyFactoryBean getClientFactoryBean(java.lang.Class<?> cls)
throws org.apache.camel.CamelException
- Throws:
org.apache.camel.CamelException
checkServiceClassName
public static void checkServiceClassName(java.lang.String className)
throws org.apache.camel.CamelException
- Throws:
org.apache.camel.CamelException
getCxfEndpointPropertyValue
public static java.lang.String getCxfEndpointPropertyValue(CxfSpringEndpoint endpoint,
java.lang.String property)
getEffectiveAddress
public static java.lang.String getEffectiveAddress(org.apache.camel.Exchange exchange,
java.lang.String defaultAddress)
- Get effective address for a client to invoke a service. It first looks for the
Exchange.DESTINATION_OVERRIDE_URL in the IN message header.
If the header is not found, it will return the default address.
- Parameters:
exchange - defaultAddress -
Apache CAMEL