public final class BindingConfiguration extends Object
Constructor and Description |
---|
BindingConfiguration(String name,
InjectionSource source)
Construct a new instance.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
String |
getName()
The name into which this binding should be made.
|
InjectionSource |
getSource()
Get the source for this binding.
|
int |
hashCode() |
public BindingConfiguration(String name, InjectionSource source)
name
- the binding namesource
- The source which will be used to resolve a value to be bound in the JNDIIllegalArgumentException
- If either of the passed name
or source
is nullpublic String getName()
java:comp/env
.public InjectionSource getSource()
Copyright © 2018 JBoss by Red Hat. All rights reserved.