| java.lang.Object com.tc.object.appevent.NonPortableEventContextFactory
Method Summary | |
public NonPortableEventContext | createNonPortableEventContext(Object pojo) | public NonPortableFieldSetContext | createNonPortableFieldSetContext(Object pojo, String fieldName, Object fieldValue) | public NonPortableLogicalInvokeContext | createNonPortableLogicalInvokeContext(Object pojo, String methodName, Object[] params, int index) | public NonPortableRootContext | createNonPortableRootContext(String rootName, Object rootValue) | public ReadOnlyObjectEventContext | createReadOnlyObjectEventContext(Object pojo, ReadOnlyException ex) Create a context for when a transaction with read-only access is attempting
to modify a shared object. | public ReadOnlyObjectEventContext | createReadOnlyObjectEventContext(Object pojo, String classname, String fieldname, ReadOnlyException ex) Create a context for when a transaction with read-only access is attempting
to modify a shared object. | public UnlockedSharedObjectEventContext | createUnlockedSharedObjectEventContext(Object pojo, String classname, String fieldname, UnlockedSharedObjectException ex) Create a context for when there is an attempt to access a shared object outside the scope of
a shared lock. | public UnlockedSharedObjectEventContext | createUnlockedSharedObjectEventContext(Object pojo, UnlockedSharedObjectException ex) Create a context for when there is an attempt to access a shared object outside the scope of
a shared lock. |
NonPortableEventContextFactory | public NonPortableEventContextFactory(ChannelIDProvider provider)(Code) | | Construct the factory with the provider of a ChannelID
Parameters: provider - The provider |
createNonPortableEventContext | public NonPortableEventContext createNonPortableEventContext(Object pojo)(Code) | | Create a context for when a non-portable object is found while traversing an object graph
Parameters: pojo - The non portable object The context |
createNonPortableFieldSetContext | public NonPortableFieldSetContext createNonPortableFieldSetContext(Object pojo, String fieldName, Object fieldValue)(Code) | | Create a context for when a non-portable object is set on a field
Parameters: pojo - The object that is having the field set Parameters: fieldName - The field of the pojo Parameters: fieldValue - The non-portable value being set The context |
createNonPortableLogicalInvokeContext | public NonPortableLogicalInvokeContext createNonPortableLogicalInvokeContext(Object pojo, String methodName, Object[] params, int index)(Code) | | Create a context for an invocation of a logical method with a non-portable object
Parameters: pojo - The logical object Parameters: methodName - The method being called on the pojo Parameters: params - The parameters passed to the method Parameters: index - The index into the params of the non-portable object The context |
createNonPortableRootContext | public NonPortableRootContext createNonPortableRootContext(String rootName, Object rootValue)(Code) | | Create a context for when a non-portable object is set as a root
Parameters: rootName - The root name Parameters: rootValue - The non-portable value being set The context |
createReadOnlyObjectEventContext | public ReadOnlyObjectEventContext createReadOnlyObjectEventContext(Object pojo, ReadOnlyException ex)(Code) | | Create a context for when a transaction with read-only access is attempting
to modify a shared object.
Parameters: pojo - The object being accessed Parameters: ex - The exception that occurred The context |
createReadOnlyObjectEventContext | public ReadOnlyObjectEventContext createReadOnlyObjectEventContext(Object pojo, String classname, String fieldname, ReadOnlyException ex)(Code) | | Create a context for when a transaction with read-only access is attempting
to modify a shared object.
Parameters: pojo - The object being accessed Parameters: classname - The class of the pojo Parameters: fieldname - The field name of the object Parameters: ex - The exception that occurred The context |
createUnlockedSharedObjectEventContext | public UnlockedSharedObjectEventContext createUnlockedSharedObjectEventContext(Object pojo, String classname, String fieldname, UnlockedSharedObjectException ex)(Code) | | Create a context for when there is an attempt to access a shared object outside the scope of
a shared lock.
Parameters: pojo - The object being accessed Parameters: classname - The class of the object Parameters: fieldname - The field of the object being accessed Parameters: ex - The exception thrown The context |
createUnlockedSharedObjectEventContext | public UnlockedSharedObjectEventContext createUnlockedSharedObjectEventContext(Object pojo, UnlockedSharedObjectException ex)(Code) | | Create a context for when there is an attempt to access a shared object outside the scope of
a shared lock.
Parameters: pojo - The object being accessed Parameters: ex - The exception thrown The context |
|
|