org.eclipse.sisu.launch.package-info Maven / Gradle / Ivy
/*
* Copyright (c) 2010-2024 Sonatype, Inc.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* Stuart McCulloch (Sonatype, Inc.) - initial API and implementation
*/
/**
* Utilities to test, launch, and extend Sisu applications.
*
* For example test classes that scan, bind, and auto-wire the test classpath:
*
* @Test
* public class MyJUnit4orTestNGTest extends {@link org.eclipse.sisu.launch.InjectedTest} {
* // ...tests...
* }
*
* public class MyJUnit3TestCase extends {@link org.eclipse.sisu.launch.InjectedTestCase} {
* // ...tests...
* }
*
* A {@link org.eclipse.sisu.launch.Main} class that launches Sisu applications from the command-line:
*
*
* java -classpath myapp.jar:javax.inject.jar:aopalliance.jar:guice-3.0.jar:org.eclipse.sisu.inject.jar org.eclipse.sisu.launch.Main
*
* An OSGi {@link org.eclipse.sisu.launch.SisuExtender extender} that assembles Sisu applications from OSGi bundles containing JSR330 components.
*
* And a helper class that discovers Sisu {@link org.eclipse.sisu.launch.SisuExtensions extensions} registered under {@code META-INF/services}.
*/
package org.eclipse.sisu.launch;
© 2015 - 2024 Weber Informatics LLC | Privacy Policy