Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- accept(T) - Method in interface jadex.core.IThrowingConsumer
-
Performs this operation on the given argument.
- access - Variable in class jadex.core.impl.Component
-
The external access.
- accessfactory - Static variable in class jadex.core.impl.Component
-
The external access supplier.
- addComponent(IComponent) - Method in class jadex.core.impl.ComponentManager
-
Add a component.
- addComponentListener(IComponentListener, String...) - Static method in interface jadex.core.IComponent
- addDependency(T, T) - Method in class jadex.core.impl.DependencyResolver
-
Add a dependency that a depends on b.
- addExceptionHandler(ComponentIdentifier, Class<? extends Exception>, boolean, BiConsumer<? extends Exception, IComponent>) - Method in interface jadex.core.IComponentManager
- addExceptionHandler(ComponentIdentifier, Class<? extends Exception>, boolean, BiConsumer<? extends Exception, IComponent>) - Method in class jadex.core.impl.ComponentManager
- addExceptionHandler(Class<?>, Class<? extends Exception>, boolean, BiConsumer<? extends Exception, IComponent>) - Method in interface jadex.core.IComponentManager
- addExceptionHandler(Class<?>, Class<? extends Exception>, boolean, BiConsumer<? extends Exception, IComponent>) - Method in class jadex.core.impl.ComponentManager
- addExceptionHandler(Class<? extends Exception>, boolean, BiConsumer<? extends Exception, IComponent>) - Method in interface jadex.core.IComponentManager
- addExceptionHandler(Class<? extends Exception>, boolean, BiConsumer<? extends Exception, IComponent>) - Method in class jadex.core.impl.ComponentManager
- addNode(T) - Method in class jadex.core.impl.DependencyResolver
-
Add a node (without dependency).
- ALL_PROVIDERS - Static variable in class jadex.core.impl.SFeatureProvider
-
The available providers are cached at startup and do not change during runtime.
- apply(T) - Method in interface jadex.core.IThrowingFunction
-
Applies this function to the given argument.
B
- bootstrap(Class<T>, Supplier<T>) - Method in interface jadex.core.impl.IBootstrapping
-
This method is executed on all features that implement IBootstrapping.
C
- cid - Variable in exception class jadex.core.ComponentNotFoundException
-
The component identifier.
- clear() - Method in class jadex.core.impl.DependencyResolver
-
Clear the resolver.
- Component - Class in jadex.core.impl
-
Base class for Jadex components, which provides access to component features.
- Component() - Constructor for class jadex.core.impl.Component
-
Create a new component and instantiate all features (except lazy features).
- Component(ComponentIdentifier) - Constructor for class jadex.core.impl.Component
-
Create a new component and instantiate all features (except lazy features).
- COMPONENT_ADDED - Static variable in interface jadex.core.IComponent
- COMPONENT_LASTREMOVED - Static variable in interface jadex.core.IComponent
- COMPONENT_REMOVED - Static variable in interface jadex.core.IComponent
- componentAdded(ComponentIdentifier) - Method in interface jadex.core.IComponentListener
- ComponentIdentifier - Class in jadex.core
-
Identifier for components.
- ComponentIdentifier() - Constructor for class jadex.core.ComponentIdentifier
-
Auto-generates a ComponentIdentifier.
- ComponentIdentifier(String) - Constructor for class jadex.core.ComponentIdentifier
-
Generates a ComponentIdentifier using a custom local ID.
- ComponentIdentifier(String, long, String) - Constructor for class jadex.core.ComponentIdentifier
-
Generates a ComponentIdentifier from its elements.
- ComponentIdentifier(String, GlobalProcessIdentifier) - Constructor for class jadex.core.ComponentIdentifier
-
Generates a ComponentIdentifier from its elements.
- ComponentManager - Class in jadex.core.impl
-
Singleton class providing general information for supporting components.
- ComponentManager.HandlerInfo - Record Class in jadex.core.impl
- ComponentNotFoundException - Exception Class in jadex.core
-
Thrown when operations are invoked after an component has been terminated.
- ComponentNotFoundException() - Constructor for exception class jadex.core.ComponentNotFoundException
-
Empty constructor for deserialization.
- ComponentNotFoundException(ComponentIdentifier) - Constructor for exception class jadex.core.ComponentNotFoundException
-
Create an component not found exception.
- ComponentNotFoundException(ComponentIdentifier, String) - Constructor for exception class jadex.core.ComponentNotFoundException
-
Create an component not found exception.
- componentRemoved(ComponentIdentifier) - Method in interface jadex.core.IComponentListener
- components - Variable in class jadex.core.impl.ComponentManager
-
The components.
- create(Object) - Static method in interface jadex.core.IComponent
- create(Object, ComponentIdentifier) - Static method in interface jadex.core.IComponent
- create(Object, ComponentIdentifier) - Method in interface jadex.core.impl.IComponentLifecycleManager
- createComponent(Class<T>, Supplier<T>) - Static method in class jadex.core.impl.Component
- createFeatureInstance(Component) - Method in class jadex.core.impl.FeatureProvider
-
Create an instance of the feature.
D
- DependencyResolver<T> - Class in jadex.core.impl
-
The dependency resolver can be used to find a valid execution order of elements with dependencies.
- DependencyResolver() - Constructor for class jadex.core.impl.DependencyResolver
-
Create a new dependency resolver.
- DependencyResolver(Map<T, DependencyResolver.NodeInfo<T>>, Set<T>) - Constructor for class jadex.core.impl.DependencyResolver
-
Create a new dependency resolver.
- DependencyResolver.NodeInfo<T> - Class in jadex.core.impl
-
Info object for a node.
E
- equals(Object) - Method in class jadex.core.ComponentIdentifier
-
Compares the ID.
- equals(Object) - Method in record class jadex.core.impl.ComponentManager.HandlerInfo
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class jadex.core.impl.GlobalProcessIdentifier
-
Compares the GPID.
- exact() - Method in record class jadex.core.impl.ComponentManager.HandlerInfo
-
Returns the value of the
exact
record component. - exceptionhandlers - Variable in class jadex.core.impl.ComponentManager
-
The exception handlers.
F
- FeatureProvider<T> - Class in jadex.core.impl
-
A feature providers is loaded from the classpath and adds a specific feature to components.
- FeatureProvider() - Constructor for class jadex.core.impl.FeatureProvider
- features - Variable in class jadex.core.impl.Component
-
The feature instances of this component, stored by the feature type.
- fromString(String) - Static method in class jadex.core.ComponentIdentifier
-
Instantiates a ComponentIdentifier using an ID-String.
G
- gen - Static variable in class jadex.core.ComponentIdentifier
- get() - Static method in interface jadex.core.IComponentManager
-
Returns the component manager instance.
- get() - Static method in class jadex.core.impl.ComponentManager
-
Returns the component manager instance.
- getClassLoader() - Method in class jadex.core.impl.Component
- getClassLoader() - Method in class jadex.core.impl.ComponentManager
-
Gets the class loader used by components.
- getComponent(ComponentIdentifier) - Method in interface jadex.core.IComponentManager
-
Get a running component.
- getComponent(ComponentIdentifier) - Method in class jadex.core.impl.ComponentManager
-
Get a running component.
- getComponentIdentifier() - Method in exception class jadex.core.ComponentNotFoundException
-
Get the component identifier.
- getExceptionHandler(E, Component) - Method in class jadex.core.impl.ComponentManager
- getExternalAccess() - Method in interface jadex.core.IComponent
-
Get the external access.
- getExternalAccess() - Method in class jadex.core.impl.Component
-
Get the external access.
- getExternalAccess(ComponentIdentifier) - Method in interface jadex.core.IComponent
-
Get the external access.
- getExternalAccess(ComponentIdentifier) - Method in class jadex.core.impl.Component
-
Get the external access.
- getFeature(Class<T>) - Method in interface jadex.core.IComponent
-
Get the feature instance for the given type.
- getFeature(Class<T>) - Method in class jadex.core.impl.Component
-
Get the feature instance for the given type.
- getFeatures() - Method in class jadex.core.impl.Component
-
Get the internal set of currently instantiated features.
- getFeatureType() - Method in class jadex.core.impl.FeatureProvider
-
Get the type of the feature used for accessing.
- getGlobalProcessIdentifier() - Method in class jadex.core.ComponentIdentifier
-
Returns the global process identifier.
- getId() - Method in interface jadex.core.IComponent
-
Get the id.
- getId() - Method in interface jadex.core.IExternalAccess
-
Get the id.
- getId() - Method in class jadex.core.impl.Component
-
Get the id.
- getLifecycleProviders() - Static method in class jadex.core.impl.SFeatureProvider
- getLocalName() - Method in class jadex.core.ComponentIdentifier
-
Returns the local component id.
- getMyDeps() - Method in class jadex.core.impl.DependencyResolver.NodeInfo
-
Get the mydeps.
- getNodeInfo(T) - Method in class jadex.core.impl.DependencyResolver
-
Get the node info for the node id.
- getNodeps() - Method in class jadex.core.impl.DependencyResolver
-
Get the nodeps.
- getNodes() - Method in class jadex.core.impl.DependencyResolver
-
Get the nodes.
- getNumberOfComponents() - Method in interface jadex.core.IComponentManager
-
Get the number of current components.
- getNumberOfComponents() - Method in class jadex.core.impl.ComponentManager
-
Get the number of current components.
- getOtherDeps() - Method in class jadex.core.impl.DependencyResolver.NodeInfo
-
Get the otherdeps.
- getPojo() - Method in interface jadex.core.IComponent
-
Get the pojo.
- getPojo() - Method in class jadex.core.impl.Component
-
Get the pojo.
- getPredecessors(Set<Class<?>>) - Method in class jadex.core.impl.FeatureProvider
-
Get the predecessors, i.e.
- getProvidersForComponent(Class<? extends Component>) - Static method in class jadex.core.impl.SFeatureProvider
-
Helper method to get the providers, that are relevant for the given component type.
- getRequiredComponentType() - Method in class jadex.core.impl.FeatureProvider
-
If the feature does not apply to all kinds of components, you can provide a specific subtype and then this feature is only added to components of this type (e.g.
- GlobalProcessIdentifier - Record Class in jadex.core.impl
-
Represents a globally identifiable process on a host (JVM instance).
- GlobalProcessIdentifier() - Constructor for record class jadex.core.impl.GlobalProcessIdentifier
-
Default constructor for a local GPID.
- GlobalProcessIdentifier(long, String) - Constructor for record class jadex.core.impl.GlobalProcessIdentifier
-
Creates an instance of a
GlobalProcessIdentifier
record class.
H
- handleException(Exception) - Method in class jadex.core.impl.Component
- handler() - Method in record class jadex.core.impl.ComponentManager.HandlerInfo
-
Returns the value of the
handler
record component. - HandlerInfo(BiConsumer<? extends Exception, IComponent>, boolean) - Constructor for record class jadex.core.impl.ComponentManager.HandlerInfo
-
Creates an instance of a
HandlerInfo
record class. - hasDependencies(T) - Method in class jadex.core.impl.DependencyResolver
-
Test if a node has dependencies.
- hasFeature(Class<?>) - Method in class jadex.core.impl.Component
-
Check if has a feature.
- hashCode() - Method in class jadex.core.ComponentIdentifier
-
Generates a hashcode.
- hashCode() - Method in record class jadex.core.impl.ComponentManager.HandlerInfo
-
Returns a hash code value for this object.
- hashCode() - Method in record class jadex.core.impl.GlobalProcessIdentifier
-
Returns a hash code value for this object.
- host() - Method in class jadex.core.impl.ComponentManager
-
Returns the name of the host on which the Java process is running.
- host() - Method in record class jadex.core.impl.GlobalProcessIdentifier
-
Returns the value of the
host
record component.
I
- IBootstrapping - Interface in jadex.core.impl
-
A feature provider may implement this interface to execute code before or immediately after the creation of the component with all features.
- IComponent - Interface in jadex.core
-
Interface for a component.
- IComponentLifecycleManager - Interface in jadex.core.impl
- IComponentListener - Interface in jadex.core
- IComponentManager - Interface in jadex.core
-
Interface providing configuration options and general information for supporting components.
- id - Variable in class jadex.core.impl.Component
-
The id.
- IExternalAccess - Interface in jadex.core
-
Interface for component access from non-component thread, e.g.
- isComponentIdNumberMode() - Method in class jadex.core.impl.ComponentManager
-
Are component ids numbers or strings.
- isCreator(Object) - Method in interface jadex.core.impl.IComponentLifecycleManager
- isExecutable() - Method in interface jadex.core.IExternalAccess
-
Check if this component allows the execution of steps.
- isLazyFeature() - Method in class jadex.core.impl.FeatureProvider
-
Determines if the feature is created immediately on component startup (false) or later on first access (true).
- isLocaL() - Method in class jadex.core.ComponentIdentifier
-
Returns if the component runs on the local JVM.
- IThrowingConsumer<T> - Interface in jadex.core
- IThrowingFunction<T,
R> - Interface in jadex.core
J
- jadex.core - package jadex.core
- jadex.core.impl - package jadex.core.impl
L
- lastComponentRemoved(ComponentIdentifier) - Method in interface jadex.core.IComponentListener
- LIFECYCLE_PROVIDERS - Static variable in class jadex.core.impl.SFeatureProvider
-
The available providers are cached at startup and do not change during runtime.
- listeners - Variable in class jadex.core.impl.ComponentManager
-
The component listeners.
M
- main(String[]) - Static method in class jadex.core.ComponentIdentifier
-
Test main.
- main(String[]) - Static method in class jadex.core.impl.DependencyResolver
-
The main for testing.
- mydeps - Variable in class jadex.core.impl.DependencyResolver.NodeInfo
-
The set of nodes this node depends on.
N
- NodeInfo() - Constructor for class jadex.core.impl.DependencyResolver.NodeInfo
-
Create a node info.
- nodeps - Variable in class jadex.core.impl.DependencyResolver
-
The set of empty nodes.
- nodes - Variable in class jadex.core.impl.DependencyResolver
-
The nodes with dependencies.
- notifyEventListener(String, ComponentIdentifier) - Method in class jadex.core.impl.ComponentManager
O
- orderComponentFeatures(Collection<FeatureProvider<Object>>) - Static method in class jadex.core.impl.SFeatureProvider
-
Build an ordered list of component features.
- otherdeps - Variable in class jadex.core.impl.DependencyResolver.NodeInfo
-
The set of nodes depending on this node.
P
- pid() - Method in class jadex.core.impl.ComponentManager
-
Returns the process identifier of the Java process.
- pid() - Method in record class jadex.core.impl.GlobalProcessIdentifier
-
Returns the value of the
pid
record component. - printComponents() - Method in class jadex.core.impl.ComponentManager
-
Print components.
- printNumberOfComponents() - Method in class jadex.core.impl.ComponentManager
-
Print number of current components.
- providers - Variable in class jadex.core.impl.Component
-
The providers for this component type, stored by the feature type they provide.
- PROVIDERS_BY_TYPE - Static variable in class jadex.core.impl.SFeatureProvider
-
The providers by type are calculated on demand and cached for further use (comp_type -> map of (feature_type -> provider)).
- putFeature(Class<Object>, Object) - Method in class jadex.core.impl.Component
R
- removeComponent(ComponentIdentifier) - Method in class jadex.core.impl.ComponentManager
-
Remove a component.
- removeComponentListener(IComponentListener, String...) - Static method in interface jadex.core.IComponent
- removeDependency(T, T) - Method in class jadex.core.impl.DependencyResolver
-
Remove a dependency that a depends on b.
- removeExceptionHandler(Object, Class<? extends Exception>) - Method in interface jadex.core.IComponentManager
- removeExceptionHandler(Object, Class<? extends Exception>) - Method in class jadex.core.impl.ComponentManager
- replacesFeatureProvider(FeatureProvider<T>) - Method in class jadex.core.impl.FeatureProvider
-
Allow a feature implementation to replace another implementation.
- resolveDependencies(boolean) - Method in class jadex.core.impl.DependencyResolver
-
Resolve the DAG and deliver a valid order of nodes.
- resolveDependenciesWithLevel() - Method in class jadex.core.impl.DependencyResolver
-
Resolve the DAG and deliver a valid order of nodes with sets of nodes for same levels.
S
- scheduleStep(IThrowingConsumer<IComponent>) - Method in interface jadex.core.IExternalAccess
-
Schedule a step that provides a result.
- scheduleStep(IThrowingFunction<IComponent, T>) - Method in interface jadex.core.IExternalAccess
-
Schedule a step that provides a result.
- scheduleStep(Runnable) - Method in interface jadex.core.IExternalAccess
-
Schedule a step to be run on the component.
- scheduleStep(Callable<T>) - Method in interface jadex.core.IExternalAccess
-
Schedule a step that provides a result.
- SELF - Static variable in record class jadex.core.impl.GlobalProcessIdentifier
- setClassLoader(ClassLoader) - Method in interface jadex.core.IComponentManager
-
Sets the class loader used by components.
- setClassLoader(ClassLoader) - Method in class jadex.core.impl.ComponentManager
-
Sets the class loader used by components.
- setComponentIdentifier(ComponentIdentifier) - Method in exception class jadex.core.ComponentNotFoundException
-
Get the component identifier.
- setComponentIdNumberMode(boolean) - Method in interface jadex.core.IComponentManager
-
Configure if numbers instead words should be used as automatically generated component names.
- setComponentIdNumberMode(boolean) - Method in class jadex.core.impl.ComponentManager
-
Configure if numbers instead words should be used as automatically generated component names.
- setDebug(boolean) - Method in interface jadex.core.IComponentManager
-
Turns on debug messages globally.
- setDebug(boolean) - Method in class jadex.core.impl.ComponentManager
-
Turns on debug messages globally.
- setDeterministicNameGeneration(boolean) - Static method in class jadex.core.ComponentIdentifier
-
Make the id generation deterministic or random.
- setExternalAccessFactory(Function<Component, IExternalAccess>) - Static method in class jadex.core.impl.Component
-
Set the external access factory.
- setMyDeps(Set<T>) - Method in class jadex.core.impl.DependencyResolver.NodeInfo
-
Set the mydeps to set.
- setNodeps(Set<T>) - Method in class jadex.core.impl.DependencyResolver
-
The nodeps to set.
- setNodes(Map<T, DependencyResolver.NodeInfo<T>>) - Method in class jadex.core.impl.DependencyResolver
-
The nodes to set.
- setOtherDeps(Set<T>) - Method in class jadex.core.impl.DependencyResolver.NodeInfo
-
Set the otherdeps to set.
- SFeatureProvider - Class in jadex.core.impl
-
Static helper methods for dealing with features.
- SFeatureProvider() - Constructor for class jadex.core.impl.SFeatureProvider
T
- terminate() - Method in interface jadex.core.IComponent
-
Terminate the component.
- terminate() - Method in interface jadex.core.IExternalAccess
-
Terminate the component.
- terminate() - Method in class jadex.core.impl.Component
-
Terminate the component.
- terminate(ComponentIdentifier) - Static method in interface jadex.core.IComponent
- terminate(IComponent) - Method in interface jadex.core.impl.IComponentLifecycleManager
- throwUnchecked(Throwable) - Static method in class jadex.core.impl.SFeatureProvider
-
Helper method to convert (potentially) checked exceptions to unchecked ones.
- toString() - Method in class jadex.core.ComponentIdentifier
-
Converts the ID to a unique String.
- toString() - Method in record class jadex.core.impl.ComponentManager.HandlerInfo
-
Returns a string representation of this record class.
- toString() - Method in class jadex.core.impl.DependencyResolver.NodeInfo
-
Get a string representation.
- toString() - Method in record class jadex.core.impl.GlobalProcessIdentifier
-
Converts the GPID to a string.
W
- waitForLastComponentTerminated() - Static method in interface jadex.core.IComponent
- waitForTermination() - Method in interface jadex.core.IComponent
-
Wait for termination.
- waitForTermination() - Method in interface jadex.core.IExternalAccess
-
Wait for termination.
- waitForTermination(ComponentIdentifier) - Static method in interface jadex.core.IComponent
-
Wait for termination.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form