Uses of Interface
dev.getelements.elements.sdk.Attributes
Packages that use Attributes
Package
Description
The Guice SDK module is intended for using Guice to build an
Element based
system.-
Uses of Attributes in dev.getelements.elements.rt
Methods in dev.getelements.elements.rt with parameters of type AttributesModifier and TypeMethodDescriptiondefault ResourceIdResourceContext.createAttributes(String module, Path path, Attributes attributes, Object... args) SimpleResourceContext.createAttributes(String module, Path path, Attributes attributes, Object... args) voidResourceContext.createAttributesAsync(Consumer<ResourceId> success, Consumer<Throwable> failure, String module, Path path, Attributes attributes, Object... args) Creates aResourceasynchronously.voidSimpleResourceContext.createAttributesAsync(Consumer<ResourceId> success, Consumer<Throwable> failure, String module, Path path, Attributes attributes, Object... args) default ObjectHandlerContext.invokeRetainedHandler(Attributes attributes, String module, String method, Object... args) Synchronously invokesHandlerContext.invokeRetainedHandlerAsync(Consumer, Consumer, Attributes, String, String, Object...)blocking until the call returns.voidHandlerContext.invokeRetainedHandlerAsync(Consumer<Object> success, Consumer<Throwable> failure, Attributes attributes, String module, String method, Object... args) voidSimpleHandlerContext.invokeRetainedHandlerAsync(Consumer<Object> success, Consumer<Throwable> failure, Attributes attributes, String module, String method, Object... args) default ObjectHandlerContext.invokeSingleUseHandler(Attributes attributes, String module, String method, Object... args) Synchronously invokesHandlerContext.invokeSingleUseHandlerAsync(Consumer, Consumer, Attributes, String, String, Object...)blocking until the call returns.voidHandlerContext.invokeSingleUseHandlerAsync(Consumer<Object> success, Consumer<Throwable> failure, Attributes attributes, String module, String method, Object... args) voidSimpleHandlerContext.invokeSingleUseHandlerAsync(Consumer<Object> success, Consumer<Throwable> failure, Attributes attributes, String module, String method, Object... args) ResourceLoader.load(String moduleName, Attributes attributes, Object... args) Loads theResourcespecified by the supplied module name.RetainedHandlerService.perform(Consumer<Object> success, Consumer<Throwable> failure, long timeoutDelay, TimeUnit timeoutUnit, String module, Attributes attributes, String method, Object... args) Creates a newResourceusing the attributes and the module.SimpleRetainedHandlerService.perform(Consumer<Object> success, Consumer<Throwable> failure, long timeout, TimeUnit timeoutUnit, String module, Attributes attributes, String method, Object... args) SimpleSingleUseHandlerService.perform(Consumer<Object> success, Consumer<Throwable> failure, long timeoutDelay, TimeUnit timeoutUnit, String module, Attributes attributes, String method, Object... args) SingleUseHandlerService.perform(Consumer<Object> success, Consumer<Throwable> failure, long timeoutDelay, TimeUnit timeoutUnit, String module, Attributes attributes, String method, Object... args) Performs an operation against thisSingleUseHandlerService, reporting either success or failure to the code.voidEventContext.postAsync(String eventName, Attributes attributes, Object... args) voidEventService.postAsync(String eventName, Attributes attributes, long timeout, TimeUnit timeoutTimeUnit, Object... args) Registers a newStringand set of consumers to handle the results.voidSimpleEventContext.postAsync(String eventName, Attributes attributes, Object... args) voidSimpleEventService.postAsync(String eventName, Attributes attributes, long timeout, TimeUnit timeoutTimeUnit, Object... args) -
Uses of Attributes in dev.getelements.elements.sdk
Subinterfaces of Attributes in dev.getelements.elements.sdkModifier and TypeInterfaceDescriptioninterfaceRepresents a set of mutable attributes.Fields in dev.getelements.elements.sdk declared as AttributesModifier and TypeFieldDescriptionstatic final AttributesAttributes.EMPTYThe emptyAttributesimplementation.Methods in dev.getelements.elements.sdk that return AttributesModifier and TypeMethodDescriptionstatic AttributesAttributes.emptyAttributes()ReturnsEMPTY.Attributes.immutableCopy()Returns a copy of thisAttributesas an immutable copy.Methods in dev.getelements.elements.sdk with parameters of type AttributesModifier and TypeMethodDescriptionstatic booleanAttributes.equals(Attributes a, Attributes b) Tests if twoAttributesare equal to each other.static booleanAttributes.equals(Attributes a, Object b) Test if the suppliedAttributesis equal to the otherObjectby first testing if it an instance ofAttributesas well as ifequals(Attributes, Attributes)returns true.ElementLoaderFactory.findElementDefinitionRecord(ClassLoader classLoader, Attributes attributes, Predicate<ElementDefinitionRecord> selector) Finds theElementname, this will find theElementRecordassociated with it, throwing an exception if it is unable to find theElementDefinitionannotation.ElementLoaderFactory.getElementRecordFromPackage(Attributes attributes, Package aPackage) Given thePackage, this will find theElementRecordassociated with it, throwing an exception if it is unable to find theElementDefinitionannotation.default ElementLoaderElementLoaderFactory.getIsolatedLoader(Attributes attributes, ClassLoader baseClassLoader, ElementLoaderFactory.ClassLoaderConstructor classLoaderCtor) Scans the classpath, using the suppliedClassLoader, forElementinstances.ElementLoaderFactory.getIsolatedLoader(Attributes attributes, ClassLoader baseClassLoader, ElementLoaderFactory.ClassLoaderConstructor classLoaderCtor, Predicate<ElementDefinitionRecord> selector) Scans the classpath, using the suppliedClassLoader, forElementinstances.static intAttributes.hashCode(Attributes attributes) Given a set ofAttributes, this will determined is hash code. -
Uses of Attributes in dev.getelements.elements.sdk.guice
Classes in dev.getelements.elements.sdk.guice that implement AttributesMethods in dev.getelements.elements.sdk.guice that return Attributes -
Uses of Attributes in dev.getelements.elements.sdk.local
Methods in dev.getelements.elements.sdk.local that return AttributesModifier and TypeMethodDescriptionLocalApplicationElementRecord.attributes()Returns the value of theattributesrecord component.Methods in dev.getelements.elements.sdk.local with parameters of type AttributesModifier and TypeMethodDescriptionElementsLocalBuilder.withAttributes(Attributes attributes) Specifies the system properties as anAttributesinstance.StandardElementsLocalBuilder.withAttributes(Attributes attributes) ElementsLocalBuilder.withElementNamed(String applicationNameOrId, String elementName, Attributes attributes) Specifies anElementto load associated with the supplied package.StandardElementsLocalBuilder.withElementNamed(String applicationNameOrId, String elementName, Attributes attributes) Constructors in dev.getelements.elements.sdk.local with parameters of type AttributesModifierConstructorDescriptionLocalApplicationElementRecord(String applicationNameOrId, String elementName, Attributes attributes) Creates an instance of aLocalApplicationElementRecordrecord class. -
Uses of Attributes in dev.getelements.elements.sdk.record
Methods in dev.getelements.elements.sdk.record that return AttributesModifier and TypeMethodDescriptionElementRecord.attributes()Returns the value of theattributesrecord component.Constructors in dev.getelements.elements.sdk.record with parameters of type AttributesModifierConstructorDescriptionElementRecord(ElementType type, ElementDefinitionRecord definition, List<ElementServiceRecord> services, List<ElementEventProducerRecord> producedEvents, List<ElementEventConsumerRecord<?>> consumedEvents, Attributes attributes, List<ElementDefaultAttributeRecord> defaultAttributes, ClassLoader classLoader) Creates an instance of aElementRecordrecord class. -
Uses of Attributes in dev.getelements.elements.sdk.spi
Methods in dev.getelements.elements.sdk.spi with parameters of type AttributesModifier and TypeMethodDescriptionDefaultElementLoaderFactory.findElementDefinitionRecord(ClassLoader classLoader, Attributes attributes, Predicate<ElementDefinitionRecord> selector) DefaultElementLoaderFactory.getElementRecordFromPackage(Attributes attributes, Package aPackage) DefaultElementLoaderFactory.getIsolatedLoader(Attributes attributes, ClassLoader baseClassLoader, ElementLoaderFactory.ClassLoaderConstructor classLoaderCtor, Predicate<ElementDefinitionRecord> selector) -
Uses of Attributes in dev.getelements.elements.sdk.spi.guice
Methods in dev.getelements.elements.sdk.spi.guice with parameters of type Attributes -
Uses of Attributes in dev.getelements.elements.sdk.util
Classes in dev.getelements.elements.sdk.util that implement AttributesModifier and TypeClassDescriptionclassA type ofAttributeswhich is immutable.classfinal recordSimple implementation ofAttributesbacked by aMap<String,.Object> Methods in dev.getelements.elements.sdk.util that return AttributesModifier and TypeMethodDescriptionImmutableAttributes.immutableCopy()PropertiesAttributes.immutableCopy()SimpleAttributes.immutableCopy()Methods in dev.getelements.elements.sdk.util with parameters of type AttributesModifier and TypeMethodDescriptionstatic ImmutableAttributesImmutableAttributes.copyOf(Attributes attributes) Takes a copy of the suppliedAttributesand thenSimpleAttributes.Builder.from(Attributes attributes) Copies all values from anotherAttributesinto thisSimpleAttributes.Builder.SimpleAttributes.Builder.from(Attributes attributes, BiPredicate<String, Object> filter) Copies all values from anotherAttributesinto thisSimpleAttributes.Builder, filtering out attributes based on the suppliedBiPredicate. -
Uses of Attributes in dev.getelements.elements.servlet
Classes in dev.getelements.elements.servlet that implement AttributesMethods in dev.getelements.elements.servlet that return Attributes