com.bowstreet.builders.webapp.api
Class EJBCall

java.lang.Object
  extended by com.bowstreet.builders.BaseBuilderAPI
      extended by com.bowstreet.builders.webapp.api.EJBCall

public class EJBCall
extends com.bowstreet.builders.BaseBuilderAPI

Creates a link to an EJB, giving access to the methods associated with the bean's home and remote interfaces.
Note: this is a builder API wrapper class, intended to be called by the regen logic of a builder. It can be used to programmatically add a call to the EJBCall builder to a model.


Nested Class Summary
static interface EJBCall.BuilderStaticValues
          Constant values imported from the builder definition file.
 
Constructor Summary
EJBCall(BuilderCall parent, GenContext gc)
           
 
Method Summary
 java.lang.String getAvailableEJBs()
          Choose an EJB from the available ones
 boolean getCacheHome()
          Should EJB Home Interface be cached
 java.lang.String getConstructor()
          The generated EJB Constructor method appears here.
 java.lang.String getConstructorSource()
          Choose "Create" to supply inputs to generate the constructor method or "Specify" to point to an existing method.
 IXml getCreateArgs()
          Specify arguments to the create method
 java.lang.String getCreateMethod()
          Specify the create method
 java.lang.String getEJBName()
          EJB Name as specified in ejb-jar.xml
 java.lang.String getejbType()
          ejbType
 java.lang.String getFinderMethod()
          Specify the finder method
 IXml getFinderMethodArgs()
          Specify arguments to the finder method
 java.lang.String getHomeClassName()
          Fully-qualified Home Interface Name
 java.lang.String getimports()
          imports
 java.lang.String getInitialContextFactory()
          InitialContextFactory
 java.lang.String getInstantiateMethod()
          Select the action that will create the EJB Remote Interface
 java.lang.String getJndiContextFactory()
          Context Factory class associated with a remote JNDI server
 java.lang.String getJNDIName()
          EJB JNDI Name
 java.lang.String getJndiSecurityCredentials()
          Specifies the password of the user for authentication to the remote JNDI server
 java.lang.String getJndiSecurityPrincipal()
          Specifies the identity of the user for authentication to the remote JNDI server
 java.lang.String getJndiUrl()
          URL of the remote JNDI server
 java.lang.String getName()
          Specify name of this builder call (required and must contain only alphanumeric characters and underscores)
 java.lang.String getRemoteClassName()
          Fully-qualified Remote Interface Name
 java.lang.String getreturnType()
          returnType
 void initializeBuilderInputs()
           
 void setAvailableEJBs(java.lang.String value)
          Choose an EJB from the available ones
 void setCacheHome(boolean value)
          Should EJB Home Interface be cached
 void setConstructor(java.lang.String value)
          The generated EJB Constructor method appears here.
 void setConstructorSource(java.lang.String value)
          Choose "Create" to supply inputs to generate the constructor method or "Specify" to point to an existing method.
 void setCreateArgs(IXml value)
          Specify arguments to the create method
 void setCreateMethod(java.lang.String value)
          Specify the create method
 void setEJBName(java.lang.String value)
          EJB Name as specified in ejb-jar.xml
 void setejbType(java.lang.String value)
          ejbType
 void setFinderMethod(java.lang.String value)
          Specify the finder method
 void setFinderMethodArgs(IXml value)
          Specify arguments to the finder method
 void setHomeClassName(java.lang.String value)
          Fully-qualified Home Interface Name
 void setimports(java.lang.String value)
          imports
 void setInitialContextFactory(java.lang.String value)
          InitialContextFactory
 void setInstantiateMethod(java.lang.String value)
          Select the action that will create the EJB Remote Interface
 void setJndiContextFactory(java.lang.String value)
          Context Factory class associated with a remote JNDI server
 void setJNDIName(java.lang.String value)
          EJB JNDI Name
 void setJndiSecurityCredentials(java.lang.String value)
          Specifies the password of the user for authentication to the remote JNDI server
 void setJndiSecurityPrincipal(java.lang.String value)
          Specifies the identity of the user for authentication to the remote JNDI server
 void setJndiUrl(java.lang.String value)
          URL of the remote JNDI server
 void setName(java.lang.String value)
          Specify name of this builder call (required and must contain only alphanumeric characters and underscores)
 void setRemoteClassName(java.lang.String value)
          Fully-qualified Remote Interface Name
 void setreturnType(java.lang.String value)
          returnType
 
Methods inherited from class com.bowstreet.builders.BaseBuilderAPI
getBuilderCall, getBuilderInputs, invokeBuilder, invokeBuilderBC, setBuilderInputs
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EJBCall

public EJBCall(BuilderCall parent,
               GenContext gc)
Method Detail

getAvailableEJBs

public java.lang.String getAvailableEJBs()
Choose an EJB from the available ones


