-
- All Superinterfaces:
IpInterface
,Kernel
,Log
- All Known Implementing Classes:
ActorKernel
,AuthenticatorKernel
,BootKernel
,DbStoreKernel
,JavaKernel
,JsKernel
,KernelProxy
,MemStoreKernel
,RemoteKernel
,ServiceKernel
,WebServiceKernel
public interface KernelContext extends Kernel, IpInterface, Log
-
-
Method Summary
-
Methods inherited from interface swim.io.IpInterface
bindTcp, bindTcp, bindTcp, bindTls, bindTls, bindTls, connectTcp, connectTcp, connectTcp, connectTcp, connectTcp, connectTcp, connectTcp, connectTls, connectTls, connectTls, connectTls, connectTls, connectTls, connectTls
-
Methods inherited from interface swim.kernel.Kernel
injectKernel, isStarted, kernelPriority, openService, openService, run, start, stop, unwrapKernel
-
-
-
-
Method Detail
-
kernelWrapper
KernelBinding kernelWrapper()
-
kernelBinding
KernelBinding kernelBinding()
-
setKernelBinding
void setKernelBinding(KernelBinding kernelBinding)
-
modules
FingerTrieSeq<Kernel> modules()
-
stage
Stage stage()
-
station
Station station()
-
defineSchedule
ScheduleDef defineSchedule(Item scheduleConfig)
-
createSchedule
Schedule createSchedule(ScheduleDef scheduleDef, Stage stage)
-
createStore
StoreBinding createStore(StoreDef storeDef, ClassLoader classLoader)
-
injectStore
StoreBinding injectStore(StoreBinding store)
-
defineAuthenticator
AuthenticatorDef defineAuthenticator(Item authenticatorConfig)
-
createAuthenticator
Authenticator createAuthenticator(AuthenticatorDef authenticatorDef, ClassLoader classLoader)
-
injectAuthenticator
Authenticator injectAuthenticator(Authenticator authenticator)
-
ipSettings
IpSettings ipSettings()
- Specified by:
ipSettings
in interfaceIpInterface
-
bindTcp
IpServiceRef bindTcp(InetSocketAddress localAddress, IpService service, IpSettings ipSettings)
- Specified by:
bindTcp
in interfaceIpInterface
-
bindTls
IpServiceRef bindTls(InetSocketAddress localAddress, IpService service, IpSettings ipSettings)
- Specified by:
bindTls
in interfaceIpInterface
-
connectTcp
IpSocketRef connectTcp(InetSocketAddress remoteAddress, IpSocket socket, IpSettings ipSettings)
- Specified by:
connectTcp
in interfaceIpInterface
-
connectTls
IpSocketRef connectTls(InetSocketAddress remoteAddress, IpSocket socket, IpSettings ipSettings)
- Specified by:
connectTls
in interfaceIpInterface
-
getService
Service getService(String serviceName)
- Specified by:
getService
in interfaceKernel
-
defineService
ServiceDef defineService(Item serviceConfig)
- Specified by:
defineService
in interfaceKernel
-
createServiceFactory
ServiceFactory<?> createServiceFactory(ServiceDef serviceDef, ClassLoader classLoader)
- Specified by:
createServiceFactory
in interfaceKernel
-
openService
<S extends Service> S openService(String serviceName, ServiceFactory<S> serviceFactory)
- Specified by:
openService
in interfaceKernel
-
defineSpace
SpaceDef defineSpace(Item spaceConfig)
- Specified by:
defineSpace
in interfaceKernel
-
definePlane
PlaneDef definePlane(Item planeConfig)
- Specified by:
definePlane
in interfaceKernel
-
createPlaneFactory
PlaneFactory<?> createPlaneFactory(PlaneDef planeDef, ClassLoader classLoader)
- Specified by:
createPlaneFactory
in interfaceKernel
-
createPlaneFactory
<P extends Plane> PlaneFactory<P> createPlaneFactory(Class<? extends P> planeClass)
- Specified by:
createPlaneFactory
in interfaceKernel
-
defineAgent
AgentDef defineAgent(Item agentConfig)
- Specified by:
defineAgent
in interfaceKernel
-
createAgentFactory
AgentFactory<?> createAgentFactory(AgentDef agentDef, ClassLoader classLoader)
- Specified by:
createAgentFactory
in interfaceKernel
-
createAgentFactory
AgentFactory<?> createAgentFactory(String edgeName, Uri meshUri, Value partKey, Uri hostUri, Uri nodeUri, AgentDef agentDef)
-
createAgentFactory
<A extends Agent> AgentFactory<A> createAgentFactory(Class<? extends A> agentClass)
- Specified by:
createAgentFactory
in interfaceKernel
-
createAgentFactory
<A extends Agent> AgentFactory<A> createAgentFactory(String edgeName, Uri meshUri, Value partKey, Uri hostUri, Uri nodeUri, Class<? extends A> agentClass)
-
createAgentRoute
<A extends Agent> AgentRoute<A> createAgentRoute(String edgeName, Class<? extends A> agentClass)
-
openAgents
void openAgents(String edgeName, Uri meshUri, Value partKey, Uri hostUri, Uri nodeUri, NodeBinding node)
-
createEdge
EdgeBinding createEdge(String edgeName)
-
injectEdge
EdgeBinding injectEdge(String edgeName, EdgeBinding edge)
-
openEdgeStore
StoreBinding openEdgeStore(String edgeName)
-
createMesh
MeshBinding createMesh(String edgeName, MeshDef meshDef)
-
createMesh
MeshBinding createMesh(String edgeName, Uri meshUri)
-
injectMesh
MeshBinding injectMesh(String edgeName, Uri meshUri, MeshBinding mesh)
-
openMeshStore
StoreBinding openMeshStore(String edgeName, Uri meshUri)
-
createPart
PartBinding createPart(String edgeName, Uri meshUri, PartDef partDef)
-
createPart
PartBinding createPart(String edgeName, Uri meshUri, Value partKey)
-
injectPart
PartBinding injectPart(String edgeName, Uri meshUri, Value partKey, PartBinding part)
-
openPartStore
StoreBinding openPartStore(String edgeName, Uri meshUri, Value partKey)
-
createHost
HostBinding createHost(String edgeName, Uri meshUri, Value partKey, HostDef hostDef)
-
createHost
HostBinding createHost(String edgeName, Uri meshUri, Value partKey, Uri hostUri)
-
injectHost
HostBinding injectHost(String edgeName, Uri meshUri, Value partKey, Uri hostUri, HostBinding host)
-
openHostStore
StoreBinding openHostStore(String edgeName, Uri meshUri, Value partKey, Uri hostUri)
-
getNodeDef
NodeDef getNodeDef(String edgeName, Uri meshUri, Value partKey, Uri hostUri, Uri nodeUri)
-
createNode
NodeBinding createNode(String edgeName, Uri meshUri, Value partKey, Uri hostUri, NodeDef nodeDef)
-
createNode
NodeBinding createNode(String edgeName, Uri meshUri, Value partKey, Uri hostUri, Uri nodeUri)
-
injectNode
NodeBinding injectNode(String edgeName, Uri meshUri, Value partKey, Uri hostUri, Uri nodeUri, NodeBinding node)
-
openNodePolicy
Policy openNodePolicy(String edgeName, Uri meshUri, Value partKey, Uri hostUri, Uri nodeUri)
-
openNodeStage
Stage openNodeStage(String edgeName, Uri meshUri, Value partKey, Uri hostUri, Uri nodeUri)
-
openNodeStore
StoreBinding openNodeStore(String edgeName, Uri meshUri, Value partKey, Uri hostUri, Uri nodeUri)
-
getLaneDef
LaneDef getLaneDef(String edgeName, Uri meshUri, Value partKey, Uri hostUri, Uri nodeUri, Uri laneUri)
-
createLane
LaneBinding createLane(String edgeName, Uri meshUri, Value partKey, Uri hostUri, Uri nodeUri, LaneDef laneDef)
-
createLane
LaneBinding createLane(String edgeName, Uri meshUri, Value partKey, Uri hostUri, Uri nodeUri, Uri laneUri)
-
injectLane
LaneBinding injectLane(String edgeName, Uri meshUri, Value partKey, Uri hostUri, Uri nodeUri, Uri laneUri, LaneBinding lane)
-
openLanes
void openLanes(String edgeName, Uri meshUri, Value partKey, Uri hostUri, Uri nodeUri, NodeBinding node)
-
openLaneLog
Log openLaneLog(String edgeName, Uri meshUri, Value partKey, Uri hostUri, Uri nodeUri, Uri laneUri)
-
openLanePolicy
Policy openLanePolicy(String edgeName, Uri meshUri, Value partKey, Uri hostUri, Uri nodeUri, Uri laneUri)
-
openLaneStage
Stage openLaneStage(String edgeName, Uri meshUri, Value partKey, Uri hostUri, Uri nodeUri, Uri laneUri)
-
-