xdoclet.modules.ejb.lookup
Class LookupObjectSubTask
AbstractEjbCodeGeneratorSubTask
xdoclet.modules.ejb.lookup.LookupObjectSubTask
public class LookupObjectSubTask
extends AbstractEjbCodeGeneratorSubTask
- display-name = "Lookup Object"
name = "utilobject"
parent = "xdoclet.modules.ejb.EjbDocletTask"
protected void | engineStarted() - Describe what the method does
|
boolean | getCacheHomes() - Cache the homes?
|
protected String | getGeneratedFileName(XClass clazz) - Gets the GeneratedFileName attribute of the UtilObjectSubTask object
|
boolean | getIncludeGUID() - Include a performant GUID generator in the util object.
|
String | getKind() - Gets the Kind attribute of the UtilObjectSubTask object
|
boolean | getLocalProxies() - should local proxies be returned instead of home interfaces be returned for SLSBs?
|
String | getUtilClassPattern() - Returns the configuration parameter for specifying the utility class name pattern.
|
protected boolean | matchesGenerationRules(XClass clazz) - Describe what the method does
|
void | setCacheHomes(boolean cacheHomes) - Cache the homes?
|
void | setIncludeGUID(boolean includeGUID) - Include a performant GUID generator in the util object.
|
void | setKind(LookupObjectSubTask.LookupKind kind) - Sets the Kind attribute of the UtilObjectSubTask object
|
void | setLocalProxies(boolean localProxies) - Should local proxies be dynamically generated for Stateless session beans? (Typically used with Hibernate instead
of Entity Beans to develop outside the container.)
|
void | setPattern(String new_pattern) - Sets the Pattern attribute of the UtilObjectSubTask object
|
void | validateOptions() - Called to validate configuration parameters.
|
DEFAULT_UTIL_CLASS_PATTERN
public static final String DEFAULT_UTIL_CLASS_PATTERN
LookupObjectSubTask
public LookupObjectSubTask()
Describe what the UtilObjectSubTask constructor does
engineStarted
protected void engineStarted()
throws xdoclet.XDocletException
Describe what the method does
xdoclet.XDocletException
-
getCacheHomes
public boolean getCacheHomes()
Cache the homes?
getGeneratedFileName
protected String getGeneratedFileName(XClass clazz)
throws xdoclet.XDocletException
Gets the GeneratedFileName attribute of the UtilObjectSubTask object
clazz
- Describe what the parameter does
- The GeneratedFileName value
xdoclet.XDocletException
-
getIncludeGUID
public boolean getIncludeGUID()
Include a performant GUID generator in the util object.
getKind
public String getKind()
Gets the Kind attribute of the UtilObjectSubTask object
getLocalProxies
public boolean getLocalProxies()
should local proxies be returned instead of home interfaces be returned for SLSBs?
getUtilClassPattern
public String getUtilClassPattern()
Returns the configuration parameter for specifying the utility class name pattern. By default the value is used
for deciding the utility name. {0} in the value mean current class's symbolic name which for an EJBean is the EJB
name. If nothing explicitly specified by user then "{0}Util" is used by default.
- The UtilClassPattern value
matchesGenerationRules
protected boolean matchesGenerationRules(XClass clazz)
throws xdoclet.XDocletException
Describe what the method does
clazz
- Describe what the parameter does
- Describe the return value
xdoclet.XDocletException
-
setCacheHomes
public void setCacheHomes(boolean cacheHomes)
Cache the homes?
setIncludeGUID
public void setIncludeGUID(boolean includeGUID)
Include a performant GUID generator in the util object.
includeGUID
- include the GUID generator or not
setLocalProxies
public void setLocalProxies(boolean localProxies)
Should local proxies be dynamically generated for Stateless session beans? (Typically used with Hibernate instead
of Entity Beans to develop outside the container.)
setPattern
public void setPattern(String new_pattern)
Sets the Pattern attribute of the UtilObjectSubTask object
new_pattern
- The new Pattern value
validateOptions
public void validateOptions()
throws xdoclet.XDocletException
Called to validate configuration parameters.
xdoclet.XDocletException
-