@Service(name="osgi") @CommandLock(value=SHARED) @PerLookup @TargetType(value={CLUSTERED_INSTANCE,STANDALONE_INSTANCE}) public class OSGiShellCommand extends Object implements AdminCommand, org.glassfish.hk2.api.PostConstruct
Modifier and Type | Field and Description |
---|---|
protected org.osgi.framework.BundleContext |
ctx |
Constructor and Description |
---|
OSGiShellCommand() |
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
|
void |
postConstruct() |
public void execute(AdminCommandContext context)
AdminCommand
execute
in interface AdminCommand
context
- informationpublic void postConstruct()
postConstruct
in interface org.glassfish.hk2.api.PostConstruct
Copyright © 2018. All rights reserved.