@Bean public EndpointMapping uriEndpointMapping() { UriEndpointMapping endpointMapping = new UriEndpointMapping(); endpointMapping.setDefaultEndpoint(wsGateway()); return endpointMapping; }
/** * Initializes the interceptors. * * @see #initInterceptors() */ @Override protected void initApplicationContext() throws BeansException { initInterceptors(); }
@Override protected synchronized void registerEndpoint(QName key, MethodEndpoint endpoint) throws BeansException { super.registerEndpoint(key, endpoint); }
public void doWith(Method method) throws IllegalArgumentException, IllegalAccessException { T key = getLookupKeyForMethod(method); if (key != null) { registerEndpoint(key, new MethodEndpoint(beanName, getApplicationContext(), method)); } }
public void doWith(Method method) throws IllegalArgumentException, IllegalAccessException { List<T> keys = getLookupKeysForMethod(method); for (T key : keys) { registerEndpoint(key, new MethodEndpoint(endpoint, method)); } } });
public void doWith(Method method) throws IllegalArgumentException, IllegalAccessException { T key = getLookupKeyForMethod(method); if (key != null) { registerEndpoint(key, new MethodEndpoint(endpoint, method)); } } });
@Override protected final String getLookupKeyForMessage(MessageContext messageContext) throws Exception { QName qName = resolveQName(messageContext); return qName != null ? qName.toString() : null; }
/** * Returns the endpoint keys for the given method. Should return an empty array if the method is not to be * registered. The default delegates to {@link #getLookupKeysForMethod(Method)}. * * @param method the method * @return a list of registration keys * @since 2.2 */ protected List<T> getLookupKeysForMethod(Method method) { T key = getLookupKeyForMethod(method); return key != null ? Collections.singletonList(key) : Collections.<T>emptyList(); }
public boolean matches(Method method) { return !getLookupKeysForMethod(method).isEmpty(); } });
@Override protected synchronized MethodEndpoint lookupEndpoint(QName key) { return super.lookupEndpoint(key); }
public void registerEndpoint(final String beanName) { super.registerMethods(beanName); } }
public void doWith(Method method) throws IllegalArgumentException, IllegalAccessException { List<T> keys = getLookupKeysForMethod(method); for (T key : keys) { registerEndpoint(key, new MethodEndpoint(endpoint, method)); } } });
/** * Initializes the interceptors. * * @see #initInterceptors() */ @Override protected void initApplicationContext() throws BeansException { initInterceptors(); }
@Override protected final String getLookupKeyForMessage(MessageContext messageContext) throws Exception { QName qName = resolveQName(messageContext); return qName != null ? qName.toString() : null; }
/** * Returns the endpoint keys for the given method. Should return an empty array if the method is not to be * registered. The default delegates to {@link #getLookupKeysForMethod(Method)}. * * @param method the method * @return a list of registration keys * @since 2.2 */ protected List<T> getLookupKeysForMethod(Method method) { T key = getLookupKeyForMethod(method); return key != null ? Collections.singletonList(key) : Collections.<T>emptyList(); }
public void doWith(Method method) throws IllegalArgumentException, IllegalAccessException { List<T> keys = getLookupKeysForMethod(method); for (T key : keys) { registerEndpoint(key, new MethodEndpoint(endpoint, method)); } } });
/** * Initializes the interceptors. * * @see #initInterceptors() */ @Override protected void initApplicationContext() throws BeansException { initInterceptors(); }
@Override protected final String getLookupKeyForMessage(MessageContext messageContext) throws Exception { QName qName = resolveQName(messageContext); return qName != null ? qName.toString() : null; }
/** * Initializes the interceptors. * * @see #initInterceptors() */ @Override protected void initApplicationContext() throws BeansException { initInterceptors(); }
@Override protected final String getLookupKeyForMessage(MessageContext messageContext) throws Exception { QName qName = resolveQName(messageContext); return qName != null ? qName.toString() : null; }