else
return;
try
{
Condition conditions = new Condition();
int event = item.isNode() ? ExtendedEvent.NODE_REMOVED : ExtendedEvent.PROPERTY_REMOVED;
conditions.put(SessionEventMatcher.EVENTTYPE_KEY, event);
conditions.put(SessionEventMatcher.PATH_KEY, item.getInternalPath());
if (item.isNode())
{
conditions.put(SessionEventMatcher.NODETYPES_KEY, readNodeTypeNames((NodeData) item.getData()));
}
else
{
conditions.put(SessionEventMatcher.NODETYPES_KEY, readNodeTypeNames(item.parentData()));
}
InvocationContext ctx = new InvocationContext();
ctx.put(InvocationContext.CURRENT_ITEM, item);
ctx.put(InvocationContext.EXO_CONTAINER, container);