org.objectweb.jonas_lib.deployment.api.EnvEntryDesc Class Reference

List of all members.

Public Member Functions

 EnvEntryDesc (EnvEntry env) throws DeploymentDescException
String getName ()
Class getType ()
boolean hasValue ()
Object getValue ()
String toString ()

Detailed Description

This class represents the description of an EnvEntry object
Author:
Christophe Ney

Florent Benoit

Definition at line 36 of file EnvEntryDesc.java.


Constructor & Destructor Documentation

org.objectweb.jonas_lib.deployment.api.EnvEntryDesc.EnvEntryDesc EnvEntry  env  )  throws DeploymentDescException
 

Construct a descriptor for an env-entry tag.

Parameters:
env the env-entry resulting of the xml parsing.
Exceptions:
DeploymentDescException when missing information for creating the EnvEntryDesc.

Definition at line 59 of file EnvEntryDesc.java.


Member Function Documentation

String org.objectweb.jonas_lib.deployment.api.EnvEntryDesc.getName  ) 
 

Get the name of the environemt entry.

Returns:
Name for environment entry

Definition at line 132 of file EnvEntryDesc.java.

Referenced by org.objectweb.jonas_ejb.deployment.api.BeanDesc.BeanDesc(), and org.objectweb.jonas_ejb.container.JContainer.setBeanEnvironment().

Class org.objectweb.jonas_lib.deployment.api.EnvEntryDesc.getType  ) 
 

Get the fully-qualified Java type of the environemt entry. Type is needed since value is optional The possibles values are: java.lang.Boolean java.lang.Character java.lang.String java.lang.Integer java.lang.Double java.lang.Byte java.lang.Short java.lang.Long java.lang.Float

Returns:
Class the fully-qualified Java type of the environemt entry.

Definition at line 151 of file EnvEntryDesc.java.

Object org.objectweb.jonas_lib.deployment.api.EnvEntryDesc.getValue  ) 
 

Get the value of the environment entry.

Returns:
value for the environment entry (must be set)

Definition at line 167 of file EnvEntryDesc.java.

Referenced by org.objectweb.jonas_ejb.deployment.api.BeanDesc.BeanDesc(), and org.objectweb.jonas_ejb.container.JContainer.setBeanEnvironment().

boolean org.objectweb.jonas_lib.deployment.api.EnvEntryDesc.hasValue  ) 
 

Assessor for existence of value for the descriptor

Returns:
true if a value is available

Definition at line 159 of file EnvEntryDesc.java.

Referenced by org.objectweb.jonas_ejb.deployment.api.BeanDesc.BeanDesc().

String org.objectweb.jonas_lib.deployment.api.EnvEntryDesc.toString  ) 
 

String representation of the object for test purpose

Returns:
String representation of this object

Definition at line 178 of file EnvEntryDesc.java.

Referenced by org.objectweb.jonas_ejb.deployment.api.BeanDesc.BeanDesc().


The documentation for this class was generated from the following file:
Generated on Tue Feb 15 15:12:13 2005 for JOnAS by  doxygen 1.3.9.1