Skip to content

Commit

Permalink
Added Hazelcast declarative configuration files for classpath
Browse files Browse the repository at this point in the history
  • Loading branch information
alparslanavci committed Jan 13, 2020
1 parent 52ac471 commit c1e61f7
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,10 @@
*/
public class HazelcastConfigResourceCondition implements Condition {

public static final String[] CLIENT_CONFIG_FILES = {"hazelcast-client.xml", "hazelcast-client.yml"};
public static final String[] INSTANCE_CONFIG_FILES = {"hazelcast.xml", "hazelcast.yml"};
public static final String[] CLIENT_CONFIG_FILES = {"hazelcast-client.xml", "hazelcast-client.yml",
"classpath:hazelcast-client.xml", "classpath:hazelcast-client.yml"};
public static final String[] INSTANCE_CONFIG_FILES = {"hazelcast.xml", "hazelcast.yml", "classpath:hazelcast.xml",
"classpath:hazelcast.yml"};

@Override
public boolean matches(ConditionContext context) {
Expand Down

0 comments on commit c1e61f7

Please sign in to comment.