public class DefaultJndiLookupFacade extends Object implements JndiLookupFacade
|Constructor and Description|
|Modifier and Type||Method and Description|
Looks up the object for the given name.
@Nonnull public io.vavr.control.Try<Object> tryLookup(@Nonnull String name)
Caution: JNDI lookups may not work in non-container managed threads. If you need to obtain an object within such a thread, consider performing the lookup in a ThreadContextListener instead.
name- The name to lookup a JNDI object.
Tryof the object returned by the lookup.
Copyright © 2021 SAP SE. All rights reserved.