@Deprecated public final class EjbUtil extends Object
Constructor and Description |
---|
EjbUtil()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static <T> T |
bind(Class<T> cls,
T ejb)
Deprecated.
|
@Deprecated @Nullable public static <T> T bind(Class<T> cls, @Nullable T ejb)
Warning: JNDI lookups may not work in non-container managed threads.
cls
- The class of the EJB.ejb
- The instance of the EJB (can be null
if EJB has not been injected via annotation).JndiLookupAccessor.lookup(String)
Copyright © 2018 SAP SE. All rights reserved.