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

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

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

origin: apache/maven

sessionScope.enter();
try
origin: apache/maven

sessionScope.enter( reactorContext.getSessionScopeMemento() );
sessionScope.seed( MavenSession.class, session );
try
origin: org.apache.maven.plugin-testing/maven-plugin-testing-harness

try
  sessionScope.enter();
  sessionScope.seed( MavenSession.class, session );
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.internalSessionScopeenter

Popular methods of SessionScope

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

Popular in Java

  • Making http post requests using okhttp
  • findViewById (Activity)
  • getContentResolver (Context)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • VirtualMachine (com.sun.tools.attach)
    A Java virtual machine. A VirtualMachine represents a Java virtual machine to which this Java vir
  • Graphics2D (java.awt)
    This Graphics2D class extends the Graphics class to provide more sophisticated control overgraphics
  • Dictionary (java.util)
    Note: Do not use this class since it is obsolete. Please use the Map interface for new implementatio
  • Handler (java.util.logging)
    A Handler object accepts a logging request and exports the desired messages to a target, for example
  • Cipher (javax.crypto)
    This class provides access to implementations of cryptographic ciphers for encryption and decryption
  • LoggerFactory (org.slf4j)
    The LoggerFactory is a utility class producing Loggers for various logging APIs, most notably for lo
  • Best plugins for Eclipse
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