com.sun.enterprise.deployment
Interface NamedDescriptor

All Known Implementing Classes:
DummyEjbDescriptor, EjbAbstractDescriptor, EjbCMPEntityDescriptor, EjbDescriptor, EjbEntityDescriptor, EjbMessageBeanDescriptor, EjbReferenceDescriptor, EjbSessionDescriptor, IASEjbCMPEntityDescriptor, JmsDestinationReferenceDescriptor, MessageDestinationDescriptor, ResourceReferenceDescriptor

public interface NamedDescriptor

Objects implementing this interface have a JNDI name property.

Author:
Danny Coward

Method Summary
 java.lang.String getJndiName()
          Returns the JNDI name property of the receiver.
 java.lang.String getName()
          The name of this descriptor.
 void setJndiName(java.lang.String jndiName)
          Sets the JNDI name property of the reciever as a String.
 

Method Detail

getName

java.lang.String getName()
The name of this descriptor.

Returns:
java.lang.String name

getJndiName

java.lang.String getJndiName()
Returns the JNDI name property of the receiver.

Returns:
java.lang.String JNDI name

setJndiName

void setJndiName(java.lang.String jndiName)
Sets the JNDI name property of the reciever as a String.

Parameters:
jndiName - the new JNDI name of the receiver.


Copyright © 2012 GlassFish Community. All Rights Reserved.