org.opengroup.arm40.transaction

Interface ArmApplicationDefinition

public interface ArmApplicationDefinition extends ArmInterface

Describes the attributes of an application that do not change from one instance of the application to another. This provides an anchor point for associating ArmTransactionDefinition and ArmMetricDefinition objects with the application. It has the following attributes, all of which are immutable:

ArmApplicationDefinition does not, of course, destroy the ArmApplicationDefinition object. It does signal to the ARM implementation that the definition and all related definitions (e.g., ArmTransactionDefinition) within its scope are no longer needed. The normal behavior would be for the ARM implementation to release its references to all those objects. If the application also releases its references, the objects would be eligible for garbage collection. After destroy() is called, no method on any object that is scoped by the ArmApplicationDefinition should be called again. If a method is called, the results are unpredictable.

Objects implementing this interface are created using ArmTransactionFactory.

Author: ARM Working Group of The Open Group

Method Summary
voiddestroy()
Signal to the ARM implementation that the definition and all related definitions within its scope are no longer needed.
ArmIdentityPropertiesgetIdentityProperties()
ArmIDgetID()
StringgetName()

Method Detail

destroy

public void destroy()
Signal to the ARM implementation that the definition and all related definitions within its scope are no longer needed.

getIdentityProperties

public ArmIdentityProperties getIdentityProperties()

Returns: an object describing the identity property metadata associated with this application, or null. See the discussion in ArmIdentityProperties.

getID

public ArmID getID()

Returns: a 16-byte ID associated with the identity of this application definition, or null.

getName

public String getName()

Returns: the name of this application.