FileDocCategorySizeDatePackage
WritableJndiNameEnvironment.javaAPI DocGlassfish v2 API6363Fri May 04 22:31:24 BST 2007com.sun.enterprise.deployment

WritableJndiNameEnvironment

public interface WritableJndiNameEnvironment implements JndiNameEnvironment
Objects implementing this interface allow their environment properties, ejb references and resource references to be written.
author
Danny Coward

Fields Summary
Constructors Summary
Methods Summary
public voidaddEjbReferenceDescriptor(com.sun.enterprise.deployment.types.EjbReference ejbReference)
Adds the specified ejb reference to the receiver.

param
ejbReference the EjbReferenceDescriptor to add.

public voidaddEntityManagerFactoryReferenceDescriptor(EntityManagerFactoryReferenceDescriptor reference)

public voidaddEntityManagerReferenceDescriptor(EntityManagerReferenceDescriptor reference)

public voidaddEnvironmentProperty(EnvironmentProperty environmentProperty)
Adds the specified environment property to the receiver.

param
environmentProperty the EnvironmentProperty to add.

public voidaddJmsDestinationReferenceDescriptor(JmsDestinationReferenceDescriptor jmsDestinationReference)
Adds the specified JMS destination reference to the receiver.

param
the JmsDestinationReferenceDescriptor to add.

public voidaddMessageDestinationReferenceDescriptor(MessageDestinationReferenceDescriptor msgDestRef)
Adds the specified message destination reference to the receiver.

param
the MessageDestinationReferenceDescriptor to add.

public voidaddPostConstructDescriptor(LifecycleCallbackDescriptor postConstructDesc)
Adds the specified post-construct descriptor to the receiver.

param
the post-construct LifecycleCallbackDescriptor to add.

public voidaddPreDestroyDescriptor(LifecycleCallbackDescriptor preDestroyDesc)
Adds the specified pre-destroy descriptor to the receiver.

param
the pre-destroy LifecycleCallbackDescriptor to add.

public voidaddResourceReferenceDescriptor(ResourceReferenceDescriptor resourceReference)
Adds the specified resource reference to the receiver.

param
resourceReference the ResourceReferenceDescriptor to add.

public voidaddServiceReferenceDescriptor(ServiceReferenceDescriptor serviceReference)
Adds the specified service reference to the receiver.

param
the ServiceReferenceDescriptor to add.

public voidremoveEjbReferenceDescriptor(com.sun.enterprise.deployment.types.EjbReference ejbReference)
Removes the specificed ejb reference from the receiver.

param
ejbReference the EjbReferenceDescriptor to remove.

public voidremoveEnvironmentProperty(EnvironmentProperty environmentProperty)
Removes the specified environment property from receiver.

param
environmentProperty the EnvironmentProperty to remove.

public voidremoveJmsDestinationReferenceDescriptor(JmsDestinationReferenceDescriptor jmsDestinationReference)
Removes the specified JMS destination reference from the receiver.

param
the JmsDestinationReferenceDescriptor to remove.

public voidremoveMessageDestinationReferenceDescriptor(MessageDestinationReferenceDescriptor msgDestRef)
Removes the specified message destination reference from the receiver.

param
ref MessageDestinationReferenceDescriptor to remove.

public voidremoveResourceReferenceDescriptor(ResourceReferenceDescriptor resourceReference)
Removes the specified resource reference from the receiver.

param
resourceReference the ResourceReferenceDescriptor to remove.

public voidremoveServiceReferenceDescriptor(ServiceReferenceDescriptor serviceReference)
Removes the specified service reference from the receiver.

param
the ServiceReferenceDescriptor to remove.