Package io.cloudstate.javasupport
Root package for the CloudState Java Support library.
The main entry point to creating a CloudState Java server is the CloudState class.
For information about specific entity types, see:
io.cloudstate.javasupport.eventsourced- Event Sourcing support
io.cloudstate.javasupport.crdt- Conflict-free Replicated Data Type support
-
Interface Summary Interface Description ClientActionContext Context that provides client actions, which include failing and forwarding.Context Root class of all contexts.EffectContext A context that allows instructing the proxy to perform a side effect.EntityContext Root context for all contexts that pertain to entities, that is, things that are addressable via an entity id.EntityFactory Entity factory for supporting DI environments.ServiceCall Represents a call to a service, performed either as a forward, or as an effect.ServiceCallFactory A service call factory.ServiceCallRef<T> A reference to a call on a service. -
Class Summary Class Description CloudState The CloudState class is the main interface to configuring entities to deploy, and subsequently starting a local server which will expose these entities to the CloudState Proxy Sidecar. -
Annotation Types Summary Annotation Type Description EntityId Annotation used to indicate that the annotated parameter accepts an entity id.Jsonable Indicates that this class can be serialized to/from JSON.