public class Binding<T extends Binding<T>> extends Object
| Modifier and Type | Class and Description | 
|---|---|
static class  | 
Binding.BindingType  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
addPropertyChangeListener(PropertyChangeListener listener)
Adds a property change listener 
 | 
String | 
attributeClass()
The object factory class name for object factory bindings 
 | 
T | 
attributeClass(String value)
The object factory class name for object factory bindings 
 | 
Binding.BindingType | 
bindingType()
The type of binding to create, may be simple, lookup, external-context or
 object-factory 
 | 
T | 
bindingType(Binding.BindingType value)
The type of binding to create, may be simple, lookup, external-context or
 object-factory 
 | 
Boolean | 
cache()
If the external context should be cached 
 | 
T | 
cache(Boolean value)
If the external context should be cached 
 | 
Map | 
environment()
The environment to use on object factory instance retrieval 
 | 
T | 
environment(Map value)
The environment to use on object factory instance retrieval 
 | 
T | 
environment(String key,
           Object value)
The environment to use on object factory instance retrieval 
 | 
String | 
getKey()  | 
String | 
lookup()
The entry to lookup in JNDI for lookup bindings 
 | 
T | 
lookup(String value)
The entry to lookup in JNDI for lookup bindings 
 | 
String | 
module()
The module to load the object factory from for object factory bindings 
 | 
T | 
module(String value)
The module to load the object factory from for object factory bindings 
 | 
void | 
removePropertyChangeListener(PropertyChangeListener listener)
Removes a property change listener 
 | 
String | 
type()
The type of the value to bind for simple bindings, this must be a
 primitive type 
 | 
T | 
type(String value)
The type of the value to bind for simple bindings, this must be a
 primitive type 
 | 
String | 
value()
The value to bind for simple bindings 
 | 
T | 
value(String value)
The value to bind for simple bindings 
 | 
public Binding(String key)
public String getKey()
public void addPropertyChangeListener(PropertyChangeListener listener)
public void removePropertyChangeListener(PropertyChangeListener listener)
public Binding.BindingType bindingType()
public T bindingType(Binding.BindingType value)
public Boolean cache()
public String attributeClass()
public T attributeClass(String value)
public Map environment()
public T environment(Map value)
public T environment(String key, Object value)
public String lookup()
public String module()
public T module(String value)
public String type()
public T type(String value)
public String value()
Copyright © 2018 JBoss by Red Hat. All rights reserved.