ProtocolProvider


This type is a class for model objects.

Also known as JavaMail service providers. A protocol provider is a concrete implementation for a particular mail protocol, such as SMTP, POP3, and IMAP.

Package: mail

Classifier ID:  -1
Instance class name:  * Unspecified *
Instance class:  * Unspecified *

Reference attributes having this type:
  MailSession.mailStoreProtocol
  MailSession.mailTransportProtocol

Collection attributes having this type:
  MailProvider.protocolProviders



Attributes Summary
protocol : EString The name of the protocol that is implemented by this protocol provider.
classname : EString The class name of the protocol provider. The class must be available on the classpath of the mail provider.
classpath : EString The classpath to the jar(s) which contain the implementation classes for this protocol provider. If more than one jar file provides the implementation for a protocol provider, an entry for each required jar must be added. No classpath separator information should be specified in a classpath entry.
type : ProtocolProviderKind The type of protocol provider. Either TRANSPORT or STORE.



Attribute Details

protocol  -  The name of the protocol that is implemented by this protocol provider.
    Data Type: EString
    Default value:  unspecified
    Required:  false
    Changeable:  true
    Unsettable:  false
    Many:  false
    Ordered:  true
    Lower bound:  0
    Upper bound:  1
    Unique:  true
    Derived:  false
    Transient:  false
    Volatile:  false

classname  -  The class name of the protocol provider. The class must be available on the classpath of the mail provider.
    Data Type: EString
    Default value:  unspecified
    Required:  false
    Changeable:  true
    Unsettable:  false
    Many:  false
    Ordered:  true
    Lower bound:  0
    Upper bound:  1
    Unique:  true
    Derived:  false
    Transient:  false
    Volatile:  false

classpath  -  The classpath to the jar(s) which contain the implementation classes for this protocol provider. If more than one jar file provides the implementation for a protocol provider, an entry for each required jar must be added. No classpath separator information should be specified in a classpath entry.
    Data Type: EString
    Default value:  unspecified
    Required:  false
    Changeable:  true
    Unsettable:  false
    Many:  true
    Ordered:  true
    Lower bound:  0
    Upper bound:  Unbounded
    Unique:  true
    Derived:  false
    Transient:  false
    Volatile:  false

type  -  The type of protocol provider. Either TRANSPORT or STORE.
    Data Type: ProtocolProviderKind
    Default value:  unspecified
    Allowed values:
        0 - STORE
        1 - TRANSPORT
    Required:  false
    Changeable:  true
    Unsettable:  true
    Many:  false
    Ordered:  true
    Lower bound:  0
    Upper bound:  1
    Unique:  true
    Derived:  false
    Transient:  false
    Volatile:  false



(C) COPYRIGHT International Business Machines Corp. 1996-2006