All Methods Instance Methods Concrete Methods
| Modifier and Type |
Method and Description |
ApplicationInfo |
deploy(Collection<? extends Sniffer> sniffers,
ExtendedDeploymentContext context) |
ApplicationInfo |
deploy(ExtendedDeploymentContext context) |
ExtendedDeploymentContext |
disable(UndeployCommandParameters commandParams,
Application app,
ApplicationInfo appInfo,
ActionReport report,
Logger logger) |
ExtendedDeploymentContext |
enable(String target,
Application app,
ApplicationRef appRef,
ActionReport report,
Logger logger) |
ApplicationInfo |
get(String appName) |
ArchiveHandler |
getArchiveHandler(ReadableArchive archive)
Returns the ArchiveHandler for the passed archive abstraction or null
if there are none.
|
ArchiveHandler |
getArchiveHandler(ReadableArchive archive,
String type)
Returns the ArchiveHandler for the passed archive abstraction or null
if there are none.
|
Deployment.DeploymentContextBuilder |
getBuilder(Logger logger,
OpsParams params,
ActionReport report) |
ExtendedDeploymentContext |
getCurrentDeploymentContext()
Returns thread-local deployment, which is the currently-executing deployment context,
or null if none
|
String |
getDefaultTarget(Boolean isClassicStyle) |
String |
getDefaultTarget(String appName,
OpsParams.Origin origin,
Boolean isClassicStyle) |
org.glassfish.hk2.classmodel.reflect.Parser |
getDeployableParser(ReadableArchive source,
boolean skipScanExternalLibProp,
boolean modelUnAnnotatedMembers,
StructuredDeploymentTracing tracing,
Logger logger) |
org.glassfish.hk2.classmodel.reflect.Types |
getDeployableTypes(DeploymentContext context)
Scans the source of the deployment operation for all types
and store the result in the deployment context.
|
Collection<? extends Sniffer> |
getSniffers(ArchiveHandler handler,
Collection<? extends Sniffer> sniffers,
DeploymentContext context) |
List<Sniffer> |
getSniffersFromApp(Application app) |
void |
initialize(ApplicationInfo appInfo,
Collection<? extends Sniffer> sniffers,
ExtendedDeploymentContext context) |
boolean |
isAppEnabled(Application app) |
boolean |
isRegistered(String appName) |
void |
postConstruct() |
Deployment.ApplicationDeployment |
prepare(Collection<? extends Sniffer> sniffers,
ExtendedDeploymentContext context) |
Transaction |
prepareAppConfigChanges(DeploymentContext context) |
ParameterMap |
prepareInstanceDeployParamMap(DeploymentContext dc) |
ModuleInfo |
prepareModule(List<EngineInfo> sortedEngineInfos,
String moduleName,
DeploymentContext context,
ProgressTracker tracker) |
void |
registerAppInDomainXML(ApplicationInfo applicationInfo,
DeploymentContext context,
Transaction t) |
void |
registerAppInDomainXML(ApplicationInfo applicationInfo,
DeploymentContext context,
Transaction t,
boolean appRefOnly) |
void |
registerTenantWithAppInDomainXML(String appName,
ExtendedDeploymentContext context) |
boolean |
resume(String appName)
Resumes this application.
|
protected Collection<EngineInfo> |
setupContainer(Sniffer sniffer,
Logger logger,
DeploymentContext context) |
List<EngineInfo> |
setupContainerInfos(ArchiveHandler handler,
Collection<? extends Sniffer> sniffers,
DeploymentContext context)
set up containers and prepare the sorted ModuleInfos
|
List<EngineInfo> |
setupContainerInfos(DeploymentContext context) |
protected boolean |
startContainers(Collection<EngineInfo> containersInfo,
Logger logger,
DeploymentContext context) |
protected void |
stopContainers(EngineInfo[] ctrInfos,
Logger logger) |
boolean |
suspend(String appName)
Suspends this application.
|
void |
undeploy(String appName,
ExtendedDeploymentContext context) |
ApplicationInfo |
unload(ApplicationInfo info,
ExtendedDeploymentContext context) |
void |
unregisterAppFromDomainXML(String appName,
String target) |
void |
unregisterAppFromDomainXML(String appName,
String tgt,
boolean appRefOnly) |
void |
unregisterTenantWithAppInDomainXML(String appName,
String tenantName) |
void |
updateAppEnabledAttributeInDomainXML(String appName,
String target,
boolean enabled) |
void |
validateDeploymentTarget(String target,
String name,
boolean isRedeploy) |
void |
validateSpecifiedTarget(String target) |
void |
validateUndeploymentTarget(String target,
String name) |