SmartFrog 3.10.000

org.smartfrog.services.management
Class DeployMgnt

java.lang.Object
  extended by org.smartfrog.services.management.DeployMgnt

public class DeployMgnt
extends java.lang.Object

Class used for deploy management. Proxy for management operations in Prim SmartFrog components.


Method Summary
static void addAttribute(java.lang.Object obj, java.lang.Object attribName, java.lang.Object attribValue)
          Adds an attribute (name value pair)
static void detach(Prim obj)
          Detaches the SF Component
static void dTerminate(Prim obj, java.lang.String type, java.lang.String reason)
          Detaches and terminates the SF Component
static void modifyAttribute(java.lang.Object obj, java.lang.Object attribName, java.lang.Object attribValue)
          Modifies any attribute with new value
static void removeAttribute(java.lang.Object obj, java.lang.Object attribName)
          Removes an attribute
static void terminate(Prim obj, java.lang.String type, java.lang.String reason)
          Terminates the SF Component
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

addAttribute

public static void addAttribute(java.lang.Object obj,
                                java.lang.Object attribName,
                                java.lang.Object attribValue)
                         throws java.lang.Exception
Adds an attribute (name value pair)

Parameters:
obj - SF Component
attribName - Name of the attribute
attribValue - Value of the attribute
Throws:
java.lang.Exception - If any error

removeAttribute

public static void removeAttribute(java.lang.Object obj,
                                   java.lang.Object attribName)
                            throws java.lang.Exception
Removes an attribute

Parameters:
obj - SF Component
attribName - Name of the attribute
Throws:
java.lang.Exception - If any error

modifyAttribute

public static void modifyAttribute(java.lang.Object obj,
                                   java.lang.Object attribName,
                                   java.lang.Object attribValue)
                            throws java.lang.Exception
Modifies any attribute with new value

Parameters:
obj - SF Component
attribName - Name of the attribute
attribValue - Value of the attribute
Throws:
java.lang.Exception - If any error

terminate

public static void terminate(Prim obj,
                             java.lang.String type,
                             java.lang.String reason)
                      throws java.lang.Exception
Terminates the SF Component

Parameters:
obj - Reference to SF Component
type - error type
reason - cause
Throws:
java.lang.Exception

dTerminate

public static void dTerminate(Prim obj,
                              java.lang.String type,
                              java.lang.String reason)
                       throws java.lang.Exception
Detaches and terminates the SF Component

Parameters:
obj - Reference to SF Component
type - error type
reason - cause
Throws:
java.lang.Exception

detach

public static void detach(Prim obj)
                   throws java.lang.Exception
Detaches the SF Component

Parameters:
obj - Reference to SF Component
Throws:
java.lang.Exception

SmartFrog CORE 3.10.000

(C) Copyright 1998-2006 Hewlett-Packard Development Company, LP