@Override public ReferenceInvocation setProperty(String name, String value) { _exchange.getContext(_inMessage).setProperty(name, value); return this; }
/** * Gets an Object context property. * @param exchange the exchange * @param message the message * @param name the name * @return the property */ protected Object getObject(Exchange exchange, Message message, String name) { Context context = message != null ? exchange.getContext(message) : exchange.getContext(); return context.getPropertyValue(name); }
public Void run() throws Exception { service.getProviderHandler().handleMessage(exchange); return null; } };
private static TransformSequence get(final Exchange exchange) { Property sequenceProperty = exchange.getContext().getProperty(TransformSequence.class.getName()); if (sequenceProperty != null) { return (TransformSequence)sequenceProperty.getValue(); } else { return null; } } }
/** * {@inheritDoc} */ @Override public Property setProperty(String name, Object val, Scope scope) { return _context.setProperty(name, val, scope); }
/** * {@inheritDoc} */ @Override public Property getProperty(String name) { return _context.getProperty(name); }
/** * Create a new instance of ExchangeInvocation. * @param exchange exchange to be used for the invocation * @param replyHandler takes care of replies/faults for the exchange */ public ExchangeInvocation(Exchange exchange, InvocationResponseHandler replyHandler) { _exchange = exchange; _inMessage = _exchange.createMessage(); _replyHandler = replyHandler; }
/** * {@inheritDoc} */ @Override public Object getPropertyValue(String name) { return _context.getPropertyValue(name); }
/** * Removes all service providers from the domain with the specified name. * @param serviceName qualified name of the service */ public void removeService(QName serviceName) { for (Service service : getServiceDomain().getServices(serviceName)) { service.unregister(); } }
/** * {@inheritDoc} */ @Override public void removeProperties() { _context.removeProperties(); }
private static TransformSequence get(final Exchange exchange) { Property sequenceProperty = exchange.getContext().getProperty(TransformSequence.class.getName()); if (sequenceProperty != null) { return (TransformSequence)sequenceProperty.getValue(); } else { return null; } } }
/** * Gets an Object context property. * @param exchange the exchange * @param message the message * @param name the name * @return the property */ protected Object getObject(Exchange exchange, Message message, String name) { Context context = message != null ? exchange.getContext(message) : exchange.getContext(); return context.getPropertyValue(name); }
@Override public ReferenceInvocation setProperty(String name, String value) { _exchange.getContext(_inMessage).setProperty(name, value); return this; }
/** * {@inheritDoc} */ @Override public Property getProperty(String name) { return _context.getProperty(name); }
/** * {@inheritDoc} */ @Override public void removeProperties(Scope scope) { _context.removeProperties(scope); }
public Void run() throws Exception { service.getProviderHandler().handleMessage(exchange); return null; } };
@Override public Object getProperty(String name) { return _exchange.getContext().getPropertyValue(name); }
/** * {@inheritDoc} */ @Override public Property getProperty(String name, Scope scope) { return _context.getProperty(name, scope); }
/** * {@inheritDoc} */ @Override public void removeProperties(Scope scope) { _context.removeProperties(scope); }
@Override public Object getProperty(String name) { return _exchange.getContext().getPropertyValue(name); }