Java Doc for ProtocolGBean.java in  » EJB-Server-geronimo » plugins » org » apache » geronimo » mail » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » EJB Server geronimo » plugins » org.apache.geronimo.mail 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


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) $



Field Summary
final public static  StringGBEAN_ADD_OVERRIDES
    
final public static  StringGBEAN_AUTH
    
final public static  StringGBEAN_CONNECTION_TIMEOUT
    
final public static  StringGBEAN_FACTORY_CLASS
    
final public static  StringGBEAN_FACTORY_FALLBACK
    
final public static  StringGBEAN_FACTORY_PORT
    
final public static  StringGBEAN_FROM
    
final public static  StringGBEAN_HOST
    
final public static  GBeanInfoGBEAN_INFO
    
final public static  StringGBEAN_LOCALADDRESS
    
final public static  StringGBEAN_LOCALHOST
    
final public static  StringGBEAN_LOCALPORT
    
final public static  StringGBEAN_OBJECTNAME
    
final public static  StringGBEAN_PORT
    
final public static  StringGBEAN_PROPERTIES
    
final public static  StringGBEAN_PROTOCOL
    
final public static  StringGBEAN_QUITWAIT
    
final public static  StringGBEAN_REALM
    
final public static  StringGBEAN_TIMEOUT
    
final public static  StringGBEAN_USER
    

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.


Method Summary
public  voidaddOverrides(Properties props)
     Add the overrides from the member variables to the properties file.
public  voiddoFail()
    
public  voiddoStart()
    
public  voiddoStop()
    
public static  GBeanInfogetGBeanInfo()
    
public  StringgetHost()
     Returns the host the protocol connects to.
public  StringgetObjectName()
    
public  PropertiesgetProperties()
     Returns the set of default properties for the protocol.
public  StringgetProtocol()
    
public  StringgetUser()
     Returns the default user name for the protocol.
public  voidsetHost(String host)
     Set the host the protocol connects to.
public  voidsetProperties(Properties properties)
     Sets the set of default properties for the protocol.
public  voidsetUser(String user)
     Sets the default user name for the protocol.

Field Detail
GBEAN_ADD_OVERRIDES
final public static String GBEAN_ADD_OVERRIDES(Code)



GBEAN_AUTH
final public static String GBEAN_AUTH(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_FROM
final public static String GBEAN_FROM(Code)



GBEAN_HOST
final public static String GBEAN_HOST(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_PORT
final public static String GBEAN_PORT(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)



GBEAN_REALM
final public static String GBEAN_REALM(Code)



GBEAN_TIMEOUT
final public static String GBEAN_TIMEOUT(Code)



GBEAN_USER
final public static String GBEAN_USER(Code)




Constructor Detail
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





Method Detail
addOverrides
public void addOverrides(Properties props)(Code)
Add the overrides from the member variables to the properties file.



doFail
public void doFail()(Code)



doStart
public void doStart() throws Exception(Code)



doStop
public void doStop() throws Exception(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



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.