public class DeploymentHolderService
extends org.jboss.msc.service.AbstractService<org.jboss.osgi.deployment.deployer.Deployment>
Deployment
is the one constructed by the Framework
.
It is not the one constructed by the BundleInstallProcessor
.Modifier and Type | Method and Description |
---|---|
static void |
addService(org.jboss.msc.service.ServiceTarget serviceTarget,
String contextName,
org.jboss.osgi.deployment.deployer.Deployment dep) |
static String |
getContextName(org.jboss.osgi.deployment.deployer.Deployment dep)
Get the
DeploymentUnit name for the given deployment |
static org.jboss.msc.service.ServiceController<org.jboss.osgi.deployment.deployer.Deployment> |
getDeployment(org.jboss.msc.service.ServiceRegistry registry,
String contextName) |
static org.jboss.msc.service.ServiceName |
getServiceName(String contextName) |
org.jboss.osgi.deployment.deployer.Deployment |
getValue() |
public static void addService(org.jboss.msc.service.ServiceTarget serviceTarget, String contextName, org.jboss.osgi.deployment.deployer.Deployment dep)
public static org.jboss.msc.service.ServiceController<org.jboss.osgi.deployment.deployer.Deployment> getDeployment(org.jboss.msc.service.ServiceRegistry registry, String contextName)
public static String getContextName(org.jboss.osgi.deployment.deployer.Deployment dep)
DeploymentUnit
name for the given deploymentpublic static org.jboss.msc.service.ServiceName getServiceName(String contextName)
public org.jboss.osgi.deployment.deployer.Deployment getValue() throws IllegalStateException
getValue
in interface org.jboss.msc.value.Value<org.jboss.osgi.deployment.deployer.Deployment>
getValue
in class org.jboss.msc.service.AbstractService<org.jboss.osgi.deployment.deployer.Deployment>
IllegalStateException
Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.