congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
ModelReference.destroy
Code IndexAdd Tabnine to your IDE (free)

How to use
destroy
method
in
org.hippoecm.frontend.model.ModelReference

Best Java code snippets using org.hippoecm.frontend.model.ModelReference.destroy (Showing top 8 results out of 315)

origin: org.onehippo.cms7/hippo-cms-editor-frontend

public void stop() {
  control.stop();
  typeService.destroy();
  modelService.destroy();
}
origin: org.onehippo.cms7/hippo-cms-workflowmenu

  void stop() {
    control.stop();
    modelService.destroy();
  }
}
origin: org.onehippo.cms7/hippo-cms-editor-frontend

@Override
public void onModelChanged() {
  super.onModelChanged();
  if (cluster != null) {
    cluster.stop();
    modelService.destroy();
  }
  createTemplate();
}
origin: org.onehippo.cms7/hippo-cms-editor-frontend

public void destroy() {
  if (cluster != null) {
    cluster.stop();
    modelService.destroy();
  }
  context.unregisterTracker(fieldTracker, engineId + ".wicket.root");
  context.unregisterService(engineFactory, ITemplateEngine.class.getName());
  validation.stop();
}
origin: org.onehippo.cms7/hippo-cms-editor-frontend

public void destroy() {
  String validationServiceId = clusterControl.getClusterConfig().getString(IValidationService.VALIDATE_ID);
  if (validationService != null) {
    if (validationObserver != null) {
      context.unregisterService(validationObserver, IObserver.class.getName());
      validationObserver = null;
    }
    context.unregisterService(validationService, validationServiceId);
    validationService = null;
  }
  modelRef.destroy();
  clusterControl.stop();
}
origin: org.onehippo.cms7/hippo-cms-api

public void stop() {
  final String renderId = getRendererServiceId();
  context.unregisterService(focusListener, renderId);
  context.unregisterService(this, renderId);
  cluster.stop();
  final String editorId = cluster.getClusterConfig().getString("editor.id");
  context.unregisterService(editorContext.getEditorManager(), editorId);
  context.unregisterService(this, editorId);
  if (baseService != null) {
    baseService.destroy();
    baseService = null;
  }
  if (modelService != null) {
    modelService.destroy();
    modelService = null;
  }
  cluster = null;
  focusListener = null;
}
origin: org.onehippo.cms7/hippo-cms-editor-frontend

@Override
public void onModelChanged() {
  Task onModelChangedTask = null;
  try {
    if (HDC.isStarted()) {
      onModelChangedTask = HDC.getCurrentTask().startSubtask("ComparePlugin.onModelChanged");
      addModelInfoToDiagnosticsTaskAttributes(HDC.getCurrentTask());
    }
    if (cluster != null) {
      modelService.destroy();
      modelService = null;
      cluster.stop();
      cluster = null;
    }
    createTemplate();
    redraw();
  } finally {
    if (onModelChangedTask != null) {
      onModelChangedTask.stop();
    }
  }
}
origin: org.onehippo.cms7/hippo-cms-api

context.unregisterService(this, editorId);
context.unregisterService(editorContext.getEditorManager(), editorId);
modelService.destroy();
throw new EditorException("No IRenderService found");
org.hippoecm.frontend.modelModelReferencedestroy

Javadoc

Unregister the service with the specified service id.

Popular methods of ModelReference

  • <init>
    Construct a model service with a given service id and initial model.
  • init
    Register the service with the specified service id.
  • getModel
  • setModel
  • detach

Popular in Java

  • Start an intent from android
  • runOnUiThread (Activity)
  • getSupportFragmentManager (FragmentActivity)
  • startActivity (Activity)
  • GridLayout (java.awt)
    The GridLayout class is a layout manager that lays out a container's components in a rectangular gri
  • UnknownHostException (java.net)
    Thrown when a hostname can not be resolved.
  • ByteBuffer (java.nio)
    A buffer for bytes. A byte buffer can be created in either one of the following ways: * #allocate
  • Manifest (java.util.jar)
    The Manifest class is used to obtain attribute information for a JarFile and its entries.
  • HttpServlet (javax.servlet.http)
    Provides an abstract class to be subclassed to create an HTTP servlet suitable for a Web site. A sub
  • JTextField (javax.swing)
  • Best IntelliJ plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now