Package org.glassfish.batch
Class SetBatchRuntimeConfiguration
java.lang.Object
org.glassfish.batch.SetBatchRuntimeConfiguration
- All Implemented Interfaces:
org.glassfish.api.admin.AdminCommand
@Service(name="set-batch-runtime-configuration")
@PerLookup
@CommandLock(NONE)
@ExecuteOn(DAS)
@TargetType({DAS,STANDALONE_INSTANCE,CLUSTER})
public class SetBatchRuntimeConfiguration
extends Object
implements org.glassfish.api.admin.AdminCommand
- Author:
- Mahesh Kannan
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute(org.glassfish.api.admin.AdminCommandContext context) voidvalidateDataSourceLookupName(org.glassfish.api.admin.AdminCommandContext context, String targetName, String dsLookupName) voidvalidateExecutorServiceLookupName(org.glassfish.api.admin.AdminCommandContext context, String targetName, String exeLookupName)
-
Field Details
-
logger
-
target
-
targetUtil
@Inject protected org.glassfish.internal.api.Target targetUtil
-
-
Constructor Details
-
SetBatchRuntimeConfiguration
public SetBatchRuntimeConfiguration()
-
-
Method Details
-
execute
public void execute(org.glassfish.api.admin.AdminCommandContext context) - Specified by:
executein interfaceorg.glassfish.api.admin.AdminCommand
-
validateDataSourceLookupName
-
validateExecutorServiceLookupName
-