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