org.ow2.jonas.cmi.internal
Class CmiServiceHelper

java.lang.Object
  extended by org.ow2.jonas.cmi.internal.CmiServiceHelper

public final class CmiServiceHelper
extends java.lang.Object

Cmi service helper.

Author:
eyindanga

Field Summary
static java.lang.String CMI_CONFIGURATION_FILE_NAME
          The cmi configuration file.
 
Method Summary
static java.lang.String sendBundle(org.ow2.cmi.controller.server.ServerClusterViewManager clusterViewManager, BundleContent bundle)
          Sends bundle content to the server-side manager.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CMI_CONFIGURATION_FILE_NAME

public static final java.lang.String CMI_CONFIGURATION_FILE_NAME
The cmi configuration file.

See Also:
Constant Field Values
Method Detail

sendBundle

public static java.lang.String sendBundle(org.ow2.cmi.controller.server.ServerClusterViewManager clusterViewManager,
                                          BundleContent bundle)
                                   throws java.io.FileNotFoundException
Sends bundle content to the server-side manager.

Parameters:
clusterViewManager - the server-side manager
bundle - the bundle to send.
Returns:
Archive Id
Throws:
java.io.FileNotFoundException - bundle does'nt exist


Copyright © 2010 OW2 Consortium. All Rights Reserved.