Uses of Interface
org.jgrapes.core.Associator
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.
Provides the events handled by the server components.
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.
-
Uses of Associator in org.jgrapes.core
Modifier and TypeClassDescriptionclass
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
Event<T>
This class is the base class for all events.final class
NamedEvent<T>
A class for events using a simple name as the event’s kind.static class
A simple implementation ofSubchannel
.Modifier and TypeMethodDescription<A extends Associator>
AAssociator.setAssociated
(Object by, Object with) Establishes a “named” association to an associated object.<A extends Associator>
AEvent.setAssociated
(Object by, Object with) <A extends Associator>
ASubchannel.DefaultSubchannel.setAssociated
(Object by, Object with) Establishes a “named” association to an associated object.Modifier and TypeMethodDescriptionstatic <V> V
TypedIdKey.associate
(Associator associator, Serializable id, V value) Associates the given value’s type and the id with the given value using the given associator.static <V> Optional
<V> TypedIdKey.associated
(Associator associator, Class<V> type, Serializable id) Retrieves a value with the given type and id from the given associator. -
Uses of Associator in org.jgrapes.core.annotation
Modifier and TypeClassDescriptionstatic final class
The default value for theevents
parameter of the annotation. -
Uses of Associator 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 Associator in org.jgrapes.core.internal
Modifier and TypeClassDescriptionclass
ActionEvent<T>
A base class for events that perform an action instead of being handled.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 Associator in org.jgrapes.http
Modifier and TypeMethodDescriptionstatic Locale
LanguageSelector.associatedLocale
(Associator assoc) Convenience method to retrieve a locale from an associator.static Session
Session.from
(Associator associator) Obtains aSession
from anAssociator
.protected void
SessionManager.setSessionSupplier
(Associator holder, String sessionId) Associated the associator with a session supplier for the given session id and notethis
as session manager. -
Uses of Associator 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 Associator 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. -
Uses of Associator 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 Associator in org.jgrapes.io.process
Modifier and TypeClassDescriptionfinal class
The Class ProcessChannel. -
Uses of Associator in org.jgrapes.io.util
Modifier and TypeClassDescriptionclass
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 Associator 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 Associator in org.jgrapes.mail
Modifier and TypeInterfaceDescriptioninterface
A special sub channel used for sending and receiving mail.Modifier and TypeClassDescriptionprotected class
A sub-channel for mail connections.protected class
The specific implementation of theMailChannel
.protected class
The specific implementation of theMailChannel
. -
Uses of Associator 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 Associator in org.jgrapes.net
Modifier and TypeInterfaceDescriptioninterface
A special sub channel used for socket connections. -
Uses of Associator 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 Associator 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
.