Package org.jboss.as.ee.component
Class BindingConfiguration
java.lang.Object
org.jboss.as.ee.component.BindingConfiguration
A binding into JNDI. This class contains the mechanism to construct the binding service. In particular
it represents only the description of the binding; it does not represent injection or any other parameters
of a JNDI resource.
- Author:
- David M. Lloyd
-
Constructor Summary
ConstructorsConstructorDescriptionBindingConfiguration(String name, InjectionSource source) Construct a new instance. -
Method Summary
-
Constructor Details
-
BindingConfiguration
Construct a new instance.- Parameters:
name- the binding namesource- The source which will be used to resolve a value to be bound in the JNDI- Throws:
IllegalArgumentException- If either of the passednameorsourceis null
-
-
Method Details
-
getName
The name into which this binding should be made. The meaning of relative names depends on where this binding description is used. For component bindings, relative names are generally relative tojava:comp/env.- Returns:
- the name into which this binding should be made
-
getSource
Get the source for this binding.- Returns:
- the binding's injection source
-
equals
-
hashCode
public int hashCode()
-