org.openmdx.kernel.application.deploy.spi
Interface Deployment.ApplicationClient

All Superinterfaces:
Configuration, Deployment.Module
All Known Implementing Classes:
ApplicationClientDecorator, ApplicationClientDeploymentDescriptor
Enclosing interface:
Deployment

public static interface Deployment.ApplicationClient
extends Deployment.Module

A Java 2 Enterprise Application Client


Method Summary
 void deploy(Context containerContext, Reference reference)
          This method deploys the resource adapter
 String getCallbackHandler()
          Retrieve the callback handler class name
 String getMainClass()
          Retrieve the main class defined in the META-INF/Manifest.mf file.
 void populate(Context applicationClientContext, Map applicationClientEnvironment)
          This method populates the contexts.
 
Methods inherited from interface org.openmdx.kernel.application.deploy.spi.Deployment.Module
getApplicationClassPath, getComponents, getDisplayName, getModuleClassPath, getModuleURI
 
Methods inherited from interface org.openmdx.kernel.application.configuration.Configuration
validate, verify
 

Method Detail

getCallbackHandler

String getCallbackHandler()
Retrieve the callback handler class name

Returns:
callback handler class

getMainClass

String getMainClass()
Retrieve the main class defined in the META-INF/Manifest.mf file.

Returns:
main class

populate

void populate(Context applicationClientContext,
              Map applicationClientEnvironment)
              throws NamingException
This method populates the contexts.

Parameters:
applicationClientContext -
applicationClientEnvironment -
Throws:
NamingException

deploy

void deploy(Context containerContext,
            Reference reference)
            throws NamingException
This method deploys the resource adapter

Parameters:
containerContext - components are registered in the containerContext in order to be referenced by other components. It's URL for LinkRef's is "openmdx:container".
reference - Reference to the application clients provileged action wrapping its main method invocation
Throws:
NamingException


This software is published under the BSD license. Copyright © 2003-2007, OMEX AG, Switzerland, All rights reserved. Use is subject to license terms.