| |
|
| java.lang.Object org.apache.geronimo.mail.ProtocolGBean
All known Subclasses: org.apache.geronimo.mail.POP3StoreGBean, org.apache.geronimo.mail.SMTPTransportGBean, org.apache.geronimo.mail.SMTPSTransportGBean, org.apache.geronimo.mail.NNTPStoreGBean, org.apache.geronimo.mail.IMAPStoreGBean, org.apache.geronimo.mail.NNTPTransportGBean,
ProtocolGBean | public class ProtocolGBean implements GBeanLifecycle(Code) | | A generic GBean that provides for the configuration of a JavaMail protocol.
Values that are set in the individual member variables will override any of
the corresponding values that have been set in the properties set.
version: $Rev: 486195 $ $Date: 2006-12-12 07:42:02 -0800 (Tue, 12 Dec 2006) $ |
Constructor Summary | |
public | ProtocolGBean() | public | ProtocolGBean(String objectName, String protocol, Properties properties, String host, String user) Construct an instance of ProtocolGBean
Values that are set in the individual member variables will override any of
the corresponding values that have been set in the properties set. |
GBEAN_ADD_OVERRIDES | final public static String GBEAN_ADD_OVERRIDES(Code) | | |
GBEAN_CONNECTION_TIMEOUT | final public static String GBEAN_CONNECTION_TIMEOUT(Code) | | |
GBEAN_FACTORY_CLASS | final public static String GBEAN_FACTORY_CLASS(Code) | | |
GBEAN_FACTORY_FALLBACK | final public static String GBEAN_FACTORY_FALLBACK(Code) | | |
GBEAN_FACTORY_PORT | final public static String GBEAN_FACTORY_PORT(Code) | | |
GBEAN_INFO | final public static GBeanInfo GBEAN_INFO(Code) | | |
GBEAN_LOCALADDRESS | final public static String GBEAN_LOCALADDRESS(Code) | | |
GBEAN_LOCALHOST | final public static String GBEAN_LOCALHOST(Code) | | |
GBEAN_LOCALPORT | final public static String GBEAN_LOCALPORT(Code) | | |
GBEAN_OBJECTNAME | final public static String GBEAN_OBJECTNAME(Code) | | |
GBEAN_PROPERTIES | final public static String GBEAN_PROPERTIES(Code) | | |
GBEAN_PROTOCOL | final public static String GBEAN_PROTOCOL(Code) | | |
GBEAN_QUITWAIT | final public static String GBEAN_QUITWAIT(Code) | | |
ProtocolGBean | public ProtocolGBean()(Code) | | Construct an instance of ProtocolGBean
|
ProtocolGBean | public ProtocolGBean(String objectName, String protocol, Properties properties, String host, String user)(Code) | | Construct an instance of ProtocolGBean
Values that are set in the individual member variables will override any of
the corresponding values that have been set in the properties set.
Parameters: objectName - the object name of the protocol Parameters: protocol - the name of the protocol Parameters: properties - the set of default properties for the protocol Parameters: host - the host the protocol connects to Parameters: user - the default name for the protocol |
addOverrides | public void addOverrides(Properties props)(Code) | | Add the overrides from the member variables to the properties file.
|
doFail | public void doFail()(Code) | | |
getGBeanInfo | public static GBeanInfo getGBeanInfo()(Code) | | |
getHost | public String getHost()(Code) | | Returns the host the protocol connects to.
|
getObjectName | public String getObjectName()(Code) | | Returns the object name of this protocol GBean
|
getProperties | public Properties getProperties()(Code) | | Returns the set of default properties for the protocol.
Values that are set in the individual member variables will override any of
the corresponding values that have been set in the properties set.
|
getProtocol | public String getProtocol()(Code) | | Returns the name of the protocol
|
getUser | public String getUser()(Code) | | Returns the default user name for the protocol.
|
setHost | public void setHost(String host)(Code) | | Set the host the protocol connects to.
Parameters: host - the host the protocol connects to |
setProperties | public void setProperties(Properties properties)(Code) | | Sets the set of default properties for the protocol.
Values that are set in the individual member variables will override any of
the corresponding values that have been set in the properties set.
Parameters: properties - set of default properties for the protocol |
setUser | public void setUser(String user)(Code) | | Sets the default user name for the protocol.
Parameters: user - the default user name for the protocol |
|
|
|