getCacheHome

public boolean getCacheHome()
Should EJB Home Interface be cached


getConstructor

public java.lang.String getConstructor()
The generated EJB Constructor method appears here. It may be edited, but subsequent generation will clear such edits.


getConstructorSource

public java.lang.String getConstructorSource()
Choose "Create" to supply inputs to generate the constructor method or "Specify" to point to an existing method.
Legal values: Create (Create), Specify (Specify)


getCreateArgs

public IXml getCreateArgs()
Specify arguments to the create method


getCreateMethod

public java.lang.String getCreateMethod()
Specify the create method


getEJBName

public java.lang.String getEJBName()
EJB Name as specified in ejb-jar.xml


getejbType

public java.lang.String getejbType()
ejbType


getFinderMethod

public java.lang.String getFinderMethod()
Specify the finder method


getFinderMethodArgs

public IXml getFinderMethodArgs()
Specify arguments to the finder method


getHomeClassName

public java.lang.String getHomeClassName()
Fully-qualified Home Interface Name


getimports

public java.lang.String getimports()
imports


getInitialContextFactory

public java.lang.String getInitialContextFactory()
InitialContextFactory


getInstantiateMethod

public java.lang.String getInstantiateMethod()
Select the action that will create the EJB Remote Interface


getJndiContextFactory

public java.lang.String getJndiContextFactory()
Context Factory class associated with a remote JNDI server


getJNDIName

public java.lang.String getJNDIName()
EJB JNDI Name


getJndiSecurityCredentials

public java.lang.String getJndiSecurityCredentials()
Specifies the password of the user for authentication to the remote JNDI server


getJndiSecurityPrincipal

public java.lang.String getJndiSecurityPrincipal()
Specifies the identity of the user for authentication to the remote JNDI server


getJndiUrl

public java.lang.String getJndiUrl()
URL of the remote JNDI server


getName

public java.lang.String getName()
Specify name of this builder call (required and must contain only alphanumeric characters and underscores)


getRemoteClassName

public java.lang.String getRemoteClassName()
Fully-qualified Remote Interface Name


getreturnType

public java.lang.String getreturnType()
returnType


initializeBuilderInputs

public void initializeBuilderInputs()
Overrides:
initializeBuilderInputs in class com.bowstreet.builders.BaseBuilderAPI

setAvailableEJBs

public void setAvailableEJBs(java.lang.String value)
Choose an EJB from the available ones


setCacheHome

public void setCacheHome(boolean value)
Should EJB Home Interface be cached


setConstructor

public void setConstructor(java.lang.String value)
The generated EJB Constructor method appears here. It may be edited, but subsequent generation will clear such edits.


setConstructorSource

public void setConstructorSource(java.lang.String value)
Choose "Create" to supply inputs to generate the constructor method or "Specify" to point to an existing method.
Legal values: Create (Create), Specify (Specify)


setCreateArgs

public void setCreateArgs(IXml value)
Specify arguments to the create method


setCreateMethod

public void setCreateMethod(java.lang.String value)
Specify the create method


setEJBName

public void setEJBName(java.lang.String value)
EJB Name as specified in ejb-jar.xml


setejbType

public void setejbType(java.lang.String value)
ejbType


setFinderMethod

public void setFinderMethod(java.lang.String value)
Specify the finder method


setFinderMethodArgs

public void setFinderMethodArgs(IXml value)
Specify arguments to the finder method


setHomeClassName

public void setHomeClassName(java.lang.String value)
Fully-qualified Home Interface Name


setimports

public void setimports(java.lang.String value)
imports


setInitialContextFactory

public void setInitialContextFactory(java.lang.String value)
InitialContextFactory


setInstantiateMethod

public void setInstantiateMethod(java.lang.String value)
Select the action that will create the EJB Remote Interface


setJndiContextFactory

public void setJndiContextFactory(java.lang.String value)
Context Factory class associated with a remote JNDI server


setJNDIName

public void setJNDIName(java.lang.String value)
EJB JNDI Name


setJndiSecurityCredentials

public void setJndiSecurityCredentials(java.lang.String value)
Specifies the password of the user for authentication to the remote JNDI server


setJndiSecurityPrincipal

public void setJndiSecurityPrincipal(java.lang.String value)
Specifies the identity of the user for authentication to the remote JNDI server


setJndiUrl

public void setJndiUrl(java.lang.String value)
URL of the remote JNDI server


setName

public void setName(java.lang.String value)
Specify name of this builder call (required and must contain only alphanumeric characters and underscores)


setRemoteClassName

public void setRemoteClassName(java.lang.String value)
Fully-qualified Remote Interface Name


setreturnType

public void setreturnType(java.lang.String value)
returnType



Copyright © 2009 IBM. All Rights Reserved.