de.jw.cloud42.webapp
Class BundlingManager

java.lang.Object
  extended by de.jw.cloud42.webapp.BundlingManager

@Name(value="bundlingManager")
@Scope(value=SESSION)
@Synchronized(timeout=1000000000L)
public class BundlingManager
extends java.lang.Object

Seam component, handles bundling new AMIs and holds corresponding properties.

Author:
fbitzer

Constructor Summary
BundlingManager()
           
 
Method Summary
 void bundle(java.lang.String dnsName, java.lang.String keyName)
          Starts bundling a new AMI.
 boolean bundlingInProgress(java.lang.String dnsName)
          Checks if bundling is in progress for a particular instance.
 void fileUploadListener(org.richfaces.event.UploadEvent e)
          fileUploadListener function for RichFaces fileupload component.
 void fileUploadListenerPK(org.richfaces.event.UploadEvent e)
          fileUploadListener function for RichFaces fileupload component.
 java.lang.String getBucket()
           
 byte[] getCertFile()
           
 java.lang.String getImageName()
           
 java.lang.String getMessageInfo()
           
 java.lang.String getMessageText()
           
 java.lang.String getMessageTopic()
           
 byte[] getPkFile()
           
 boolean isDoNotify()
           
 boolean isUse64Bit()
           
 void resetBundlingDialog()
          Resets the dialog by resetting the member variables.
 void setBucket(java.lang.String bucket)
           
 void setCertFile(byte[] certFile)
           
 void setDoNotify(boolean doNotify)
           
 void setImageName(java.lang.String imageName)
           
 void setMessageInfo(java.lang.String messageInfo)
           
 void setMessageText(java.lang.String messageText)
           
 void setMessageTopic(java.lang.String messageTopic)
           
 void setPkFile(byte[] pkFile)
           
 void setUse64Bit(boolean use64Bit)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BundlingManager

public BundlingManager()
Method Detail

bundle

public void bundle(java.lang.String dnsName,
                   java.lang.String keyName)
Starts bundling a new AMI.

Parameters:
dnsName -
keyName -

bundlingInProgress

public boolean bundlingInProgress(java.lang.String dnsName)
Checks if bundling is in progress for a particular instance.

Parameters:
dnsName - Hostname of the instance to check
Returns:

resetBundlingDialog

public void resetBundlingDialog()
Resets the dialog by resetting the member variables.


fileUploadListener

public void fileUploadListener(org.richfaces.event.UploadEvent e)
fileUploadListener function for RichFaces fileupload component. Reads the content of the uploaded file into a byte array and stores it in the certFile property.

Parameters:
e -

fileUploadListenerPK

public void fileUploadListenerPK(org.richfaces.event.UploadEvent e)
fileUploadListener function for RichFaces fileupload component. Reads the content of the uploaded file into a byte array and stores it in the pkFile property.

Parameters:
e -

getBucket

public java.lang.String getBucket()
Returns:
the bucket

setBucket

public void setBucket(java.lang.String bucket)
Parameters:
bucket - the bucket to set

getImageName

public java.lang.String getImageName()
Returns:
the imageName

setImageName

public void setImageName(java.lang.String imageName)
Parameters:
imageName - the imageName to set

isUse64Bit

public boolean isUse64Bit()
Returns:
the use64Bit

setUse64Bit

public void setUse64Bit(boolean use64Bit)
Parameters:
use64Bit - the use64Bit to set

isDoNotify

public boolean isDoNotify()
Returns:
the doNotify

setDoNotify

public void setDoNotify(boolean doNotify)
Parameters:
doNotify - the doNotify to set

getMessageTopic

public java.lang.String getMessageTopic()
Returns:
the messageTopic

setMessageTopic

public void setMessageTopic(java.lang.String messageTopic)
Parameters:
messageTopic - the messageTopic to set

getMessageText

public java.lang.String getMessageText()
Returns:
the messageText

setMessageText

public void setMessageText(java.lang.String messageText)
Parameters:
messageText - the messageText to set

getMessageInfo

public java.lang.String getMessageInfo()
Returns:
the messageInfo

setMessageInfo

public void setMessageInfo(java.lang.String messageInfo)
Parameters:
messageInfo - the messageInfo to set

getCertFile

public byte[] getCertFile()
Returns:
the certFile

setCertFile

public void setCertFile(byte[] certFile)
Parameters:
certFile - the certFile to set

getPkFile

public byte[] getPkFile()
Returns:
the pkFile

setPkFile

public void setPkFile(byte[] pkFile)
Parameters:
pkFile - the pkFile to set


Copyright © 2010 just works! Software. All Rights Reserved.