public class EjbServiceContext extends TideServiceContext
| Modifier and Type | Field and Description |
|---|---|
static String |
CAPITALIZED_DESTINATION_ID |
static String |
DESTINATION_ID |
COMPONENT_ATTR, COMPONENT_CLASS_ATTR, EMPTY_ARGS| Constructor and Description |
|---|
EjbServiceContext() |
EjbServiceContext(String lookup,
InitialContext ic) |
| Modifier and Type | Method and Description |
|---|---|
Object |
callComponent(Method method,
Object... args) |
Object |
findComponent(String componentName,
Class<?> componentClass) |
Set<Class<?>> |
findComponentClasses(String componentName,
Class<?> componentClass) |
protected AsyncPublisher |
getAsyncPublisher() |
Set<String> |
getRemoteObservers() |
protected TidePersistenceManager |
getTidePersistenceManager(boolean create)
Create a TidePersistenceManager
|
IInvocationResult |
postCall(ServiceInvocationContext context,
Object result,
String componentName,
Class<?> componentClass) |
void |
postCallFault(ServiceInvocationContext context,
Throwable t,
String componentName,
Class<?> componentClass) |
void |
prepareCall(ServiceInvocationContext context,
IInvocationCall c,
String componentName,
Class<?> componentClass) |
void |
setEntityManagerFactoryJndiName(String entityManagerFactoryJndiName) |
void |
setEntityManagerJndiName(String entityManagerJndiName) |
adjustInvokee, beforeMethodSearch, equals, getSessionId, initCall, isBeanAnnotationPresent, lazyInitialize, mergeExternal, mergeExternal, sendEvent, setSessionIdpublic static final String CAPITALIZED_DESTINATION_ID
public static final String DESTINATION_ID
public EjbServiceContext() throws ServiceException
ServiceExceptionpublic EjbServiceContext(String lookup, InitialContext ic) throws ServiceException
ServiceExceptionprotected AsyncPublisher getAsyncPublisher()
getAsyncPublisher in class TideServiceContextpublic void setEntityManagerFactoryJndiName(String entityManagerFactoryJndiName)
public void setEntityManagerJndiName(String entityManagerJndiName)
protected TidePersistenceManager getTidePersistenceManager(boolean create)
getTidePersistenceManager in class TideServiceContextcreate - create if not existent (can be false for use in entity merge)public Object callComponent(Method method, Object... args) throws Exception
Exceptionpublic Set<String> getRemoteObservers()
public Object findComponent(String componentName, Class<?> componentClass)
findComponent in class TideServiceContextpublic Set<Class<?>> findComponentClasses(String componentName, Class<?> componentClass)
findComponentClasses in class TideServiceContextpublic void prepareCall(ServiceInvocationContext context, IInvocationCall c, String componentName, Class<?> componentClass)
prepareCall in class TideServiceContextpublic IInvocationResult postCall(ServiceInvocationContext context, Object result, String componentName, Class<?> componentClass)
postCall in class TideServiceContextpublic void postCallFault(ServiceInvocationContext context, Throwable t, String componentName, Class<?> componentClass)
postCallFault in class TideServiceContext