it.imolinfo.jbi4corba.jbi.component.runtime
Class DefaultServiceUnitManager

java.lang.Object
  extended by it.imolinfo.jbi4corba.jbi.component.runtime.DefaultServiceUnitManager
All Implemented Interfaces:
javax.jbi.component.ServiceUnitManager
Direct Known Subclasses:
Jbi4CorbaSUManager

public abstract class DefaultServiceUnitManager
extends Object
implements javax.jbi.component.ServiceUnitManager

Default Service Unit Manager implementation. Component's supporting the deployment should extend this class to support the service unit deployment.

Author:
Marco Piraccini
See Also:
javax.jbi.ServiceUnitManager

Constructor Summary
DefaultServiceUnitManager(ComponentRuntime ctx)
          constructor that takes the compoent runtime
 
Method Summary
protected  String createComponentTaskResultXML(String message, boolean isSuccess)
          Helper method to create result message in management message xml.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.jbi.component.ServiceUnitManager
deploy, init, shutDown, start, stop, undeploy
 

Constructor Detail

DefaultServiceUnitManager

public DefaultServiceUnitManager(ComponentRuntime ctx)
constructor that takes the compoent runtime

Method Detail

createComponentTaskResultXML

protected String createComponentTaskResultXML(String message,
                                              boolean isSuccess)
Helper method to create result message in management message xml.

Parameters:
message - message string to return
isSuccess - true to format a sucess result, false to format a failed result.
Returns:
XML string.


Copyright © 2005-2010 Imola Informatica. All Rights Reserved.