org.jboss.services.binding
Interface ServiceBindingValueSource

All Known Subinterfaces:
ElementServiceBindingValueSource, InetAddressServiceBindingValueSource, IntServiceBindingValueSource, StringServiceBindingValueSource, URLServiceBindingValueSource
All Known Implementing Classes:
SimpleServiceBindingValueSourceImpl, StringReplacementServiceBindingValueSourceImpl, XSLTServiceBindingValueSourceImpl

public interface ServiceBindingValueSource

Source for a service binding value.

Author:
Brian Stansberry

Method Summary
 Object getServiceBindingValue(ServiceBinding binding, Object... params)
          Returns a detyped binding value based on the provided binding and detyped array of parameters.
 

Method Detail

getServiceBindingValue

Object getServiceBindingValue(ServiceBinding binding,
                              Object... params)
Returns a detyped binding value based on the provided binding and detyped array of parameters.

Parameters:
binding - the binding. Cannot be null
params - the parameters, or null
Returns:
the binding value. May return null
Throws:
IllegalArgumentException - if content of params is not understood
Exception - if another exception occurs


Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.