org.openmdx.compatibility.base.application.container
Class LightweightContainer_1

java.lang.Object
  extended by org.openmdx.compatibility.base.application.container.LightweightContainer_1
All Implemented Interfaces:
Manageable_1_0

Deprecated. in favour of LightweightContainer and its implementation classes.

public class LightweightContainer_1
extends Object
implements Manageable_1_0

A former implementation of a lightweight container.


Field Summary
static String CONNECTOR_DEPLOYMENT_UNITS
          Deprecated. Use this system property to define the connector deployment units to be deployed
protected  Path[] connectorDeploymentUnits
          Deprecated. The connector deployment units to be processed
static String NOT_AVAILABLE
          Deprecated. Indicator that some information is not available
static String PROVIDER_DEPLOYMENT_UNITS
          Deprecated. Use this system property to define the provider deployment units to be deployed
protected  DataproviderContainer_1 providerContainer
          Deprecated. The provider container
protected  Path[] providerDeploymentUnits
          Deprecated. The provider deployment units to be processed
static String SEPARATOR
          Deprecated. The deployment unit paths are separated by commas.
 
Constructor Summary
LightweightContainer_1()
          Deprecated. Allow dynamic class loading by passing the parameters as system property.
LightweightContainer_1(String id, Path[] connectorDeploymentUnits, Path[] providerDeploymentUnits)
          Deprecated. Pass parameter as arguments.
 
Method Summary
 void activate()
          Deprecated. The activate method initializes a layer or component.
 void deactivate()
          Deprecated. The deactivate method releases a layer or component.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

connectorDeploymentUnits

protected final Path[] connectorDeploymentUnits
Deprecated. 
The connector deployment units to be processed


providerDeploymentUnits

protected final Path[] providerDeploymentUnits
Deprecated. 
The provider deployment units to be processed


providerContainer

protected DataproviderContainer_1 providerContainer
Deprecated. 
The provider container


CONNECTOR_DEPLOYMENT_UNITS

public static final String CONNECTOR_DEPLOYMENT_UNITS
Deprecated. 
Use this system property to define the connector deployment units to be deployed

See Also:
Constant Field Values

PROVIDER_DEPLOYMENT_UNITS

public static final String PROVIDER_DEPLOYMENT_UNITS
Deprecated. 
Use this system property to define the provider deployment units to be deployed

See Also:
Constant Field Values

SEPARATOR

public static final String SEPARATOR
Deprecated. 
The deployment unit paths are separated by commas.

See Also:
Constant Field Values

NOT_AVAILABLE

public static final String NOT_AVAILABLE
Deprecated. 
Indicator that some information is not available

See Also:
Constant Field Values
Constructor Detail

LightweightContainer_1

public LightweightContainer_1(String id,
                              Path[] connectorDeploymentUnits,
                              Path[] providerDeploymentUnits)
                       throws ServiceException
Deprecated. 
Pass parameter as arguments.

This mthod allows the lightweight container's replacement during unit tests.

Throws:
ServiceException

LightweightContainer_1

public LightweightContainer_1()
                       throws ServiceException
Deprecated. 
Allow dynamic class loading by passing the parameters as system property.

Throws:
ServiceException
Method Detail

activate

public void activate()
              throws Exception
Deprecated. 
The activate method initializes a layer or component.

An activate() implementation of a subclass should be of the form:

   {
     super.activate();
     local activation code...
   }
 

Specified by:
activate in interface Manageable_1_0
Throws:
Exception - the application framwork maps all java Exceptions internally to standard ServiceExceptions.

deactivate

public void deactivate()
                throws Exception,
                       ServiceException
Deprecated. 
The deactivate method releases a layer or component.

A deactivate() implementation of a subclass should be of the form: of the form:

   {
     local deactivation code...
     super.deactivate();
   }
 

Specified by:
deactivate in interface Manageable_1_0
Throws:
Exception - the application framwork maps all java Exceptions internally to standard ServiceExceptions.
ServiceException


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