org.eclipse.jst.j2ee.jca
Interface SecurityPermission

All Superinterfaces:
J2EEEObject

public interface SecurityPermission
extends J2EEEObject

Specifies a security permission that is required by the resource adapter code. The security permission listed in the deployment descriptor are ones that are different from those required by the default permission set as specified in the connector specification. The optional description can mention specific reason that resource adapter requires a given security permission.

Since:
1.0

Method Summary
 java.lang.String getDescription()
           
 EList getDescriptions()
          Returns the value of the 'Descriptions' containment reference list.
 java.lang.String getSpecification()
           
 void setDescription(java.lang.String value)
           
 void setSpecification(java.lang.String value)
           
 

Method Detail

getDescription

public java.lang.String getDescription()
Returns:
The value of the Description attribute

setDescription

public void setDescription(java.lang.String value)
Parameters:
value - The new value of the Description attribute

getSpecification

public java.lang.String getSpecification()
Returns:
The value of the Specification attribute The element permission-spec specifies a security permission based on the Security policy file syntax.

setSpecification

public void setSpecification(java.lang.String value)
Parameters:
value - The new value of the Specification attribute

getDescriptions

public EList getDescriptions()
Returns the value of the 'Descriptions' containment reference list. The list contents are of type Description.

If the meaning of the 'Descriptions' containment reference list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Descriptions' containment reference list.
See Also:
JcaPackage.getSecurityPermission_Descriptions()