private ResourceFactory getResourceFactory()
   {
      if (resourceFactory == null)
      {
         this.resourceFactory = getAddonRegistry().getServices(ResourceFactory.class).get();
      }
      return resourceFactory;
   }
private ResourceFactory getResourceFactory ( ) { if ( resourceFactory == null ) { this . resourceFactory = getAddonRegistry ( ) . getServices ( ResourceFactory . class ) . get ( ) ; } return resourceFactory ; }
@return the resourceFactory