org.openmdx.base.application.deploy
Class InProcessDeployment

java.lang.Object
  extended by org.openmdx.base.application.deploy.InProcessDeployment
All Implemented Interfaces:
Deployment

public class InProcessDeployment
extends Object
implements Deployment

In-Process Deployment


Constructor Summary
InProcessDeployment(String[] connectors, String[] applications, PrintStream detailLog, PrintStream exceptionLog)
          Constructor
InProcessDeployment(String connector, String application, PrintStream detailLog, PrintStream exceptionLog)
          Constructor
InProcessDeployment(URL[] connectors, URL[] applications, PrintStream logWriter, PrintStream exceptionLog)
          Constructor
 
Method Summary
 Context context()
          Create a new initial context referring to this deployment
 void destroy()
          Tells that the deployment is no longer used.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InProcessDeployment

public InProcessDeployment(String connector,
                           String application,
                           PrintStream detailLog,
                           PrintStream exceptionLog)
Constructor

Parameters:
connector -
application -
detailLog -
exceptionLog -

InProcessDeployment

public InProcessDeployment(String[] connectors,
                           String[] applications,
                           PrintStream detailLog,
                           PrintStream exceptionLog)
Constructor

Parameters:
connectors -
applications -
detailLog -
exceptionLog -

InProcessDeployment

public InProcessDeployment(URL[] connectors,
                           URL[] applications,
                           PrintStream logWriter,
                           PrintStream exceptionLog)
Constructor

Parameters:
connectors -
applications -
logWriter -
exceptionLog -
Method Detail

context

public Context context()
                throws ServiceException
Description copied from interface: Deployment
Create a new initial context referring to this deployment

Specified by:
context in interface Deployment
Returns:
this deployment's initial context; or null if deployment was successfull but not registered with a naming service
Throws:
ServiceException - in case of failure

destroy

public void destroy()
Description copied from interface: Deployment
Tells that the deployment is no longer used. An implementation may

Specified by:
destroy in interface Deployment


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