|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openejb.webadmin.main.DeployerBean
public class DeployerBean
This is a stateful session bean which handles the action of deployment for the web administration.
DeployData
,
OQLData
,
ReferenceData
,
Serialized FormField Summary | |
---|---|
static java.lang.String |
ALL_FIELDS_REQUIRED_ERROR
|
Constructor Summary | |
---|---|
DeployerBean()
|
Method Summary | |
---|---|
java.lang.String |
createIdTable()
creates an HTML table with form fields for deployment information |
void |
ejbActivate()
|
void |
ejbCreate()
Creates a new instance of DeployerBean |
void |
ejbPassivate()
|
void |
ejbRemove()
|
void |
finishDeployment()
finishes the deployment by adding the deployment entry and saving the changes |
boolean[] |
getBooleanValues()
gets the boolean values for options |
DeployData[] |
getDeployDataArray()
gets the array of deploy data objects |
java.lang.String |
getDeploymentHTML()
gets the HTML for this deployment |
java.lang.String |
getJarFile()
gets the jar file |
void |
setBooleanValues(boolean[] booleanValues)
sets the boolean values for options |
void |
setDeployAndContainerIds(DeployData[] deployDataArray)
This method takes care of setting the deploy information onto the deployment and creating the HTML for the second page of the deployment |
void |
setJarFile(java.lang.String jar)
sets the jar file |
void |
setSessionContext(javax.ejb.SessionContext sessionContext)
|
void |
startDeployment()
starts the deployment process by getting information from the jar, getting a list of beans and other init functions |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String ALL_FIELDS_REQUIRED_ERROR
Constructor Detail |
---|
public DeployerBean()
Method Detail |
---|
public void ejbCreate() throws javax.ejb.CreateException
javax.ejb.CreateException
- if this bean cannot be createdpublic void setBooleanValues(boolean[] booleanValues)
booleanValues
- the array of boolean valuespublic boolean[] getBooleanValues()
public void setJarFile(java.lang.String jar)
jar
- the location of the jar filepublic java.lang.String getJarFile()
public java.lang.String getDeploymentHTML()
public DeployData[] getDeployDataArray()
public void startDeployment() throws org.openejb.OpenEJBException
org.openejb.OpenEJBException
- if something goes wrongpublic void setDeployAndContainerIds(DeployData[] deployDataArray) throws org.openejb.OpenEJBException
deployDataArray
- the array of deployment data
org.openejb.OpenEJBException
public void finishDeployment() throws org.openejb.OpenEJBException
org.openejb.OpenEJBException
- if something goes wrongpublic java.lang.String createIdTable() throws org.openejb.OpenEJBException
org.openejb.OpenEJBException
- when something goes wrongpublic void ejbActivate()
ejbActivate
in interface javax.ejb.SessionBean
public void ejbPassivate()
ejbPassivate
in interface javax.ejb.SessionBean
public void ejbRemove()
ejbRemove
in interface javax.ejb.SessionBean
public void setSessionContext(javax.ejb.SessionContext sessionContext)
setSessionContext
in interface javax.ejb.SessionBean
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |