code: @Override
      public synchronized void start( BootstrapContext ctx ) throws ResourceAdapterInternalException {
          if (engine == null) {
              engine = new ModeShapeEngine();
              engine.start();
          }
      }
docs: This is called when a resource adapter instance is bootstrapped.
  
  @param ctx A bootstrap context containing references
  @throws ResourceAdapterInternalException indicates bootstrap failure.