/** * Delegates to {@link #supportsInternal(org.springframework.ws.server.endpoint.MethodEndpoint)}. * * @param endpoint endpoint object to check * @return whether or not this adapter can adapt the given endpoint */ @Override public final boolean supports(Object endpoint) { return endpoint instanceof MethodEndpoint && supportsInternal((MethodEndpoint) endpoint); }
/** Initialize the default implementations for the adapter's strategies. */ protected void initDefaultStrategies() { initMethodArgumentResolvers(); initMethodReturnValueHandlers(); }
/** * Delegates to {@link #invokeInternal(org.springframework.ws.context.MessageContext,MethodEndpoint)}. * * @param messageContext the current message context * @param endpoint the endpoint to use. This object must have previously been passed to the * <code>supportsInternal</code> method of this interface, which must have returned * <code>true</code> * @throws Exception in case of errors */ public final void invoke(MessageContext messageContext, Object endpoint) throws Exception { invokeInternal(messageContext, (MethodEndpoint) endpoint); }
@Override protected boolean supportsInternal(MethodEndpoint methodEndpoint) { Method method = methodEndpoint.getMethod(); return supportsReturnType(method) && supportsParameters(method); }
@Override public void afterPropertiesSet() throws Exception { Assert.notNull(getMarshaller(), "marshaller is required"); Assert.notNull(getUnmarshaller(), "unmarshaller is required"); }
/** * Supports a method with a single, unmarshallable parameter, and that return <code>void</code> or a marshallable * type. * * @see Marshaller#supports(Class) * @see Unmarshaller#supports(Class) */ @Override protected boolean supportsInternal(MethodEndpoint methodEndpoint) { Method method = methodEndpoint.getMethod(); return supportsReturnType(method) && supportsParameters(method); }
@Override protected boolean supportsInternal(MethodEndpoint methodEndpoint) { return supportsParameters(methodEndpoint.getMethodParameters()) && supportsReturnType(methodEndpoint.getReturnType()); }
@Override public void afterPropertiesSet() throws Exception { initDefaultStrategies(); }
/** Initialize the default implementations for the adapter's strategies. */ protected void initDefaultStrategies() { initMethodArgumentResolvers(); initMethodReturnValueHandlers(); }
/** * Delegates to {@link #supportsInternal(org.springframework.ws.server.endpoint.MethodEndpoint)}. * * @param endpoint endpoint object to check * @return whether or not this adapter can adapt the given endpoint */ @Override public final boolean supports(Object endpoint) { return endpoint instanceof MethodEndpoint && supportsInternal((MethodEndpoint) endpoint); }
/** * Delegates to {@link #invokeInternal(org.springframework.ws.context.MessageContext,MethodEndpoint)}. * * @param messageContext the current message context * @param endpoint the endpoint to use. This object must have previously been passed to the * {@code supportsInternal} method of this interface, which must have returned * {@code true} * @throws Exception in case of errors */ @Override public final void invoke(MessageContext messageContext, Object endpoint) throws Exception { invokeInternal(messageContext, (MethodEndpoint) endpoint); }
@Override public void afterPropertiesSet() throws Exception { initDefaultStrategies(); }
/** Initialize the default implementations for the adapter's strategies. */ protected void initDefaultStrategies() { initMethodArgumentResolvers(); initMethodReturnValueHandlers(); }
/** * Delegates to {@link #supportsInternal(org.springframework.ws.server.endpoint.MethodEndpoint)}. * * @param endpoint endpoint object to check * @return whether or not this adapter can adapt the given endpoint */ public final boolean supports(Object endpoint) { return endpoint instanceof MethodEndpoint && supportsInternal((MethodEndpoint) endpoint); }
/** * Delegates to {@link #invokeInternal(org.springframework.ws.context.MessageContext,MethodEndpoint)}. * * @param messageContext the current message context * @param endpoint the endpoint to use. This object must have previously been passed to the * {@code supportsInternal} method of this interface, which must have returned * {@code true} * @throws Exception in case of errors */ @Override public final void invoke(MessageContext messageContext, Object endpoint) throws Exception { invokeInternal(messageContext, (MethodEndpoint) endpoint); }
@Override public void afterPropertiesSet() throws Exception { initDefaultStrategies(); }
/** Initialize the default implementations for the adapter's strategies. */ protected void initDefaultStrategies() { initMethodArgumentResolvers(); initMethodReturnValueHandlers(); }
/** * Delegates to {@link #supportsInternal(org.springframework.ws.server.endpoint.MethodEndpoint)}. * * @param endpoint endpoint object to check * @return whether or not this adapter can adapt the given endpoint */ @Override public final boolean supports(Object endpoint) { return endpoint instanceof MethodEndpoint && supportsInternal((MethodEndpoint) endpoint); }
/** * Delegates to {@link #invokeInternal(org.springframework.ws.context.MessageContext,MethodEndpoint)}. * * @param messageContext the current message context * @param endpoint the endpoint to use. This object must have previously been passed to the * {@code supportsInternal} method of this interface, which must have returned * {@code true} * @throws Exception in case of errors */ @Override public final void invoke(MessageContext messageContext, Object endpoint) throws Exception { invokeInternal(messageContext, (MethodEndpoint) endpoint); }
public void afterPropertiesSet() throws Exception { initDefaultStrategies(); }