public class BindResource
extends java.lang.Object
Objects of this type are constructed by the framework from the message body passed to the service broker by the platform in a service binding request.
Modifier and Type | Class and Description |
---|---|
static class |
BindResource.BindResourceBuilder
Provides a fluent API for constructing a BindResource.
|
Modifier and Type | Method and Description |
---|---|
static BindResource.BindResourceBuilder |
builder()
Create a builder that provides a fluent API for constructing a
BindResource . |
boolean |
equals(java.lang.Object o) |
java.lang.String |
getAppGuid()
Get the GUID of an application associated with the binding.
|
java.util.Map<java.lang.String,java.lang.Object> |
getProperties()
Get all properties in the bind resource.
|
java.lang.Object |
getProperty(java.lang.String key)
Get the value of a property in the bind resource with the given key.
|
java.lang.String |
getRoute()
Get the URL of an application to be intermediated.
|
int |
hashCode() |
java.lang.String |
toString() |
public java.lang.Object getProperty(java.lang.String key)
key
- the key of the value to retrievepublic java.util.Map<java.lang.String,java.lang.Object> getProperties()
public java.lang.String getAppGuid()
public java.lang.String getRoute()
public static BindResource.BindResourceBuilder builder()
BindResource
.
This builder is provided to support testing of
ServiceInstanceBindingService
implementations.
public final boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public final int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object