code: @Override
      public Object createResource(final ResourceInfo ref) throws Exception {
          ComponentMetaData cData = ComponentMetaDataAccessorImpl.getComponentMetaDataAccessor().getComponentMetaData();
          if (cData != null)
              applications.add(cData.getJ2EEName().getApplication());
  
          return this;
      }
docs: {@inheritDoc}