Uses of Interface
org.jgrapes.core.Eligible
Package
Description
Defines the interfaces and classes that provide
the core functionality of the JGrapes event driven component framework.
Annotations used by the library.
Core events.
Classes implementing the public API of the library.
Provides components for building a HTTP server based on the
core and IO components.
Adds a special annotation for methods that handle
HTTP request events.
Provides the events handled by the server components.
Provides a base component for generating template based responses
to HTTP requests.
I/O related components built on top of the core package.
Provides the events used by the I/O related components.
Classes for managing processes.
Utility classes, mainly for adapted buffers to specific needs.
Events associated with classes from
org.jgrapes.io.util
.Components for handling mail.
Mail related events.
Networking related I/O classes.
Utility components that are too small to deserve
individual libraries/projects.
-
Uses of Eligible in org.jgrapes.core
Modifier and TypeInterfaceDescriptioninterface
Instances of this interface can be used as a communication bus for sending events between components.static interface
This interface’s class can be used to specify the component’s channel (seeComponent.channel()
) as criterion in handler annotations.interface
This interface type can be used to specify the object itself as channel in handler annotations.interface
Represents a subchannel.Modifier and TypeClassDescriptionclass
This class is the root base class for channels that use their class (type) as value for matching (seeEligible
).class
CompletionEvent<T extends Event<?>>
A base class for events that signal the completion of some other (monitored) event and provide this other event as their result.class
This class can be used as base class for implementing a component.class
ComponentCollector<F extends ComponentFactory>
Deprecated.class
Event<T>
This class is the base class for all events.final class
This class provides channels that are identified by a name (string
).final class
NamedEvent<T>
A class for events using a simple name as the event’s kind.static class
A simple implementation ofSubchannel
. -
Uses of Eligible in org.jgrapes.core.annotation
Modifier and TypeClassDescriptionstatic final class
The default value for thechannels
parameter of the annotation.static final class
The default value for theevents
parameter of the annotation. -
Uses of Eligible in org.jgrapes.core.events
Modifier and TypeClassDescriptionclass
Signals the addition of a component (or subtree) to the component tree.class
Signals the removal of a component from the component tree.class
This event signals that an error occurred while processing an event.class
This event signals that a throwable occurred while executing a handler.class
An event that signals the start of the application.class
The event that signals the completion of theStart
event.class
An event that causes an application to shut down. -
Uses of Eligible in org.jgrapes.core.internal
Modifier and TypeClassDescriptionclass
ActionEvent<T>
A base class for events that perform an action instead of being handled.final class
The ComponentProxy is a special ComponentVertex that references the object implementing the Component interface (instead of being its base class).class
ComponentVertex is the base class for all nodes in the component tree.class
EventBase<T>
Provides the implementations of methods to classEvent
that need access to classes or methods that are visible in the implementation package only. -
Uses of Eligible in org.jgrapes.http
Modifier and TypeClassDescriptionclass
A converter component that receives and sends web application layer messages and byte buffers on associated network channels.class
A converter component that receives and sends byte buffers on a network channel and web application layer messages onIOSubchannel
s of its channel.class
A in memory session manager.class
A component that attempts to derive information about language preferences from requests in the specified scope (usually “/”) and make them available as aLanguageSelector.Selection
object associated with the request event usingSelection.class
as association identifier.class
A base class for session managers.class
A dispatcher for requests for static content, usually files. -
Uses of Eligible in org.jgrapes.http.annotation
-
Uses of Eligible in org.jgrapes.http.events
Modifier and TypeClassDescriptionclass
Causes a session manager to discard the given session.class
Indicates that a host name could not be resolved.class
Signals that a HTTP connection for aHttpRequest
has been established.class
Base class for events that signal the reception of a message.class
Indicates that a component has accepted aRequest.In.Get
with a header that requested an upgrade to another protocol.class
Request<R>
The base class for all HTTP requests such asRequest.In.Get
,Request.In.Post
etc.static class
The base class for all incoming HTTP requests.static class
The associated completion event.static class
Represents a HTTP CONNECT request.static class
The Class Delete.static class
Represents a HTTP GET request.static class
Represents a HTTP HEAD request.static class
Represents a HTTP OPTIONS request.static class
Represents a HTTP POST request.static class
Represents a HTTP PUT request.static class
Represents a HTTP TRACE request.static class
The base class for all outgoing HTTP requests.static class
Represents a HTTP CONNECT request.static class
Represents a HTTP DELETE request.static class
Represents a HTTP GET request.static class
Represents a HTTP HEAD request.static class
Represents a HTTP OPTIONS request.static class
Represents a HTTP POST request.static class
Represents a HTTP PUT request.static class
Represents a HTTP TRACE request.class
Represents the response (header).class
Fired when a protocol upgrade was successful.class
An event that provides the close information when a WebSockt is closed. -
Uses of Eligible in org.jgrapes.http.freemarker
Modifier and TypeClassDescriptionclass
A base class for components that generate responses to HTTP requests which are based on a FreeMarker template. -
Uses of Eligible in org.jgrapes.io
Modifier and TypeInterfaceDescriptioninterface
Represents a subchannel for grouping input and output events related to an I/O resource such as an opened file or a network connection.Modifier and TypeClassDescriptionclass
A component that reads from or writes to a file.class
A component that watches for new input on anInputStream
.static class
A simple implementation ofIOSubchannel
.class
A helper component that provides the central hub for non blocking I/O components.class
-
Uses of Eligible in org.jgrapes.io.events
Modifier and TypeClassDescriptionclass
This event causes the initiator of an I/O channel to shutdown the channel.class
Closed<T>
This event signals that an I/O subchannel will no longer be used.class
Indicates a problem while opening a network connection.class
class
This event signals that an I/O subchannel has been closed on the other end.final class
This event signals that a new chunk of data has successfully been obtained from some source.class
A special kind ofError
that signals I/O related problems.class
Events of this type signal that a new chunk of data is available for processing.class
Signal a registration request to a registry.static class
The completion event for aNioRegistration
event.class
Opened<T>
This event signals that an I/O resource has successfully been opened (usually in response to some …Open event).class
A base class for events that cause a file to be opened.class
Opening<T>
This event is fired onIOSubchannel
s that are created by provider components before their first usage forInput
orOutput
events.class
class
This event signals that a new chunk of internally generated data is to be forwarded to some destination.class
Fired when a process has exited.class
Fired when a process has been started.class
Fired by an initiator of connections that maintains a pool of such connections if no more connections are available.class
Causes theFileStorage
component to write the data from allInput
events on the channel that this event is fired on to a file until an event with the end of record flag set is sent on the channel.class
Causes theFileStorage
component to write the data from allOutput
events on the channel that this event is fired on to a file until an event with the end of record flag set is sent on the channel.class
Starts a new process managed by theProcessManager
component that handles the event.class
Indicates a problem while starting a process.class
Causes the content of a file to be streamed as a sequence ofOutput
events (terminated by an event with the end of record flag set) on the channel that this event is fired on. -
Uses of Eligible in org.jgrapes.io.process
Modifier and TypeClassDescriptionclass
Provides a component that executes processes.final class
The Class ProcessChannel. -
Uses of Eligible in org.jgrapes.io.util
Modifier and TypeClassDescriptionclass
ConnectionManager<C extends ConnectionManager<C>.Connection>
A base class for components that manageSubchannel
s representing some kind of connection to a server or service.class
The base class for the connections managed by this component.class
Provides an I/O subchannel that is linked to another I/O subchannel. -
Uses of Eligible in org.jgrapes.io.util.events
Modifier and TypeClassDescriptionclass
DataInput<T>
Signals that some data is available for handling.class
Signals an error that occurred while parsing JSON. -
Uses of Eligible in org.jgrapes.mail
Modifier and TypeInterfaceDescriptioninterface
A special sub channel used for sending and receiving mail.Modifier and TypeClassDescriptionclass
MailConnectionManager<C extends MailConnectionManager<C,
O>.AbstractMailChannel, O extends Event<?>> Provides a base class for mail components using connections.protected class
A sub-channel for mail connections.class
A component that opens mail stores and monitors mail folders for mails.protected class
The specific implementation of theMailChannel
.class
A component that sends mail using a system wide or user specific connection.protected class
The specific implementation of theMailChannel
. -
Uses of Eligible in org.jgrapes.mail.events
Modifier and TypeClassDescriptionclass
Signals the retrieval of mails (update) by aMailMonitor
.class
Fired when the requested connection has been established.class
Common base class for events that open a mail connection for sending or receiving mail.class
An event that opens folders on the store defined by the base class for monitoring.class
Fired to open a connection for sending mails.class
Indicates the arrival of a new message.class
Triggers the retrieval of mails (update) by aMailMonitor
. -
Uses of Eligible in org.jgrapes.net
Modifier and TypeInterfaceDescriptioninterface
A special sub channel used for socket connections.Modifier and TypeClassDescriptionclass
Provides a base class for theSocketServer
and theSocketConnector
.protected class
class
A component that reads from or write to a socket connection.class
Provides a socket server.class
A component that receives and sends byte buffers on an encrypted channel and sends and receives the corresponding decrypted data on a plain channel. -
Uses of Eligible in org.jgrapes.net.events
Modifier and TypeClassDescriptionclass
This event signals that a new connection has been made by a client.class
This event signals that a new connection has been made by a client.class
Connected<T>
This event signals that a new connection has been established.class
Signals that a server has bound to a socket address and is ready to accept connections. -
Uses of Eligible in org.jgrapes.util
Modifier and TypeClassDescriptionclass
ComponentCollector<F extends ComponentFactory>
A component that collects all component factory services of a given type and uses each to create one or more components that are then attached to the component collector instance.class
Provides child components dynamically usingComponentFactory
s.class
A base class for configuration stores.class
A component that watches paths in the file system for changes and sends events if such changes occur.class
This component provides a store for an application’s configuration backed by a JSON file.class
A base class for configuration stored based on the night config library.class
This component provides a store for an application’s configuration backed by the JavaPreferences
.class
This component provides a store for an application’s configuration backed by a TOML file.class
This component provides a store for an application’s configuration backed by a YAML file. -
Uses of Eligible in org.jgrapes.util.events
Modifier and TypeClassDescriptionclass
An event to indicate that configuration information has been updated.class
Informs about changes of a watched file.class
A specialConfigurationUpdate
event that is used for reporting the configuration on startup.class
A specialConfigurationUpdate
event that is used by thePreferencesStore
for reporting the configuration on startup.class
Defines an optional completion event for aKeyValueStoreQuery
.class
A query event for a key/value store.class
An event that triggers updates or deletions in a key/value store.class
Registers a path to be watched with aFileSystemWatcher
.
ComponentCollector
.