Index
All Classes and Interfaces|All Packages|Serialized Form
C
- Concern - Interface in io.csar
-
Represents a concern (usually a cross-cutting concern) of a program such as logging or internationalization.
- Concerned - Interface in io.csar
-
An object that can retrieve concernss.
- ConcernedThreadGroup - Class in io.csar
-
A thread group that allows the retrieval of a concern on a per-thread-group basis.
- ConcernedThreadGroup(String, Concern...) - Constructor for class io.csar.ConcernedThreadGroup
-
Thread group name and and concerns constructor.
- ConcernedThreadGroup(String, Stream<Concern>) - Constructor for class io.csar.ConcernedThreadGroup
-
Thread group name and and concerns constructor.
- ConcernedThreadGroup(ThreadGroup, String, Concern...) - Constructor for class io.csar.ConcernedThreadGroup
-
Thread group parent, thread group name, and concerns constructor.
- ConcernedThreadGroup(ThreadGroup, String, Stream<Concern>) - Constructor for class io.csar.ConcernedThreadGroup
-
Thread group parent, thread group name, and concerns constructor.
- ConcernNotFoundException - Exception in io.csar
-
An unchecked illegal state exception to indicate that a particular concern could not be located.
- ConcernNotFoundException() - Constructor for exception io.csar.ConcernNotFoundException
-
Default constructor with no message.
- ConcernNotFoundException(String) - Constructor for exception io.csar.ConcernNotFoundException
-
Message constructor.
- ConcernNotFoundException(String, Throwable) - Constructor for exception io.csar.ConcernNotFoundException
-
Message and cause constructor.
- ConcernNotFoundException(Throwable) - Constructor for exception io.csar.ConcernNotFoundException
-
Cause constructor.
- ConcernProvider - Interface in io.csar
-
A provider of concerns for registration with Csar.
- ConcernRegistry - Interface in io.csar
-
A registry of concerns.
- ConcernRegistryThreadGroup - Class in io.csar
-
A thread group that allows the setting and retrieval of a concern on a per-thread-group basis.
- ConcernRegistryThreadGroup(String, Concern...) - Constructor for class io.csar.ConcernRegistryThreadGroup
-
Thread group name constructor.
- ConcernRegistryThreadGroup(String, ConcernRegistry, Concern...) - Constructor for class io.csar.ConcernRegistryThreadGroup
-
Thread group name constructor.
- ConcernRegistryThreadGroup(ThreadGroup, String, Concern...) - Constructor for class io.csar.ConcernRegistryThreadGroup
-
Thread group parent and thread group name constructor.
- ConcernRegistryThreadGroup(ThreadGroup, String, ConcernRegistry, Concern...) - Constructor for class io.csar.ConcernRegistryThreadGroup
-
Thread group parent and thread group name constructor.
- concerns() - Method in interface io.csar.ConcernProvider
- createThread(String, Runnable, Concern...) - Static method in class io.csar.Csar
-
Creates a separate thread providing the given concerns via a new concerned thread group.
- createThread(String, Runnable, Collection<Concern>) - Static method in class io.csar.Csar
-
Creates a separate thread providing the given concerns via a new concerned thread group.
- createThread(String, Runnable, Stream<Concern>) - Static method in class io.csar.Csar
-
Creates a separate thread providing the given concerns via a new concerned thread group.
- Csar - Class in io.csar
-
The Concern Separation Aspect Registrar (Csar /zɑːr/) provides access to some concern (usually cross-cutting) that may configured globally or locally to some section of the program.
D
- DecoratedConcernedThreadGroup - Class in io.csar
-
A thread group that allows the retrieval of a concern on a per-thread-group basis by decorating an existing concerned object.
- DecoratedConcernedThreadGroup(String, Concerned) - Constructor for class io.csar.DecoratedConcernedThreadGroup
-
Thread group name constructor.
- DecoratedConcernedThreadGroup(ThreadGroup, String, Concerned) - Constructor for class io.csar.DecoratedConcernedThreadGroup
-
Thread group parent and thread group name constructor.
- DefaultConcernRegistry - Class in io.csar
-
Default implementation of a registry of concerns.
- DefaultConcernRegistry() - Constructor for class io.csar.DefaultConcernRegistry
F
- findConcern(Class<C>) - Static method in class io.csar.Csar
-
Retrieves an optional concern of the given type for the current thread.
- findConcern(Class<T>) - Method in interface io.csar.Concerned
-
Returns the concern for the given concern type.
- findConcern(Class<T>) - Method in class io.csar.ConcernedThreadGroup
- findConcern(Class<T>) - Method in class io.csar.DecoratedConcernedThreadGroup
- findConcern(Class<T>) - Method in class io.csar.DefaultConcernRegistry
- findConcern(Thread, Class<T>) - Static method in class io.csar.Csar
-
Retrieves the concern of the given type for the indicated thread.
- findDefaultConcern(Class<T>) - Static method in class io.csar.Csar
-
Returns the default concern for the given concern type.
G
- getConcern(Class<C>) - Static method in class io.csar.Csar
-
Retrieves a concern of the given type for the current thread.
- getConcerned() - Method in class io.csar.ConcernRegistryThreadGroup
- getConcerned() - Method in class io.csar.DecoratedConcernedThreadGroup
- getConcernType() - Method in interface io.csar.Concern
-
Returns the type or classification of concern.
I
- io.csar - package io.csar
R
- registerConcern(C) - Method in interface io.csar.ConcernRegistry
-
Registers the given concern, associating it with its concern type.
- registerConcern(C) - Method in class io.csar.ConcernRegistryThreadGroup
- registerConcern(Class<T>, C) - Method in interface io.csar.ConcernRegistry
-
Registers the given concern.
- registerConcern(Class<T>, C) - Method in class io.csar.ConcernRegistryThreadGroup
- registerConcern(Class<T>, C) - Method in class io.csar.DefaultConcernRegistry
- registerConcerns(Concern...) - Method in interface io.csar.ConcernRegistry
-
Registers the given concerns, associating them with their respective concern types.
- registerConcerns(Concern...) - Method in class io.csar.ConcernRegistryThreadGroup
- registerConcerns(Collection<Concern>) - Method in interface io.csar.ConcernRegistry
-
Registers the given concerns, associating them with their respective concern types.
- registerConcerns(Collection<Concern>) - Method in class io.csar.ConcernRegistryThreadGroup
- registerConcerns(Stream<Concern>) - Method in interface io.csar.ConcernRegistry
-
Registers the given concerns, associating them with their respective concern types.
- registerConcerns(Stream<Concern>) - Method in class io.csar.ConcernRegistryThreadGroup
- registerDefaultConcern(C) - Static method in class io.csar.Csar
-
Registers the given concern as default for its concern type.
- registerDefaultConcern(Class<T>, C) - Static method in class io.csar.Csar
-
Registers the given concern as default.
- run(Concern, Runnable) - Static method in class io.csar.Csar
-
Deprecated.
- run(Runnable, Concern...) - Static method in class io.csar.Csar
-
Executes a runnable in a separate thread, providing the given concerns to the thread via a new concerned thread group.
- run(Runnable, Stream<Concern>) - Static method in class io.csar.Csar
-
Executes a runnable in a separate thread, providing the given concerns to the thread via a new concerned thread group.
- run(String, Concern, Runnable) - Static method in class io.csar.Csar
-
Deprecated.This may be removed in a future version in favor of
Csar.run(String, Runnable, Concern...)
. - run(String, Runnable, Concern...) - Static method in class io.csar.Csar
-
Executes a runnable in a separate thread, providing the given concerns to the thread via a new concerned thread group.
- run(String, Runnable, Stream<Concern>) - Static method in class io.csar.Csar
-
Executes a runnable in a separate thread, providing the given concerns to the thread via a new concerned thread group.
S
- setDefaultConcerns(Concern...) - Static method in class io.csar.Csar
-
Registers the given concerns as defaults for their respective classes.
- setDefaultConcerns(Collection<Concern>) - Static method in class io.csar.Csar
-
Registers the given concerns as defaults for their respective classes.
- setDefaultConcerns(Stream<Concern>) - Static method in class io.csar.Csar
-
Registers the given concerns as defaults for their respective classes.
U
- unregisterConcern(Class<T>) - Method in interface io.csar.ConcernRegistry
-
Unregisters a concern of the given type.
- unregisterConcern(Class<T>) - Method in class io.csar.ConcernRegistryThreadGroup
- unregisterConcern(Class<T>) - Method in class io.csar.DefaultConcernRegistry
- unregisterDefaultConcern(Class<T>) - Static method in class io.csar.Csar
-
Unregisters a default concern of the given type.
All Classes and Interfaces|All Packages|Serialized Form
Csar.run(Runnable, Concern...)
.