Tabnine Logo
SessionScope.exit
Code IndexAdd Tabnine to your IDE (free)

How to use
exit
method
in
org.apache.maven.session.scope.internal.SessionScope

Best Java code snippets using org.apache.maven.session.scope.internal.SessionScope.exit (Showing top 4 results out of 315)

origin: apache/maven

sessionScope.exit();
origin: apache/maven

sessionScope.exit();
origin: org.apache.maven.plugin-testing/maven-plugin-testing-harness

sessionScope.exit();
origin: io.takari.maven.plugins/takari-plugin-testing

@Override
public Mojo executeMojo(MavenSession session, MavenProject project, MojoExecution execution) throws Exception {
 SessionScope sessionScope = container.lookup(SessionScope.class);
 try {
  sessionScope.enter();
  sessionScope.seed(MavenSession.class, session);
  MojoExecutionScope executionScope = container.lookup(MojoExecutionScope.class);
  try {
   executionScope.enter();
   executionScope.seed(MavenProject.class, project);
   executionScope.seed(MojoExecution.class, execution);
   Mojo mojo = lookupConfiguredMojo(session, execution);
   mojo.execute();
   MojoExecutionEvent event = new MojoExecutionEvent(session, project, execution, mojo);
   for (MojoExecutionListener listener : container.lookupList(MojoExecutionListener.class)) {
    listener.afterMojoExecutionSuccess(event);
   }
   return mojo;
  } finally {
   executionScope.exit();
  }
 } finally {
  sessionScope.exit();
 }
}
org.apache.maven.session.scope.internalSessionScopeexit

Popular methods of SessionScope

  • enter
  • seed
  • <init>
  • memento
  • scope
  • seededKeyProvider

Popular in Java

  • Creating JSON documents from java classes using gson
  • putExtra (Intent)
  • setScale (BigDecimal)
  • getSystemService (Context)
  • ConnectException (java.net)
    A ConnectException is thrown if a connection cannot be established to a remote host on a specific po
  • Selector (java.nio.channels)
    A controller for the selection of SelectableChannel objects. Selectable channels can be registered w
  • Date (java.sql)
    A class which can consume and produce dates in SQL Date format. Dates are represented in SQL as yyyy
  • Iterator (java.util)
    An iterator over a sequence of objects, such as a collection.If a collection has been changed since
  • Queue (java.util)
    A collection designed for holding elements prior to processing. Besides basic java.util.Collection o
  • Modifier (javassist)
    The Modifier class provides static methods and constants to decode class and member access modifiers
  • Top Sublime Text 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