|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.services.binding.impl.SimpleServiceBindingValueSourceImpl
public class SimpleServiceBindingValueSourceImpl
ServiceBindingValueSource that returns the given binding's
bind address
and
port
. Does not perform any transformations.
Constructor Summary | |
---|---|
SimpleServiceBindingValueSourceImpl()
|
Method Summary | |
---|---|
InetAddress |
getInetAddressServiceBindingValue(ServiceBinding binding)
Returns the InetAddress to use for the binding value. |
int |
getIntServiceBindingValue(ServiceBinding binding)
Returns the int to use for the binding value. |
Object |
getServiceBindingValue(ServiceBinding binding,
Object... params)
Returns a detyped binding value based on the provided binding and detyped array of parameters. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimpleServiceBindingValueSourceImpl()
Method Detail |
---|
public int getIntServiceBindingValue(ServiceBinding binding)
IntServiceBindingValueSource
getIntServiceBindingValue
in interface IntServiceBindingValueSource
binding
- the binding. Cannot be null
binding.getPort()
public InetAddress getInetAddressServiceBindingValue(ServiceBinding binding)
InetAddressServiceBindingValueSource
getInetAddressServiceBindingValue
in interface InetAddressServiceBindingValueSource
binding
- the binding. Cannot be null
binding.getBindAddress()
public Object getServiceBindingValue(ServiceBinding binding, Object... params)
ServiceBindingValueSource
getServiceBindingValue
in interface ServiceBindingValueSource
binding
- the binding. Cannot be null
params
- the parameters, or null
new Integer(binding.getPort()
)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |