| Modifier and Type | Method and Description |
|---|---|
static String |
ConnectorsUtil.getApplicationName(DeploymentContext context) |
static boolean |
ConnectorsUtil.isEmbedded(DeploymentContext context) |
| Modifier and Type | Method and Description |
|---|---|
Container |
ContainerFactory.createContainer(EjbDescriptor ejbDescriptor,
ClassLoader loader,
DeploymentContext deployContext)
Create the appropriate Container instance and initialize it.
|
| Modifier and Type | Method and Description |
|---|---|
void |
StaticRmiStubGenerator.ejbc(DeploymentContext deploymentCtx)
Generates and compiles the necessary impl classes, stubs and skels.
|
protected String |
Generator.getUniqueClassName(DeploymentContext context,
String origName,
String origSuffix,
Vector existingClassNames) |
| Modifier and Type | Method and Description |
|---|---|
void |
StatefulContainerFactory.buildComponents(byte[] ipAddress,
int port,
DeploymentContext dc) |
Container |
StatelessContainerFactory.createContainer(EjbDescriptor ejbDescriptor,
ClassLoader loader,
DeploymentContext deployContext) |
Container |
SingletonContainerFactory.createContainer(EjbDescriptor ejbDescriptor,
ClassLoader loader,
DeploymentContext deployContext) |
Container |
StatefulContainerFactory.createContainer(EjbDescriptor ejbDescriptor,
ClassLoader loader,
DeploymentContext deployContext) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
ConnectorSniffer.handles(DeploymentContext context)
Returns true if the passed file or directory is recognized by this
sniffer.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ConnectorDeployer.clean(DeploymentContext dc)
Clean any files and artifacts that were created during the execution
of the prepare method.
|
ClassLoader |
RarHandler.getClassLoader(ClassLoader parent,
DeploymentContext context)
Creates a classloader that can load code from inside the archive.
|
ConnectorApplication |
ConnectorDeployer.load(ConnectorContainer container,
DeploymentContext context)
Loads a previously prepared application in its execution environment and
return a ContractProvider instance that will identify this environment in
future communications with the application's container runtime.
|
<T> T |
ConnectorDeployer.loadMetaData(Class<T> type,
DeploymentContext context)
Loads the meta date associated with the application.
|
void |
ConnectorDeployer.unload(ConnectorApplication appContainer,
DeploymentContext context)
Unload or stop a previously running application identified with the
ContractProvider instance.
|
| Modifier and Type | Method and Description |
|---|---|
List<URL> |
AbstractArchiveHandler.getManifestLibraries(DeploymentContext context) |
| Modifier and Type | Method and Description |
|---|---|
static BundleDescriptor |
DOLUtils.getCurrentBundleForContext(DeploymentContext context)
Gets the associated descriptor with the context
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
WarHandler.configureContextXmlAttribute(WebappClassLoader cloader,
File base,
DeploymentContext dc) |
ClassLoader |
WarHandler.getClassLoader(ClassLoader parent,
DeploymentContext context) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
SecurityDeployer.cleanArtifacts(DeploymentContext dc) |
protected void |
SecurityDeployer.generateArtifacts(DeploymentContext dc) |
DummyApplication |
SecurityDeployer.load(SecurityContainer container,
DeploymentContext context) |
static void |
SecurityUtil.removeRoleMapper(DeploymentContext dc) |
void |
SecurityDeployer.unload(DummyApplication container,
DeploymentContext context) |
| Modifier and Type | Field and Description |
|---|---|
protected DeploymentContext |
PermissionsProcessor.context |
| Modifier and Type | Method and Description |
|---|---|
protected static void |
PermissionsProcessor.addFilePermissionsForCurrentDir(PermissionCollection revisedPC,
DeploymentContext context,
FilePermission perm) |
protected static Permission |
PermissionsProcessor.convertTempDirPermission(PermissionCollection revisedPC,
DeploymentContext context,
FilePermission perm) |
static PermissionCollection |
PermsArchiveDelegate.getDeclaredPermissions(SMGlobalPolicyUtil.CommponentType type,
DeploymentContext context)
Get the application or module packaged permissions
|
static PermissionCollection |
PermsArchiveDelegate.processEEPermissions(SMGlobalPolicyUtil.CommponentType type,
DeploymentContext dc)
Get the EE permissions for the spcified module type
|
protected static void |
PermissionsProcessor.processFilePermission(PermissionCollection revisedPC,
DeploymentContext dc,
FilePermission fp) |
static void |
PermsArchiveDelegate.processModuleDeclaredAndEEPemirssions(SMGlobalPolicyUtil.CommponentType type,
DeploymentContext context,
ClassLoader classloader)
Get the declared permissions and EE permissions, then add them to the classloader
|
protected static PermissionCollection |
PermissionsProcessor.processPermisssonsForPath(PermissionCollection originalPC,
DeploymentContext dc) |
| Constructor and Description |
|---|
DeclaredPermissionsProcessor(SMGlobalPolicyUtil.CommponentType type,
DeploymentContext dc,
PermissionCollection declPc) |
EarEEPermissionsProcessor(DeploymentContext dc) |
ModuleEEPermissionsProcessor(SMGlobalPolicyUtil.CommponentType type,
DeploymentContext dc) |
PermissionsProcessor(SMGlobalPolicyUtil.CommponentType type,
DeploymentContext dc) |
SetPermissionsAction(SMGlobalPolicyUtil.CommponentType type,
DeploymentContext dc,
ClassLoader cl) |
| Modifier and Type | Method and Description |
|---|---|
ClassLoader |
ClassLoaderHierarchyImpl.createApplicationParentCL(ClassLoader parent,
DeploymentContext context)
Sets up the parent class loader for the application class loader.
|
org.glassfish.hk2.classmodel.reflect.Types |
ApplicationLifecycle.getDeployableTypes(DeploymentContext context) |
Collection<? extends Sniffer> |
ApplicationLifecycle.getSniffers(ArchiveHandler handler,
Collection<? extends Sniffer> sniffers,
DeploymentContext context) |
Collection<Sniffer> |
SnifferManagerImpl.getSniffers(DeploymentContext context)
Returns a collection of sniffers that recognized some parts of the
passed archive as components their container handle.
|
Collection<Sniffer> |
SnifferManagerImpl.getSniffers(DeploymentContext context,
List<URI> uris,
org.glassfish.hk2.classmodel.reflect.Types types) |
org.jvnet.hk2.config.Transaction |
ApplicationLifecycle.prepareAppConfigChanges(DeploymentContext context) |
ParameterMap |
ApplicationLifecycle.prepareInstanceDeployParamMap(DeploymentContext dc) |
ModuleInfo |
ApplicationLifecycle.prepareModule(List<EngineInfo> sortedEngineInfos,
String moduleName,
DeploymentContext context,
ProgressTracker tracker) |
void |
ApplicationLifecycle.registerAppInDomainXML(ApplicationInfo applicationInfo,
DeploymentContext context,
org.jvnet.hk2.config.Transaction t) |
void |
ApplicationLifecycle.registerAppInDomainXML(ApplicationInfo applicationInfo,
DeploymentContext context,
org.jvnet.hk2.config.Transaction t,
boolean appRefOnly) |
protected Collection<EngineInfo> |
ApplicationLifecycle.setupContainer(Sniffer sniffer,
Logger logger,
DeploymentContext context) |
List<EngineInfo> |
ApplicationLifecycle.setupContainerInfos(ArchiveHandler handler,
Collection<? extends Sniffer> sniffers,
DeploymentContext context) |
List<EngineInfo> |
ApplicationLifecycle.setupContainerInfos(DeploymentContext context) |
protected boolean |
ApplicationLifecycle.startContainers(Collection<EngineInfo> containersInfo,
Logger logger,
DeploymentContext context) |
void |
SnifferManagerImpl.validateSniffers(Collection<? extends Sniffer> snifferCol,
DeploymentContext context) |
| Modifier and Type | Method and Description |
|---|---|
DeploymentContext |
WebModuleConfig.getDeploymentContext()
Gets the deployment context of this web application.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
WebDeployer.generateArtifacts(DeploymentContext dc) |
WebApplication |
WebDeployer.load(WebContainer container,
DeploymentContext dc) |
<V> V |
WebDeployer.loadMetaData(Class<V> type,
DeploymentContext dc) |
void |
WebModuleConfig.setDeploymentContext(DeploymentContext deploymentContext)
Sets the deployment context for this web application.
|
void |
WebDeployer.unload(WebApplication webApplication,
DeploymentContext dc) |
| Modifier and Type | Method and Description |
|---|---|
void |
CMPDeployerImpl.clean(DeploymentContext ctx)
Integration point for cleanup on undeploy or failed deploy.
|
void |
CMPDeployerImpl.deploy(DeploymentContext ctx)
Generates the concrete impls for all CMPs in the application.
|
void |
CMPGenerator.init(EjbBundleDescriptorImpl ejbBundleDescriptor,
DeploymentContext ctx,
String bundlePathName,
String generatedXmlsPathName)
This method is called once for each ejb module in the application
that contains CMP beans.
|
| Modifier and Type | Method and Description |
|---|---|
org.netbeans.modules.dbschema.SchemaElement |
MappingGenerator.generateMapping(DeploymentContext ctx,
String inputFilesPath,
String generatedXmlsPath,
File classout,
boolean ignoreSunDeploymentDescriptors)
This method will load mapping classes if there is sun-cmp-mappings.xml,
otherwise it will call the database generation backend to create
mapping classes and schema.
|
void |
JDOCodeGenerator.init(EjbBundleDescriptorImpl bundle,
DeploymentContext ctx,
String bundlePathName,
String generatedXmlsPathName) |
| Constructor and Description |
|---|
CMPProcessor(DeploymentContext ctx)
Creates a new instance of CMPProcessor
|
| Modifier and Type | Method and Description |
|---|---|
String[] |
Sniffer.getAnnotationNames(DeploymentContext context)
Returns the list of annotation names that this sniffer is interested in.
|
boolean |
Sniffer.handles(DeploymentContext context)
Returns true if the passed file or directory is recognized by this
sniffer.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Deployer.clean(DeploymentContext context)
Clean any files and artifacts that were created during the execution
of the prepare method.
|
T |
ApplicationMetaDataProvider.load(DeploymentContext dc)
Load the metadata associated with the deployment event
|
U |
Deployer.load(T container,
DeploymentContext context)
Loads a previously prepared application in its execution environment and
return a ContractProvider instance that will identify this environment in
future communications with the application's container runtime.
|
<V> V |
Deployer.loadMetaData(Class<V> type,
DeploymentContext context)
Loads the meta date associated with the application.
|
boolean |
Deployer.prepare(DeploymentContext context)
Prepares the application bits for running in the application server.
|
void |
Deployer.unload(U appContainer,
DeploymentContext context)
Unload or stop a previously running application identified with the
ContractProvider instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ArchiveHandler.expand(ReadableArchive source,
WritableArchive target,
DeploymentContext context)
Prepares the jar file to a format the ApplicationContainer is
expecting.
|
ClassLoader |
ArchiveHandler.getClassLoader(ClassLoader parent,
DeploymentContext context)
Creates a classloader that can load code from inside the archive.
|
String |
ArchiveHandler.getDefaultApplicationName(ReadableArchive archive,
DeploymentContext context) |
void |
CompositeHandler.initCompositeMetaData(DeploymentContext context) |
| Modifier and Type | Method and Description |
|---|---|
DeploymentContext |
ProviderContainerContractInfoImpl.getDeploymentContext() |
| Modifier and Type | Method and Description |
|---|---|
DeploymentContext |
AppClientDeployerHelper.dc() |
DeploymentContext |
AppClientServerApplication.dc() |
| Modifier and Type | Method and Description |
|---|---|
URI |
StandaloneAppClientDeployerHelper.appClientServerOriginalAnchor(DeploymentContext dc) |
abstract URI |
AppClientDeployerHelper.appClientServerOriginalAnchor(DeploymentContext dc)
Returns the URI on the server to the original location of the app client.
|
URI |
NestedAppClientDeployerHelper.appClientServerOriginalAnchor(DeploymentContext dc) |
URI |
StandaloneAppClientDeployerHelper.appClientServerURI(DeploymentContext dc)
Returns the URI to the server
|
abstract URI |
AppClientDeployerHelper.appClientServerURI(DeploymentContext dc)
Returns the URI to the server's copy of the developer's original app
client JAR.
|
URI |
NestedAppClientDeployerHelper.appClientServerURI(DeploymentContext dc) |
URI |
StandaloneAppClientDeployerHelper.appClientURIWithinApp(DeploymentContext dc)
Returns the URI for the app client within the artificial containing
app.
|
abstract URI |
AppClientDeployerHelper.appClientURIWithinApp(DeploymentContext dc)
Returns the URI within the enclosing app of the app client JAR.
|
URI |
NestedAppClientDeployerHelper.appClientURIWithinApp(DeploymentContext dc) |
URI |
StandaloneAppClientDeployerHelper.appClientUserURI(DeploymentContext dc)
Returns the URI for the developer's original app client JAR within the
user's download directory.
|
abstract URI |
AppClientDeployerHelper.appClientUserURI(DeploymentContext dc)
Returns the URI to the developer's original app client JAR within
the download directory the user specifies in "deploy --retrieve" or
"get-client-stubs."
|
URI |
NestedAppClientDeployerHelper.appClientUserURI(DeploymentContext dc) |
URI |
StandaloneAppClientDeployerHelper.appClientUserURIForFacade(DeploymentContext dc) |
abstract URI |
AppClientDeployerHelper.appClientUserURIForFacade(DeploymentContext dc)
Returns the URI to be used for the GlassFish-AppClient manifest entry
in the facade.
|
URI |
NestedAppClientDeployerHelper.appClientUserURIForFacade(DeploymentContext dc) |
String |
AppClientDeployerHelper.appName(DeploymentContext dc) |
void |
AppClientDeployer.clean(DeploymentContext dc)
Clean any files and artifacts that were created during the execution
of the prepare method.
|
protected void |
StandaloneAppClientDeployerHelper.copyOriginalAppClientJAR(DeploymentContext dc) |
protected String |
StandaloneAppClientDeployerHelper.facadeFileNameAndType(DeploymentContext dc)
Returns the file name and type of the facade.
|
protected abstract String |
AppClientDeployerHelper.facadeFileNameAndType(DeploymentContext dc)
Returns the file name (and type) for the facade, excluding any
directory information.
|
protected String |
NestedAppClientDeployerHelper.facadeFileNameAndType(DeploymentContext dc) |
URI |
StandaloneAppClientDeployerHelper.facadeServerURI(DeploymentContext dc)
Returns the URI for the generated facade JAR.
|
abstract URI |
AppClientDeployerHelper.facadeServerURI(DeploymentContext dc)
Returns the URI to the server's copy of the facade JAR file.
|
URI |
NestedAppClientDeployerHelper.facadeServerURI(DeploymentContext dc) |
URI |
StandaloneAppClientDeployerHelper.facadeUserURI(DeploymentContext dc)
Returns the URI for the facade within the user's download directory.
|
abstract URI |
AppClientDeployerHelper.facadeUserURI(DeploymentContext dc)
Returns the URI for the facade JAR, relative to the download
directory to which the user will fetch the relevant JARs (either
as part of "deploy --retrieve" or "get-client-stubs."
|
URI |
NestedAppClientDeployerHelper.facadeUserURI(DeploymentContext dc) |
protected void |
AppClientDeployer.generateArtifacts(DeploymentContext dc) |
ClassLoader |
CarHandler.getClassLoader(ClassLoader parent,
DeploymentContext context) |
URI |
StandaloneAppClientDeployerHelper.groupFacadeServerURI(DeploymentContext dc) |
abstract URI |
AppClientDeployerHelper.groupFacadeServerURI(DeploymentContext dc) |
URI |
NestedAppClientDeployerHelper.groupFacadeServerURI(DeploymentContext dc) |
URI |
StandaloneAppClientDeployerHelper.groupFacadeUserURI(DeploymentContext dc) |
abstract URI |
AppClientDeployerHelper.groupFacadeUserURI(DeploymentContext dc)
Returns the URI for the group facade JAR, relative to the download
directory to which the user will fetch the relevant JARs (either
as part of "deploy --retrieve" or "get-client-stubs."
|
URI |
NestedAppClientDeployerHelper.groupFacadeUserURI(DeploymentContext dc) |
void |
AppClientServerApplication.init(DeploymentContext dc,
AppClientDeployerHelper helper) |
AppClientServerApplication |
AppClientDeployer.load(AppClientContainerStarter containerStarter,
DeploymentContext dc) |
String |
StandaloneAppClientDeployerHelper.pathToAppclientWithinApp(DeploymentContext dc) |
abstract String |
AppClientDeployerHelper.pathToAppclientWithinApp(DeploymentContext dc)
Returns the relative path to the app client within the enclosing app.
|
String |
NestedAppClientDeployerHelper.pathToAppclientWithinApp(DeploymentContext dc) |
void |
AppClientDeployer.unload(AppClientServerApplication application,
DeploymentContext dc) |
URI |
StandaloneAppClientDeployerHelper.URIWithinAppDir(DeploymentContext dc,
URI absoluteURI) |
abstract URI |
AppClientDeployerHelper.URIWithinAppDir(DeploymentContext dc,
URI absoluteURI)
Returns a relative URI within the app directory for the specified
absolute URI.
|
URI |
NestedAppClientDeployerHelper.URIWithinAppDir(DeploymentContext dc,
URI absoluteURI) |
| Constructor and Description |
|---|
AppClientDeployerHelper(DeploymentContext dc,
ApplicationClientDescriptor bundleDesc,
AppClientArchivist archivist,
ClassLoader gfClientModuleClassLoader,
Application application,
org.glassfish.hk2.api.ServiceLocator habitat) |
ApplicationSignedJARManager(String autoSigningAlias,
ASJarSigner jarSigner,
org.glassfish.hk2.api.ServiceLocator habitat,
DeploymentContext dc,
AppClientDeployerHelper helper,
URI EARDirectoryServerURI,
URI EARDirectoryUserURI) |
| Modifier and Type | Method and Description |
|---|---|
static URI |
JavaWebStartInfo.relativeURIForProvidedOrGeneratedAppFile(DeploymentContext dc,
URI absURI,
AppClientDeployerHelper helper) |
static File |
JavaWebStartInfo.signedFileForProvidedAppFile(URI relURI,
File unsignedFile,
AppClientDeployerHelper helper,
DeploymentContext dc) |
static String |
JWSAdapterManager.signingAlias(DeploymentContext dc) |
| Modifier and Type | Method and Description |
|---|---|
void |
DeployCommand.Interceptor.intercept(DeployCommand self,
DeploymentContext context)
Called by the deployment command to intercept a deployment activity.
|
| Constructor and Description |
|---|
InterceptorNotifier(org.glassfish.hk2.api.ServiceLocator habitat,
DeploymentContext basicDC) |
| Modifier and Type | Class and Description |
|---|---|
class |
DeploymentContextImpl |
| Modifier and Type | Method and Description |
|---|---|
void |
SimpleDeployer.clean(DeploymentContext context)
Clean any files and artifacts that were created during the execution
of the prepare method.
|
protected abstract void |
SimpleDeployer.cleanArtifacts(DeploymentContext dc) |
static Artifacts |
DeploymentUtils.downloadableArtifacts(DeploymentContext dc)
Returns the downloadable artifacts object from the specified deployment
context, creating it there if it does not already exist.
|
protected abstract void |
SimpleDeployer.generateArtifacts(DeploymentContext dc) |
static Artifacts |
DeploymentUtils.generatedArtifacts(DeploymentContext dc)
Returns the generated artifacts object from the specified deployment
context, creating it there if it does not already exist.
|
static ClientArtifactsManager |
ClientArtifactsManager.get(DeploymentContext dc)
Retrieves the client artifacts store from the provided deployment
context, creating one and storing it back into the DC if none is
there yet.
|
static Artifacts |
Artifacts.get(DeploymentContext dc,
String keyPrefix)
Returns the Artifacts object from the deployment context with the
sepcified key prefix, creating a new one and storing it in the DC if
no matching Artifacts object already exists.
|
static List<URL> |
DeploymentUtils.getManifestLibraries(DeploymentContext context) |
static List<URL> |
DeploymentUtils.getManifestLibraries(DeploymentContext context,
Manifest manifest) |
static boolean |
DeploymentUtils.isArchiveOfType(ReadableArchive archive,
ArchiveType archiveType,
DeploymentContext context,
org.glassfish.hk2.api.ServiceLocator locator) |
U |
SimpleDeployer.load(T container,
DeploymentContext context)
No-op
|
<V> V |
SimpleDeployer.loadMetaData(Class<V> type,
DeploymentContext context)
Loads the meta date associated with the application.
|
boolean |
SimpleDeployer.prepare(DeploymentContext dc)
Prepares the application bits for running in the application server.
|
void |
Artifacts.record(DeploymentContext dc)
Records the Artifacts object into the specified deployment context.
|
void |
SimpleDeployer.unload(U appContainer,
DeploymentContext context)
No-op
|
static boolean |
DeploymentUtils.useV2Compatibility(DeploymentContext context) |
| Modifier and Type | Method and Description |
|---|---|
ClassLoader |
EjbJarHandler.getClassLoader(ClassLoader parent,
DeploymentContext context) |
| Modifier and Type | Method and Description |
|---|---|
Container |
MessageBeanContainerFactory.createContainer(EjbDescriptor ejbDescriptor,
ClassLoader loader,
DeploymentContext deployContext) |
| Modifier and Type | Method and Description |
|---|---|
void |
CMPDeployer.clean(DeploymentContext ctx) |
void |
CMPDeployer.deploy(DeploymentContext ctx) |
| Modifier and Type | Method and Description |
|---|---|
void |
EjbDeployer.clean(DeploymentContext dc)
Clean any files and artifacts that were created during the execution
of the prepare method.
|
protected void |
EjbDeployer.generateArtifacts(DeploymentContext dc)
Use this method to generate any ejb-related artifacts for the module
|
EjbApplication |
EjbDeployer.load(EjbContainerStarter containerStarter,
DeploymentContext dc) |
boolean |
EjbDeployer.prepare(DeploymentContext dc) |
void |
EjbDeployer.unload(EjbApplication ejbApplication,
DeploymentContext dc) |
| Constructor and Description |
|---|
EjbApplication(EjbBundleDescriptorImpl bundle,
DeploymentContext dc,
ClassLoader cl,
org.glassfish.hk2.api.ServiceLocator services) |
| Modifier and Type | Method and Description |
|---|---|
void |
GrizzlyDeployer.clean(DeploymentContext context) |
GrizzlyApp |
GrizzlyDeployer.load(GrizzlyContainer container,
DeploymentContext context)
Deploy a
Adapter pr GrizzlyAdapter. |
<V> V |
GrizzlyDeployer.loadMetaData(Class<V> type,
DeploymentContext context) |
boolean |
GrizzlyDeployer.prepare(DeploymentContext context) |
void |
GrizzlyDeployer.unload(GrizzlyApp appContainer,
DeploymentContext context) |
| Modifier and Type | Method and Description |
|---|---|
void |
OSGiDeployer.clean(DeploymentContext context) |
void |
OSGiArchiveHandler.expand(ReadableArchive source,
WritableArchive target,
DeploymentContext context)
Overriding the expand method of base class(GenericHandler) in order to
support allowing wrapping of non-OSGi bundles when --type=osgi option is
used in deploy command or GUI.
|
ClassLoader |
OSGiArchiveHandler.getClassLoader(ClassLoader parent,
DeploymentContext context) |
String |
OSGiArchiveHandler.getDefaultApplicationName(ReadableArchive archive,
DeploymentContext context) |
boolean |
OSGiSniffer.handles(DeploymentContext context) |
void |
OSGiArchiveHandler.initCompositeMetaData(DeploymentContext context) |
OSGiDeployedBundle |
OSGiDeployer.load(OSGiContainer container,
DeploymentContext context) |
<V> V |
OSGiDeployer.loadMetaData(Class<V> type,
DeploymentContext context) |
boolean |
OSGiDeployer.prepare(DeploymentContext context) |
void |
OSGiDeployer.unload(OSGiDeployedBundle appContainer,
DeploymentContext context) |
| Modifier and Type | Method and Description |
|---|---|
ClassLoader |
ClassLoaderHierarchy.createApplicationParentCL(ClassLoader parent,
DeploymentContext context)
Sets up the parent class loader for the application class loader.
|
void |
JAXRPCCodeGenFacade.run(org.glassfish.hk2.api.ServiceLocator habitat,
DeploymentContext context,
String cp,
boolean processServiceReferences) |
| Modifier and Type | Method and Description |
|---|---|
void |
ModuleInfo.start(DeploymentContext context,
ProgressTracker tracker) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
ExtendedDeploymentContext
semi-private interface to the deployment context
|
| Modifier and Type | Field and Description |
|---|---|
static EventTypes<DeploymentContext> |
Deployment.AFTER_APPLICATION_CLASSLOADER_CREATION
This synchronous event is sent after creation of application classloader.
|
static EventTypes<DeploymentContext> |
Deployment.AFTER_DEPLOYMENT_CLASSLOADER_CREATION
This synchronous event is sent after creation of deployment classloader.
|
static EventTypes<DeploymentContext> |
Deployment.ALL_APPLICATIONS_PROCESSED
The following asynchronous event is sent after all applications are
started in server start up.
|
static EventTypes<DeploymentContext> |
Deployment.APPLICATION_CLEANED |
static EventTypes<DeploymentContext> |
Deployment.APPLICATION_PREPARED
The following synchronous events are sent after each change in an application stated (An application contains
1 to many modules)
|
static EventTypes<DeploymentContext> |
Deployment.DEPLOYMENT_BEFORE_CLASSLOADER_CREATION
This synchronous event is sent before prepare phase of deployment.
|
static EventTypes<DeploymentContext> |
Deployment.DEPLOYMENT_FAILURE
This asynchronous event is sent when a deployment activity (first time deploy or loading of an already deployed application)
failed.
|
static EventTypes<DeploymentContext> |
Deployment.DEPLOYMENT_START
This synchronous event is sent when a new deployment or loading of an already deployed application start.
|
static EventTypes<DeploymentContext> |
Deployment.INITIAL_CONTEXT_CREATED
This synchronous event is sent right after initial deployment context is created
|
static EventTypes<DeploymentContext> |
Deployment.MODULE_CLEANED |
static EventTypes<DeploymentContext> |
Deployment.MODULE_PREPARED
The following synchronous events are sent after each change in a module state.
|
static EventTypes<DeploymentContext> |
Deployment.UNDEPLOYMENT_FAILURE
This asynchronous event is sent when a deployment activity (first time deploy or loading of an already deployed application)
failed.
|
static EventTypes<DeploymentContext> |
Deployment.UNDEPLOYMENT_SUCCESS
This asynchronous event is sent when a deployment activity (first time deploy or loading of an already deployed application)
succeeded.
|
static EventTypes<DeploymentContext> |
Deployment.UNDEPLOYMENT_VALIDATION
The following synchronous event is sent before the application is
undeployed so various listeners could validate the undeploy operation
and decide whether to abort undeployment
|
| Modifier and Type | Method and Description |
|---|---|
DeploymentContext |
Deployment.disable(UndeployCommandParameters commandParams,
Application app,
ApplicationInfo appInfo,
ActionReport report,
Logger logger) |
DeploymentContext |
Deployment.enable(String target,
Application app,
ApplicationRef appRef,
ActionReport report,
Logger logger) |
| Modifier and Type | Method and Description |
|---|---|
void |
GenericDeployer.clean(DeploymentContext context) |
void |
GenericHandler.expand(ReadableArchive source,
WritableArchive target,
DeploymentContext context)
Prepares the jar file to a format the ApplicationContainer is
expecting.
|
String[] |
GenericSniffer.getAnnotationNames(DeploymentContext context)
Returns the list of annotation names that this sniffer is interested in.
|
String |
GenericHandler.getDefaultApplicationName(ReadableArchive archive,
DeploymentContext context)
Returns the default application name usable for identifying the archive.
|
org.glassfish.hk2.classmodel.reflect.Types |
Deployment.getDeployableTypes(DeploymentContext context)
Scans the source of the deployment operation for all types
and store the result in the deployment context.
|
String |
ApplicationInfoProvider.getNameFor(ReadableArchive archive,
DeploymentContext context)
return the name for the given application
|
Collection<? extends Sniffer> |
Deployment.getSniffers(ArchiveHandler archiveHandler,
Collection<? extends Sniffer> sniffers,
DeploymentContext context) |
Collection<Sniffer> |
SnifferManager.getSniffers(DeploymentContext context)
Returns a collection of sniffers that recognized some parts of the
passed archive as components their container handle.
|
Collection<Sniffer> |
SnifferManager.getSniffers(DeploymentContext context,
List<URI> uris,
org.glassfish.hk2.classmodel.reflect.Types types) |
boolean |
GenericSniffer.handles(DeploymentContext context)
Returns true if the passed file or directory is recognized by this
composite sniffer.
|
GenericApplicationContainer |
GenericDeployer.load(T container,
DeploymentContext context) |
<V> V |
GenericDeployer.loadMetaData(Class<V> type,
DeploymentContext context) |
boolean |
GenericDeployer.prepare(DeploymentContext context) |
org.jvnet.hk2.config.Transaction |
Deployment.prepareAppConfigChanges(DeploymentContext context) |
ParameterMap |
Deployment.prepareInstanceDeployParamMap(DeploymentContext dc) |
ModuleInfo |
Deployment.prepareModule(List<EngineInfo> sortedEngineInfos,
String moduleName,
DeploymentContext context,
ProgressTracker tracker) |
void |
Deployment.registerAppInDomainXML(ApplicationInfo applicationInfo,
DeploymentContext context,
org.jvnet.hk2.config.Transaction t) |
void |
Deployment.registerAppInDomainXML(ApplicationInfo applicationInfo,
DeploymentContext context,
org.jvnet.hk2.config.Transaction t,
boolean appRefOnly) |
List<EngineInfo> |
Deployment.setupContainerInfos(ArchiveHandler handler,
Collection<? extends Sniffer> sniffers,
DeploymentContext context) |
List<EngineInfo> |
Deployment.setupContainerInfos(DeploymentContext context) |
void |
GenericDeployer.unload(GenericApplicationContainer appContainer,
DeploymentContext context) |
void |
Verifier.verify(DeploymentContext context)
Called after a successful deployment prepare phase.
|
| Modifier and Type | Method and Description |
|---|---|
void |
JavaEEDeployer.clean(DeploymentContext context)
Clean any files and artifacts that were created during the execution
of the prepare method.
|
protected void |
JavaEEDeployer.generateArtifacts(DeploymentContext dc) |
protected String |
JavaEEDeployer.getModuleClassPath(DeploymentContext ctx)
Returns the classpath associated with this module
Can be used to compile generated cmp classes,
rmi stubs etc.
|
String |
DolProvider.getNameFor(ReadableArchive archive,
DeploymentContext context)
return the name for the given application
|
protected String |
JavaEEDeployer.getObjectType(DeploymentContext context) |
static boolean |
JavaEEDeploymentUtils.isJavaEE(ReadableArchive archive,
DeploymentContext context,
org.glassfish.hk2.api.ServiceLocator habitat)
check whether the archive is a JavaEE archive
|
Application |
DolProvider.load(DeploymentContext dc) |
U |
JavaEEDeployer.load(T container,
DeploymentContext context)
Loads a previously prepared application in its execution environment and
return a ContractProvider instance that will identify this environment in
future communications with the application's container runtime.
|
<V> V |
JavaEEDeployer.loadMetaData(Class<V> type,
DeploymentContext dc)
Loads the meta date associated with the application.
|
boolean |
JavaEEDeployer.prepare(DeploymentContext dc)
Prepares the application bits for running in the application server.
|
protected void |
DolProvider.saveAppDescriptor(Application application,
DeploymentContext context) |
| Modifier and Type | Method and Description |
|---|---|
void |
EarDeployer.clean(DeploymentContext context) |
void |
EarHandler.expand(ReadableArchive source,
WritableArchive target,
DeploymentContext context) |
protected void |
EarDeployer.generateArtifacts(DeploymentContext context) |
ClassLoader |
EarHandler.getClassLoader(ClassLoader parent,
DeploymentContext context) |
boolean |
EarSniffer.handles(DeploymentContext context)
Returns true if the passed file or directory is recognized by this
composite sniffer.
|
void |
EarHandler.initCompositeMetaData(DeploymentContext context) |
ApplicationContainer |
EarDeployer.load(Container container,
DeploymentContext context) |
Object |
EarDeployer.loadMetaData(Class type,
DeploymentContext context) |
boolean |
EarDeployer.prepare(DeploymentContext context) |
protected void |
EarHandler.processEEPermissions(DeploymentContext dc) |
void |
EarDeployer.unload(ApplicationContainer appContainer,
DeploymentContext context) |
| Modifier and Type | Method and Description |
|---|---|
static String |
ASClassLoaderUtil.getModuleClassPath(org.glassfish.hk2.api.ServiceLocator habitat,
DeploymentContext context) |
| Modifier and Type | Method and Description |
|---|---|
static DataSource |
PersistenceHelper.lookupNonTxResource(ConnectorRuntime connectorRuntime,
DeploymentContext ctx,
String dataSourceName) |
static DataSource |
PersistenceHelper.lookupPMResource(ConnectorRuntime connectorRuntime,
DeploymentContext ctx,
String dataSourceName) |
| Constructor and Description |
|---|
Java2DBProcessorHelper(DeploymentContext ctx)
Creates a new instance of Java2DBProcessorHelper.
|
| Modifier and Type | Method and Description |
|---|---|
Container |
EntityContainerFactory.createContainer(EjbDescriptor ejbDescriptor,
ClassLoader loader,
DeploymentContext deployContext) |
| Modifier and Type | Method and Description |
|---|---|
DeploymentContext |
ProviderContainerContractInfo.getDeploymentContext() |
DeploymentContext |
ServerProviderContainerContractInfo.getDeploymentContext() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
JPADeployer.cleanArtifacts(DeploymentContext dc) |
protected void |
JPADeployer.generateArtifacts(DeploymentContext dc) |
JPApplicationContainer |
JPADeployer.load(JPAContainer container,
DeploymentContext context) |
<V> V |
JPADeployer.loadMetaData(Class<V> type,
DeploymentContext context) |
boolean |
JPADeployer.prepare(DeploymentContext context)
EMFs for refered pus are created and stored in JPAApplication instance.
|
| Constructor and Description |
|---|
EmbeddedProviderContainerContractInfo(DeploymentContext deploymentContext,
ConnectorRuntime connectorRuntime,
boolean isDas) |
ProviderContainerContractInfoBase(ConnectorRuntime connectorRuntime,
DeploymentContext context) |
ServerProviderContainerContractInfo(DeploymentContext deploymentContext,
ConnectorRuntime connectorRuntime,
boolean isDas) |
| Modifier and Type | Method and Description |
|---|---|
void |
JPAStandardSchemaGenerationProcessor.init(PersistenceUnitDescriptor pud,
DeploymentContext deploymentContext) |
void |
EclipseLinkSchemaGenerationProcessor.init(PersistenceUnitDescriptor pud,
DeploymentContext context) |
void |
SchemaGenerationProcessor.init(PersistenceUnitDescriptor pud,
DeploymentContext deploymentContext)
initialize the processor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
JPACompositeSniffer.handles(DeploymentContext context)
Decides whether we have any pu roots at ear level
|
| Modifier and Type | Method and Description |
|---|---|
void |
ResourcesDeployer.createResources(DeploymentContext dc,
boolean embedded,
boolean deployResources) |
ResourcesApplication |
ResourcesDeployer.load(ResourcesContainer container,
DeploymentContext context)
Loads a previously prepared application in its execution environment and
return a ContractProvider instance that will identify this environment in
future communications with the application's container runtime.
|
void |
ResourcesDeployer.populateResourceConfigInAppInfo(DeploymentContext dc)
During "load()" event (eg: app/app-ref enable, server start),
populate resource-config in app-info so that it can be used for
constructing connector-classloader for the application.
|
void |
ResourcesDeployer.retainResourceConfig(DeploymentContext dc,
Map<String,Resources> allResources)
retain old resource configuration for the new archive being deployed.
|
void |
ResourcesDeployer.unload(ResourcesApplication appContainer,
DeploymentContext context) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
WebSniffer.handles(DeploymentContext context)
Returns true if the passed file or directory is recognized by this
sniffer.
|
| Modifier and Type | Method and Description |
|---|---|
void |
WebServicesDeployer.clean(DeploymentContext dc) |
protected void |
WebServicesDeployer.cleanArtifacts(DeploymentContext deploymentContext) |
WebServicesApplication |
WebServicesDeployer.load(WebServicesContainer container,
DeploymentContext context) |
Object |
WebServicesDeployer.loadMetaData(Class type,
DeploymentContext dc)
Loads the meta date associated with the application.
|
boolean |
WebServicesDeployer.prepare(DeploymentContext dc)
Prepares the application bits for running in the application server.
|
void |
JAXRPCCodeGenFacadeImpl.run(org.glassfish.hk2.api.ServiceLocator habitat,
DeploymentContext context,
String cp,
boolean processServiceReferences) |
protected void |
WebServicesDeployer.setupJaxWSServiceForDeployment(DeploymentContext dc,
WebService ws) |
void |
WebServicesDeployer.unload(WebServicesApplication container,
DeploymentContext context) |
| Constructor and Description |
|---|
WebServicesApplication(DeploymentContext context,
RequestDispatcher dispatcherString,
Set<String> publishedFiles) |
| Modifier and Type | Field and Description |
|---|---|
protected DeploymentContext |
JaxRpcRICodegen.context |
| Modifier and Type | Method and Description |
|---|---|
void |
Codegen.run(org.glassfish.hk2.api.ServiceLocator habitat,
DeploymentContext context,
String moduleClassPath)
perform the codegen with the context provided
|
void |
JaxRpcRICodegen.run(org.glassfish.hk2.api.ServiceLocator habitat,
DeploymentContext context,
String cp) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
MetroDeployer.cleanArtifacts(DeploymentContext dc) |
protected void |
MetroDeployer.generateArtifacts(DeploymentContext dc) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
WeldDeployer.cleanArtifacts(DeploymentContext dc) |
protected void |
WeldDeployer.generateArtifacts(DeploymentContext dc) |
WeldApplicationContainer |
WeldDeployer.load(WeldContainer container,
DeploymentContext context)
Processing in this method is performed for each module that is in the process of being
loaded by the container.
|
<V> V |
WeldDeployer.loadMetaData(Class<V> type,
DeploymentContext context) |
void |
DeploymentImpl.scanArchive(ReadableArchive archive,
Collection<EjbDescriptor> ejbs,
DeploymentContext context,
String moduleName)
Produce
BeanDeploymentArchives for this Deployment
from information from the provided ReadableArchive. |
| Constructor and Description |
|---|
BeanDeploymentArchiveImpl(ReadableArchive archive,
Collection<EjbDescriptor> ejbs,
DeploymentContext ctx)
Produce a
BeanDeploymentArchive form information contained
in the provided ReadableArchive. |
BeanDeploymentArchiveImpl(ReadableArchive archive,
Collection<EjbDescriptor> ejbs,
DeploymentContext ctx,
String bdaID) |
BeanDeploymentArchiveImpl(String id,
List<Class<?>> wClasses,
List<URL> beansXmlUrls,
Collection<EjbDescriptor> ejbs,
DeploymentContext ctx)
These are for empty BDAs that do not model Bean classes in the current
//deployment unit -- for example: BDAs for portable Extensions.
|
DeploymentImpl(ReadableArchive archive,
Collection<EjbDescriptor> ejbs,
DeploymentContext context,
ArchiveFactory archiveFactory,
String moduleName)
Produce
BeanDeploymentArchives for this Deployment
from information from the provided ReadableArchive. |
RootBeanDeploymentArchive(ReadableArchive archive,
Collection<EjbDescriptor> ejbs,
DeploymentContext deploymentContext) |
RootBeanDeploymentArchive(ReadableArchive archive,
Collection<EjbDescriptor> ejbs,
DeploymentContext deploymentContext,
String moduleBdaID) |
| Modifier and Type | Method and Description |
|---|---|
String[] |
WeldSniffer.getAnnotationNames(DeploymentContext context) |
static InputStream |
WeldUtils.getBeansXmlInputStream(DeploymentContext context) |
static Collection<String> |
WeldUtils.getCDIAnnotatedClassNames(DeploymentContext context)
Get the names of any classes that are annotated with bean-defining annotations, which should
enable CDI processing even in the absence of a beans.xml descriptor.
|
static String[] |
WeldUtils.getCDIEnablingAnnotations(DeploymentContext context)
Get the names of any annotation types that are applied to beans, which should enable CDI
processing even in the absence of a beans.xml descriptor.
|
boolean |
WeldSniffer.handles(DeploymentContext context)
Returns true if the archive contains beans.xml as defined by packaging rules of Weld
|
boolean |
WeldCompositeSniffer.handles(DeploymentContext context) |
static boolean |
WeldUtils.hasCDIEnablingAnnotations(DeploymentContext context,
Collection<URI> paths)
Determine whether there are any beans annotated with annotations that should enable CDI
processing even in the absence of a beans.xml descriptor.
|
static boolean |
WeldUtils.hasCDIEnablingAnnotations(DeploymentContext context,
URI path)
Determine whether there are any beans annotated with annotations that should enable CDI
processing even in the absence of a beans.xml descriptor.
|
protected boolean |
WeldSniffer.isArchiveCDIEnabled(DeploymentContext context,
ReadableArchive archive,
String relativeBeansXmlPath) |
static boolean |
WeldUtils.isCDIDevModeEnabled(DeploymentContext context) |
static boolean |
WeldUtils.isImplicitBeanArchive(DeploymentContext context,
ReadableArchive archive)
Determine whether the specified archive is an implicit bean deployment archive.
|
static boolean |
WeldUtils.isImplicitBeanArchive(DeploymentContext context,
URI archivePath)
Determine whether the specified archive is an implicit bean deployment archive.
|
static boolean |
WeldUtils.isImplicitBeanDiscoveryEnabled(DeploymentContext context) |
static void |
WeldUtils.setCDIDevMode(DeploymentContext context,
boolean enabled) |
Copyright © 2017. All rights reserved.