public class DependencyInjectionEntryPoint
extends java.lang.Object
| Constructor and Description |
|---|
DependencyInjectionEntryPoint() |
| Modifier and Type | Method and Description |
|---|---|
java.util.Optional<se.jbee.inject.Injector> |
getInjector() |
nova.internal.core.bootstrap.DependencyInjectionEntryPoint.State |
getState() |
Game |
init()
In this method modules added to DependencyInjectionEntryPoint are being
installed in core injector.
|
void |
install(java.lang.Class<? extends se.jbee.inject.bootstrap.Bundle> bundle)
Installs bundle in core Injector.
|
boolean |
uninstall(java.lang.Class<? extends se.jbee.inject.bootstrap.Bundle> bundle)
Removes bundle from core Injector.
|
public java.util.Optional<se.jbee.inject.Injector> getInjector()
public nova.internal.core.bootstrap.DependencyInjectionEntryPoint.State getState()
public void install(java.lang.Class<? extends se.jbee.inject.bootstrap.Bundle> bundle)
IllegalStateException.bundle - Bundlepublic boolean uninstall(java.lang.Class<? extends se.jbee.inject.bootstrap.Bundle> bundle)
IllegalStateException.bundle - Bundle