Class HazelcastConfigResourceCondition

All Implemented Interfaces:
org.springframework.context.annotation.Condition

public abstract class HazelcastConfigResourceCondition extends ResourceCondition
SpringBootCondition used to check if the Hazelcast configuration is available. This either kicks in if a default configuration has been found or if configurable property referring to the resource to use has been set.
Since:
1.3.0
  • Field Details

  • Constructor Details

    • HazelcastConfigResourceCondition

      protected HazelcastConfigResourceCondition(String configSystemProperty, String... resourceLocations)
  • Method Details

    • getResourceOutcome

      protected ConditionOutcome getResourceOutcome(org.springframework.context.annotation.ConditionContext context, org.springframework.core.type.AnnotatedTypeMetadata metadata)
      Description copied from class: ResourceCondition
      Check if one of the default resource locations actually exists.
      Overrides:
      getResourceOutcome in class ResourceCondition
      Parameters:
      context - the condition context
      metadata - the annotation metadata
      Returns:
      the condition outcome