Package | Description |
---|---|
org.da.protoframework.eventlogger |
Contains the classes to log the invocations and notifications events.
|
org.da.protoframework.model.core |
Contains the models for the applications and services implementation.
|
org.da.protoframework.model.def |
Contains the models for the applications and services definition.
|
org.da.protoframework.model.namespace |
Contains the namespace general notions.
|
org.da.protoframework.model.types |
Contains the types definitions.
|
org.da.protoframework.util |
Contains utility classes for managing the framework.
|
Modifier and Type | Method and Description |
---|---|
void |
EventEngine.invoke(NamespaceKey service,
int id,
ModuleKey fromModule)
Called when one invocation event must be recorded.
|
static void |
EventLoggerFactory.invoke(NamespaceKey service,
int id,
ModuleKey fromModule)
Called when one invocation event must be recorded.
|
void |
EventEngine.notified(NamespaceKey service,
int id,
ModuleKey fromModule,
ModuleKey toModule)
Called when one notification event must be recorded.
|
static void |
EventLoggerFactory.notified(NamespaceKey service,
int id,
ModuleKey fromModule,
ModuleKey toModule)
Called when one notification event must be recorded.
|
Modifier and Type | Field and Description |
---|---|
protected java.util.Map<NamespaceKey,ServiceInstance<?,?>> |
Module.providerServices
The Maps of provider Services.
|
protected java.util.Map<NamespaceKey,ServiceInstance<?,?>> |
Module.subscriberServices
The Maps of subscriber Services.
|
Modifier and Type | Method and Description |
---|---|
NamespaceKey |
Service.getKey()
Return the Service key.
|
NamespaceKey |
ServiceInstance.getKey()
Return the Service instance key.
|
Modifier and Type | Method and Description |
---|---|
java.util.Map<NamespaceKey,ServiceInstance<?,?>> |
Module.getProviderServices()
Return the provider Services instances.
|
java.util.Map<NamespaceKey,Service<?>> |
Framework.getServices()
Return the Services.
|
java.util.Map<NamespaceKey,ServiceInstance<?,?>> |
Module.getServices()
Return the Services instances.
|
java.util.Map<NamespaceKey,ServiceInstance<?,?>> |
Module.getSubscriberServices()
Return the subscriber Services instances.
|
Modifier and Type | Method and Description |
---|---|
boolean |
Framework.attachServiceProvider(NamespaceKey serviceKey,
Module module)
Attach a module as a Service Provider for a particular Service.
|
boolean |
Framework.attachServiceProvider(NamespaceKey serviceKey,
ModuleIDKey moduleKey)
Attach a module as a Service Provider for a particular Service.
|
Datas |
Application.getDatas(NamespaceKey serviceKey)
Return the datas associated with a Service.
|
ServiceInstance<?,?> |
Module.getProviderService(NamespaceKey key)
Return the Service provider instance with a specified key.
|
Service<?> |
Framework.getService(NamespaceKey key)
Return the Service of a specified key.
|
ServiceInstance<?,?> |
Module.getService(NamespaceKey key)
Return the Service instance with a specified key.
|
ServiceDefinition |
Module.getServiceDefinition(NamespaceKey key)
Return the Service definition with a specified key.
|
ServiceInstance<?,?> |
Module.getSubscriberService(NamespaceKey key)
Return the Service subscriber instance with a specified key.
|
Type |
Application.getType(NamespaceKey key)
Return the type of a specified key.
|
Type |
Framework.getType(NamespaceKey key)
Return the type of a specified key.
|
Type |
Module.getType(NamespaceKey key)
Return the type of a specified key.
|
Type |
ServiceInstance.getType(NamespaceKey key)
Return the type of a specified key.
|
boolean |
Module.hasProviderService(NamespaceKey key)
Return true if there is a Service provider instance with a specified key.
|
boolean |
Module.hasService(NamespaceKey key)
Return true if there is a Service instance with a specified key.
|
boolean |
Module.hasSubscriberForService(NamespaceKey key)
Return true if there is at least one subscriber for a service.
|
boolean |
Module.hasSubscriberService(NamespaceKey key)
Return true if there is a Service subscriber instance with a specified key.
|
Modifier and Type | Method and Description |
---|---|
NamespaceKey |
InterfaceDefinition.getKey()
Return the interface key.
|
Modifier and Type | Method and Description |
---|---|
java.util.Map<NamespaceKey,InterfaceDefinition> |
ModuleDefinition.getProviderInterfaces()
Return the provider Service interfaces for the Module.
|
java.util.Map<NamespaceKey,ServiceDefinition> |
FrameworkDefinition.getServices()
Return the Services sorted by their name.
|
java.util.Map<NamespaceKey,InterfaceDefinition> |
ModuleDefinition.getSubscriberInterfaces()
Return the subscriber Service interfaces for the Module.
|
java.util.Map<NamespaceKey,Type> |
FrameworkDefinition.getTypes()
Return the Types.
|
Modifier and Type | Method and Description |
---|---|
InterfaceDefinition |
ModuleDefinition.getProviderInterfaceDefinition(NamespaceKey key)
Return the provider interface definition for a Service name.
|
ServiceDefinition |
FrameworkDefinition.getService(NamespaceKey key)
Return the Service of a specified key.
|
InterfaceDefinition |
ModuleDefinition.getSubscriberInterfaceDefinition(NamespaceKey key)
Return the subscriber interface definition for a Service.
|
boolean |
ModuleDefinition.hasInterface(NamespaceKey key)
Return true if there is an interface for a Service to the Module.
|
boolean |
ModuleDefinition.hasProviderInterface(NamespaceKey key)
Return true if there is a provider interface for a Service to the Module.
|
boolean |
FrameworkDefinition.hasService(NamespaceKey key)
Return true if there is a Service of a specified key.
|
boolean |
ModuleDefinition.hasSubscriberInterface(NamespaceKey key)
Return true if there is a subscriber interface for a Service to the Module.
|
void |
ModuleDefinition.removeProviderInterface(NamespaceKey key)
Removes a provider interface.
|
void |
ModuleDefinition.removeSubscriberInterface(NamespaceKey key)
Removes a subscriber interface.
|
default void |
ServiceDefinition.setKey(NamespaceKey key)
Set the service key.
|
Modifier and Type | Method and Description |
---|---|
static NamespaceKey |
NamespaceKey.createKey(java.lang.String name)
Create a key without a URI.
|
static NamespaceKey |
NamespaceKey.createKey(java.lang.String uri,
java.lang.String name)
Create a key from an URI expressed as a String and a name.
|
static NamespaceKey |
NamespaceKey.createKeyFromString(java.lang.String stringRep)
Create a key from a String representation.
|
NamespaceKey |
NamespaceElement.getKey()
Return the element key.
|
NamespaceKey |
NamespaceKey.stripNamespace()
Return a new NamespaceKey without the namespace part.
|
Modifier and Type | Method and Description |
---|---|
int |
NamespaceKey.compareTo(NamespaceKey o) |
Modifier and Type | Method and Description |
---|---|
NamespaceKey |
Type.getKey()
Return the Service key.
|
Constructor and Description |
---|
AliasType(NamespaceKey key)
Constructor.
|
AnyType(NamespaceKey key)
Constructor.
|
ArrayType(NamespaceKey key)
Constructor.
|
EnumType(NamespaceKey key)
Constructor.
|
JSONType(NamespaceKey key)
Constructor.
|
MapType(NamespaceKey key)
Constructor.
|
ObjectType(NamespaceKey key)
Constructor.
|
SimpleType(NamespaceKey key)
Constructor.
|
StringType(NamespaceKey key)
Constructor.
|
StructType(NamespaceKey key)
Constructor.
|
SwitchType(NamespaceKey key)
Constructor.
|
Type(NamespaceKey key)
Constructor.
|
UnionType(NamespaceKey key)
Constructor.
|
URLType(NamespaceKey key)
Constructor.
|
URLType(NamespaceKey key,
short fileType,
short existType,
java.lang.String extension)
Constructor.
|
XMLType(NamespaceKey key)
Constructor.
|
XMLType(NamespaceKey key,
java.net.URL schema)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
NamespaceKey |
OptionalServicesConfigurator.addService(NamespaceKey key,
boolean isProvider)
Add a Service to check.
|
NamespaceKey |
OptionalServicesConfigurator.addService(NamespaceKey key,
boolean isProvider,
boolean isStrict)
Add a Service to check.
|
NamespaceKey |
OptionalServicesConfigurator.addService(java.lang.String name,
boolean isProvider)
Add a Service to check.
|
NamespaceKey |
OptionalServicesConfigurator.addService(java.lang.String name,
boolean isProvider,
boolean isStrict)
Add a Service to check.
|
NamespaceKey |
OptionalServicesConfigurator.addService(java.lang.String uri,
java.lang.String name,
boolean isProvider)
Add a Service to check.
|
NamespaceKey |
OptionalServicesConfigurator.addService(java.lang.String uri,
java.lang.String name,
boolean isProvider,
boolean isStrict)
Add a Service to check.
|
Modifier and Type | Method and Description |
---|---|
java.util.Map<NamespaceKey,InterfaceDefinition> |
ServiceTemplates.getProviderInterfaces()
Return the map of the module declared provider interfaces.
|
java.util.Map<NamespaceKey,ServiceDefinition> |
ServiceTemplates.getServices()
Return the map of declared services.
|
java.util.Map<NamespaceKey,InterfaceDefinition> |
ServiceTemplates.getSubscriberInterfaces()
Return the map of the module declared subscriber interfaces.
|
Modifier and Type | Method and Description |
---|---|
NamespaceKey |
OptionalServicesConfigurator.addService(NamespaceKey key,
boolean isProvider)
Add a Service to check.
|
NamespaceKey |
OptionalServicesConfigurator.addService(NamespaceKey key,
boolean isProvider,
boolean isStrict)
Add a Service to check.
|
ServiceInstance<?,?> |
OptionalServicesConfigurator.getService(NamespaceKey key)
Return a checked Service.
|
boolean |
OptionalServicesConfigurator.isOptionalService(NamespaceKey key)
Return true is a Service is in the map of checked services.
|
Copyright ©2017-2023 Dassault Aviation. All Rights Reserved. Documentation and source under the LGPL v3 licence