|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.netflix.karyon.server.lifecycle.ServerInitializer
public class ServerInitializer
This class holds the karyon initialization logic that constitutes of the following:
Closeable.close()
to cleanup upon shutdown.
Constructor Summary | |
---|---|
ServerInitializer(EurekaHandler eurekaHandler,
ApplicationFinder applicationFinder,
ComponentFinder componentFinder)
|
Method Summary | |
---|---|
void |
close()
Marks the application as down in eureka. |
void |
initialize(com.google.inject.Injector injector)
Initializes karyon which is to instantiate applications and components defined in the classpath. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
@Inject public ServerInitializer(EurekaHandler eurekaHandler, ApplicationFinder applicationFinder, ComponentFinder componentFinder)
Method Detail |
---|
public void initialize(com.google.inject.Injector injector)
injector
- Injector used to initialize Governatorpublic void close()
close
in interface java.io.Closeable
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |