/* (non-Javadoc)
  * @see javax.slee.resource.ResourceAdaptor#raInactive()
  */
 @Override
 public void raInactive() {
   final Tracer logger = getLogger();
   if (logger.isFineEnabled()) {
     logger.fine("ra object for entity " + context.getEntityName() + " is inactive");
   }
 }
 /* (non-Javadoc)
  * @see javax.slee.resource.ResourceAdaptor#setResourceAdaptorContext(javax.slee.resource.ResourceAdaptorContext)
  */
 @Override
 public void setResourceAdaptorContext(ResourceAdaptorContext arg0) {
   this.context = arg0;
   this.sleeEndpoint = context.getSleeEndpoint();
   try {
     documentUpdatedEventId =
         context.getEventLookupFacility().getFireableEventType(DocumentUpdatedEvent.EVENT_TYPE_ID);
     elementUpdatedEventId =
         context.getEventLookupFacility().getFireableEventType(ElementUpdatedEvent.EVENT_TYPE_ID);
     attributeUpdatedEventId =
         context
             .getEventLookupFacility()
             .getFireableEventType(AttributeUpdatedEvent.EVENT_TYPE_ID);
   } catch (Exception e) {
     throw new RuntimeException(e.getMessage());
   }
 }
 /* (non-Javadoc)
  * @see javax.slee.resource.ResourceAdaptor#raStopping()
  */
 @Override
 public void raStopping() {
   final Tracer logger = getLogger();
   if (logger.isFineEnabled()) {
     logger.fine("ra object for entity " + context.getEntityName() + " is stopping");
   }
   // end all activities
   synchronized (activities) {
     for (ActivityHandle activityHandle : activities.keySet()) {
       endActivity(activityHandle);
     }
   }
 }