Class SetHazelcastConfiguration
- java.lang.Object
-
- fish.payara.nucleus.hazelcast.admin.SetHazelcastConfiguration
-
- All Implemented Interfaces:
AdminCommand
,DeploymentTargetResolver
@Service(name="set-hazelcast-configuration") @PerLookup @CommandLock(NONE) @TargetType({CONFIG,DOMAIN,STANDALONE_INSTANCE,CLUSTER,CLUSTERED_INSTANCE}) @ExecuteOn(ALL) public class SetHazelcastConfiguration extends Object implements AdminCommand, DeploymentTargetResolver
- Author:
- steve
-
-
Field Summary
Fields Modifier and Type Field Description protected HazelcastCore
hazelcastCore
protected Logger
logger
-
Constructor Summary
Constructors Constructor Description SetHazelcastConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute(AdminCommandContext context)
Executes the command with the command parameters passed as Properties where the keys are the parameter names and the values are the parameter valuesString
getTarget(ParameterMap pm)
-
-
-
Field Detail
-
logger
@Inject protected Logger logger
-
hazelcastCore
@Inject protected HazelcastCore hazelcastCore
-
-
Method Detail
-
execute
public void execute(AdminCommandContext context)
Description copied from interface:AdminCommand
Executes the command with the command parameters passed as Properties where the keys are the parameter names and the values are the parameter values- Specified by:
execute
in interfaceAdminCommand
- Parameters:
context
- information
-
getTarget
public String getTarget(ParameterMap pm)
- Specified by:
getTarget
in interfaceDeploymentTargetResolver
-
-