This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Copyright 2016 Laird Nelson. Released under the terms of the MIT license: https://opensource.org/licenses/MIT | |
*/ | |
package com.foobar; | |
import javax.enterprise.inject.se.SeContainer; | |
import javax.enterprise.inject.se.SeContainerInitializer; | |
public class Main { | |
public static final void main(final String[] args) throws Exception { | |
final SeContainerInitializer containerInitializer = SeContainerInitializer.newInstance(); | |
assert containerInitializer != null; | |
try (final SeContainer container = containerInitializer.initialize()) { | |
assert container != null; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment