Package org.glassfish.batch
Class SetBatchRuntimeConfiguration
- java.lang.Object
-
- org.glassfish.batch.SetBatchRuntimeConfiguration
-
- All Implemented Interfaces:
AdminCommand
@Service(name="set-batch-runtime-configuration") @PerLookup @CommandLock(NONE) @ExecuteOn(DAS) @TargetType({DAS,STANDALONE_INSTANCE,CLUSTER,CLUSTERED_INSTANCE,CONFIG}) public class SetBatchRuntimeConfiguration extends Object implements AdminCommand
- Author:
- Mahesh Kannan
-
-
Field Summary
Fields Modifier and Type Field Description protected Logger
logger
static int
MAX_TABLE_LENGTH
protected String
target
protected Target
targetUtil
-
Constructor Summary
Constructors Constructor Description SetBatchRuntimeConfiguration()
-
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 valuesvoid
validateDataSourceLookupName(AdminCommandContext context, String targetName, String dsLookupName)
void
validateExecutorServiceLookupName(AdminCommandContext context, String targetName, String exeLookupName)
-
-
-
Field Detail
-
logger
@Inject protected Logger logger
-
target
protected String target
-
targetUtil
@Inject protected Target targetUtil
-
MAX_TABLE_LENGTH
public static final int MAX_TABLE_LENGTH
- See Also:
- Constant Field Values
-
-
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
-
validateDataSourceLookupName
public void validateDataSourceLookupName(AdminCommandContext context, String targetName, String dsLookupName)
-
validateExecutorServiceLookupName
public void validateExecutorServiceLookupName(AdminCommandContext context, String targetName, String exeLookupName)
-
-