@ Provides @ io . janusproject . kernel . annotations . Kernel @ Singleton public static AgentContext getKernel ( ContextSpaceService contextService , @ Named ( JanusConfig . DEFAULT_CONTEXT_ID_NAME ) UUID janusContextID , @ Named ( JanusConfig . DEFAULT_SPACE_ID_NAME ) UUID defaultJanusSpaceId ) { return contextService . createContext ( janusContextID , defaultJanusSpaceId ) ; }
Construct the root agent context within the Janus platform .