|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Locator
The Locator interface
Provides methods for locating entities. A name references the method of how to locate the entity.
| Method Summary | |
|---|---|
java.lang.Object |
lookup(java.lang.String name,
java.util.Map<java.lang.String,?> parameters)
Looks up one or more entities. |
java.lang.Object |
lookup(java.lang.String name,
java.lang.Object... parameters)
Looks up one or more entities. |
| Method Detail |
|---|
java.lang.Object lookup(java.lang.String name,
java.lang.Object... parameters)
If one entity is located then the object should directly be returned.
If multiple are located then a 'Collection', containing the entities,
should be returned. If no entities are located then null should
be returned.
name - the name that indicates how to do the lookupparameters - the array of parameters
javax.naming.OperationNotSupportedException - if the operation is not supported
java.lang.Object lookup(java.lang.String name,
java.util.Map<java.lang.String,?> parameters)
If one entity is located then the object should directly be returned.
If multiple are located then a 'Collection', containing the entities,
should be returned. If no entities are located then null should
be returned.
name - the name that indicates how to do the lookupparameters - the map of parameters
javax.naming.OperationNotSupportedException - if the operation is not supported
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||