xdoclet.modules.ejb.entity

Class FacadeTagsHandler

public class FacadeTagsHandler extends EntityTagsHandler

Version: $Revision: 1.3 $

Author: Konstantin Pribluda (kpriblouda@yahoo.com)

UNKNOWN: September 8, 2002 namespace = "EjbFacade"

Method Summary
StringbeanPermission()
generate permission spec - inherit from bean
StringbeanRef()
generate bean reference
booleancanUseLocal()
StringentityFacadeClass()
produce class name for ejb facade
StringfacadeEjbName()
prodice facade ejb name.
static StringgetEntityFacadeClassFor(XClass clazz)
protected static StringgetEntityFacadeClassPattern()
protected static StringgetEntityFacadeEjbNamePattern()
Gets the EntityFacadeEjbNamePattern attribute of the FacadeTagsHandler class
StringgetFacadeEjbNameFor(XClass clazz)
static StringgetRemoteFacadeClassFor(XClass clazz)
protected static StringgetRemoteFacadeClassPattern()
Gets the EntityFacadeClassPattern attribute of the CmpTagsHandler class
voidifUseLocalInterface(String template, Properties attributes)
decide whether we have to use local interface of the bean
voidifUseRemoteInterface(String template, Properties attributes)
decide whether we have to use remote interface of the bean
StringjndiName()
jndi name if any or default
StringlocalJndiName()
local jndi name if any
StringremoteFacadeClass()
StringsessionType()
provide session type
StringviewType()
provide view type for facade bean - inherit from class if not specified

Method Detail

beanPermission

public String beanPermission()
generate permission spec - inherit from bean

Returns:

Throws: XDocletException

UNKNOWN: type = "content"

beanRef

public String beanRef()
generate bean reference

Returns:

Throws: XDocletException

UNKNOWN: type = "content"

canUseLocal

public boolean canUseLocal()

entityFacadeClass

public String entityFacadeClass()
produce class name for ejb facade

Returns:

Throws: XDocletException

UNKNOWN: type = "content"

facadeEjbName

public String facadeEjbName()
prodice facade ejb name. Default would be

Returns:

Throws: XDocletException

UNKNOWN: type = "content"

getEntityFacadeClassFor

public static String getEntityFacadeClassFor(XClass clazz)

getEntityFacadeClassPattern

protected static String getEntityFacadeClassPattern()

getEntityFacadeEjbNamePattern

protected static String getEntityFacadeEjbNamePattern()
Gets the EntityFacadeEjbNamePattern attribute of the FacadeTagsHandler class

Returns: The EntityFacadeEjbNamePattern value

getFacadeEjbNameFor

public String getFacadeEjbNameFor(XClass clazz)

getRemoteFacadeClassFor

public static String getRemoteFacadeClassFor(XClass clazz)

getRemoteFacadeClassPattern

protected static String getRemoteFacadeClassPattern()
Gets the EntityFacadeClassPattern attribute of the CmpTagsHandler class

Returns: The EntityFacadeClassPattern value

ifUseLocalInterface

public void ifUseLocalInterface(String template, Properties attributes)
decide whether we have to use local interface of the bean

Parameters: template attributes

Throws: XDocletException

UNKNOWN: type = "block"

ifUseRemoteInterface

public void ifUseRemoteInterface(String template, Properties attributes)
decide whether we have to use remote interface of the bean

Parameters: template attributes

Throws: XDocletException

UNKNOWN: type = "block"

jndiName

public String jndiName()
jndi name if any or default

Returns:

Throws: XDocletException

UNKNOWN: type = "content"

localJndiName

public String localJndiName()
local jndi name if any

Returns:

Throws: XDocletException

UNKNOWN: type = "content"

remoteFacadeClass

public String remoteFacadeClass()

Returns:

Throws: XDocletException

UNKNOWN: type = "content"

sessionType

public String sessionType()
provide session type

Returns:

Throws: XDocletException

UNKNOWN: type = "content"

viewType

public String viewType()
provide view type for facade bean - inherit from class if not specified

Returns:

Throws: XDocletException

UNKNOWN: type = "content"