FileDocCategorySizeDatePackage
ManagedJavaMailResource.javaAPI DocGlassfish v2 API5284Fri May 04 22:33:56 BST 2007com.sun.enterprise.admin.server.core.mbean.config

ManagedJavaMailResource

public class ManagedJavaMailResource extends ConfigMBeanBase implements ConfigAttributeName.MailResource
Represents a JavaMail resource. ObjectName of this MBean is: ias:instance-name=, name=, component=mail-resource

Fields Summary
private static final String[]
MAPLIST
private static final String[]
ATTRIBUTES
private static final String[]
OPERATIONS
Constructors Summary
public ManagedJavaMailResource()
Default constructor sets MBean description tables


                     
       
    
        this.setDescriptions(MAPLIST, ATTRIBUTES, OPERATIONS);
    
public ManagedJavaMailResource(String instanceName, String jndiName)
Constructs Config MBean for java mail Resource.

param
instanceName The server instance name.
param
jndiName JNDI name associated with given resource

        this(); //set description tables
        initialize(ObjectNames.kMailResourceType, new String[]{instanceName, jndiName});
    
Methods Summary