@Service(name="add-library") @PerLookup @CommandLock(value=NONE) @ExecuteOn(value=DAS) public class AddLibraryCommand extends Object implements AdminCommand
It will then attempt to load the new classes dynamically. If there is a file with that name already existing, then it will do nothing, and the new library will not be used until the library is reloaded. Similarly, if there is a class in the new library that has the same full name as a class already existing then it won't be loaded.
Constructor and Description |
---|
AddLibraryCommand() |
Modifier and Type | Method and 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 values
|
public void execute(AdminCommandContext context)
AdminCommand
execute
in interface AdminCommand
context
- informationCopyright © 2020. All rights reserved.