org.sape.carbon.services.ejb
Interface EnterpriseBeanConfiguration

All Superinterfaces:
Configuration

public interface EnterpriseBeanConfiguration
extends Configuration

This interface describes an Enterprise Java Bean (EJB) in terms of the properties required for its lookup via the EJB service's home factory facilities.

Copyright 2002 Sapient

Since:
carbon 1.0
Version:
$Revision: 1.8 $($Author: dvoet $ / $Date: 2003/05/05 21:21:27 $)
Author:
Erik M Gottesman, June 2002

Method Summary
 String getHomeInterface()
          Accessor method for retrieving the home interface class name of an EJB
 String getLogicalName()
          Accessor method for retrieving the logical (JNDI) name of an EJB
 boolean isCacheable()
          Accessor method for retrieving the cacheability of an EJB
 void setCacheable(boolean cacheable)
          Mutator method for specifying whether or not an EJB's home interface is cacheable.
 void setHomeInterface(String homeInterface)
          Mutator method for setting the home interface class name of an EJB
 void setLogicalName(String logicalName)
          Mutator method for setting the logical (JNDI) name of an EJB
 
Methods inherited from interface org.sape.carbon.core.config.Configuration
clone, getConfigurationInterface, getConfigurationName, getDataStructure, getRootElement, isConfigurationWritable, setConfigurationName, setConfigurationReadOnly
 

Method Detail

getLogicalName

public String getLogicalName()

Accessor method for retrieving the logical (JNDI) name of an EJB

Returns:
String The logical name of the EJB

setLogicalName

public void setLogicalName(String logicalName)

Mutator method for setting the logical (JNDI) name of an EJB

Parameters:
logicalName - String representation of the EJB's logical name

isCacheable

public boolean isCacheable()

Accessor method for retrieving the cacheability of an EJB

Returns:
boolean Indication of whether or not the EJB's home interface is cacheable

setCacheable

public void setCacheable(boolean cacheable)

Mutator method for specifying whether or not an EJB's home interface is cacheable.

Parameters:
cacheable - determines if the reference to home interface should be cached for furture use

getHomeInterface

public String getHomeInterface()

Accessor method for retrieving the home interface class name of an EJB

Returns:
String The home interface class name of the EJB

setHomeInterface

public void setHomeInterface(String homeInterface)

Mutator method for setting the home interface class name of an EJB

Parameters:
homeInterface - String representation of the EJB's home interface class nname


Copyright 1999-2003 Sapient Corporation. All Rights Reserved.