public interface EjbOverHttpService
EjbOverHttpService
abstraction is to decouple application server specific logic and
dependencies from the non application server dependent endpoint so it can be used with a plain HTTP server during
testing.Modifier and Type | Method and Description |
---|---|
ClassLoader |
getAppClassLoader(String applicationName)
Resolve
ClassLoader for an application. |
Object |
getBean(String jndiName)
Resolve a EJB for a given JNDI name.
|
ClassLoader getAppClassLoader(String applicationName)
ClassLoader
for an application.applicationName
- never null or emptyClassLoader
to use for the given application name, or null if the application is unknownObject getBean(String jndiName) throws NamingException
jndiName
- never null or empty, only global namesNamingException
- in case no such EJB is knownCopyright © 2021. All rights reserved.