Java Doc for JNDIConfig.java in  » J2EE » Expresso » com » jcorporate » expresso » core » db » config » 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 » J2EE » Expresso » com.jcorporate.expresso.core.db.config 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.jcorporate.expresso.kernel.EmbeddedComponent
      com.jcorporate.expresso.core.db.config.JNDIConfig

All known Subclasses:   com.jcorporate.expresso.core.misc.ConfigJndi,
JNDIConfig
public class JNDIConfig extends com.jcorporate.expresso.kernel.EmbeddedComponent implements java.io.Serializable,ComponentLifecycle(Code)
A Commons digester class for JDBC section of the standardmaessig Expresso Configuration XML file. This bean defines the conection characteristics to the database in this context

Documentation written by Yves Henri AMAIZO @ AmyCase.com, Sun Jul 29 00:55:00 GMT 2002

All the 'bean' methods here are directly mapped to the <jdbc> section int the expresso-config.xml file. It is recommend that you also look at the Expresso config DTD for a better understanding of the relation of these various parameteters.
author:
   Yves Henri AMAIZO
since:
   Expresso 5.1



Field Summary
protected  Stringauthoritative
    
protected  StringbatchSize
    
protected  StringdnsURL
    
protected  StringinitialContextFactory
    
protected  Stringlanguage
    
protected  StringobjectFactories
    
protected  StringproviderURL
    
protected  StringsecurityAuthentication
    
protected  StringsecurityCredentials
    
protected  StringsecurityPrincipal
    
protected  StringsecurityProtocol
    
protected  StringstateFactories
    
protected  StringurlPKGPrefixes
    

Constructor Summary
public  JNDIConfig()
    
public  JNDIConfig(String factory, String user, String pass, String provider)
    

Method Summary
public synchronized  voidconfigure(Configuration newConfig)
     Configure lifecycle event.
public synchronized  voiddestroy()
    
public synchronized  StringgetAuthoritative()
    
public synchronized  StringgetBatchSize()
    
public synchronized  StringgetDnsURL()
    
public synchronized  StringgetInitialContextFactory()
    
public synchronized  StringgetLanguage()
    
public  StringgetMetadataName()
     Because we look up our metadata in the parent component, we have to somehow know WHAT component's metadata is ours.
public synchronized  StringgetObjectFactories()
    
public synchronized  StringgetProviderURL()
    
public synchronized  StringgetSecurityAuthentication()
    
public synchronized  StringgetSecurityCredentials()
    
public synchronized  StringgetSecurityPrincipal()
    
public  StringgetSecurityProtocol()
    
public synchronized  StringgetStateFactories()
    
public  StringgetUrlPKGPrefixes()
    
public  voidinitialize()
    
public synchronized  voidreconfigure(Configuration newConfig)
     Reconfigure Lifecycle Event.
public synchronized  voidsetAuthoritative(String authoritative)
    
public synchronized  voidsetBatchSize(String batchSize)
    
public synchronized  voidsetDnsURL(String dnsURL)
    
public synchronized  voidsetInitialContextFactory(String initialContextFactory)
    
public synchronized  voidsetLanguage(String language)
    
public synchronized  voidsetObjectFactories(String objectFactories)
    
public synchronized  voidsetProviderURL(String providerURL)
    
public synchronized  voidsetSecurityAuthentication(String securityAuthentication)
    
public synchronized  voidsetSecurityCredentials(String securityCredentials)
    
public synchronized  voidsetSecurityPrincipal(String securityPrincipal)
    
public  voidsetSecurityProtocol(String securityProtocol)
    
public synchronized  voidsetStateFactories(String stateFactories)
    
public  voidsetUrlPKGPrefixes(String urlPKGPrefixes)
    

Field Detail
authoritative
protected String authoritative(Code)
JNDI AUTHORITATIVE



batchSize
protected String batchSize(Code)
JNDI BATCHSIZE



dnsURL
protected String dnsURL(Code)
JNDI DNS_URL



initialContextFactory
protected String initialContextFactory(Code)
JNDI INITIAL CONTEXT FACTORY



language
protected String language(Code)
JNDI LANGUAGE



objectFactories
protected String objectFactories(Code)
JNDI OBJECT_FACTORIES



providerURL
protected String providerURL(Code)
JNDI provider URL ://:



securityAuthentication
protected String securityAuthentication(Code)
JNDI SECURITY_AUTHENTICATION "none", "simple", "strong"



securityCredentials
protected String securityCredentials(Code)
JNDI SECURITY_CREDENTIALS Password



securityPrincipal
protected String securityPrincipal(Code)
JNDI SECURITY_PRINCIPAL Username



securityProtocol
protected String securityProtocol(Code)
JNDI SECURITY_PROTOCOL



stateFactories
protected String stateFactories(Code)
JNDI STATE_FACTORIES



urlPKGPrefixes
protected String urlPKGPrefixes(Code)
JNDI URL_PKG_PREFIXES




Constructor Detail
JNDIConfig
public JNDIConfig()(Code)
Default constructor



JNDIConfig
public JNDIConfig(String factory, String user, String pass, String provider)(Code)
Default commons constructor
Parameters:
  factory - JNDIFactory name
Parameters:
  user - User Name
Parameters:
  pass - Password
Parameters:
  provider - The DataSource Provider




Method Detail
configure
public synchronized void configure(Configuration newConfig) throws ConfigurationException(Code)
Configure lifecycle event. Loads all the configuration values
Parameters:
  newConfig - the Kernel Configuration 'Bean'
throws:
  ConfigurationException - upon Configuration Error



destroy
public synchronized void destroy()(Code)
Destroy Lifecycle Event



getAuthoritative
public synchronized String getAuthoritative()(Code)
Gets the authoritative Returns a String



getBatchSize
public synchronized String getBatchSize()(Code)
Gets the batchSize Returns a String



getDnsURL
public synchronized String getDnsURL()(Code)
Gets the dnsURL Returns a String



getInitialContextFactory
public synchronized String getInitialContextFactory()(Code)
Gets the initialContextFactory Returns a String



getLanguage
public synchronized String getLanguage()(Code)
Gets the language Returns a String



getMetadataName
public String getMetadataName()(Code)
Because we look up our metadata in the parent component, we have to somehow know WHAT component's metadata is ours. Sub classes need to override this one-liner and return the name of the metadata we're looking for. java.lang.String



getObjectFactories
public synchronized String getObjectFactories()(Code)
Gets the objectFactories Returns a String



getProviderURL
public synchronized String getProviderURL()(Code)
Gets the providerURL Returns a String



getSecurityAuthentication
public synchronized String getSecurityAuthentication()(Code)
Gets the securityAuthentication Returns a String



getSecurityCredentials
public synchronized String getSecurityCredentials()(Code)
Gets the securityCredentials Returns a String



getSecurityPrincipal
public synchronized String getSecurityPrincipal()(Code)
Gets the securityPrincipal Returns a String



getSecurityProtocol
public String getSecurityProtocol()(Code)
Gets the securityProtocol Returns a String



getStateFactories
public synchronized String getStateFactories()(Code)
Gets the stateFactories Returns a String



getUrlPKGPrefixes
public String getUrlPKGPrefixes()(Code)
Gets the urlPKGPrefixes Returns a String



initialize
public void initialize()(Code)
Initial Creation initialization



reconfigure
public synchronized void reconfigure(Configuration newConfig) throws ConfigurationException(Code)
Reconfigure Lifecycle Event. Zeroes out all configuration values and reconfigures.
Parameters:
  newConfig - The new configuration values
throws:
  ConfigurationException - upon error



setAuthoritative
public synchronized void setAuthoritative(String authoritative)(Code)
Sets the authoritative
Parameters:
  authoritative - The authoritative to set



setBatchSize
public synchronized void setBatchSize(String batchSize)(Code)
Sets the batchSize
Parameters:
  batchSize - The batchSize to set



setDnsURL
public synchronized void setDnsURL(String dnsURL)(Code)
Sets the dnsURL
Parameters:
  dnsURL - The dnsURL to set



setInitialContextFactory
public synchronized void setInitialContextFactory(String initialContextFactory)(Code)
Sets the initialContextFactory
Parameters:
  initialContextFactory - The initialContextFactory to set



setLanguage
public synchronized void setLanguage(String language)(Code)
Sets the language
Parameters:
  language - The language to set



setObjectFactories
public synchronized void setObjectFactories(String objectFactories)(Code)
Sets the objectFactories
Parameters:
  objectFactories - The objectFactories to set



setProviderURL
public synchronized void setProviderURL(String providerURL)(Code)
Sets the providerURL
Parameters:
  providerURL - The providerURL to set



setSecurityAuthentication
public synchronized void setSecurityAuthentication(String securityAuthentication)(Code)
Sets the securityAuthentication
Parameters:
  securityAuthentication - The securityAuthentication to set



setSecurityCredentials
public synchronized void setSecurityCredentials(String securityCredentials)(Code)
Sets the securityCredentials
Parameters:
  securityCredentials - The securityCredentials to set



setSecurityPrincipal
public synchronized void setSecurityPrincipal(String securityPrincipal)(Code)
Sets the securityPrincipal
Parameters:
  securityPrincipal - The securityPrincipal to set



setSecurityProtocol
public void setSecurityProtocol(String securityProtocol)(Code)
Sets the securityProtocol
Parameters:
  securityProtocol - The securityProtocol to set



setStateFactories
public synchronized void setStateFactories(String stateFactories)(Code)
Sets the stateFactories
Parameters:
  stateFactories - The stateFactories to set



setUrlPKGPrefixes
public void setUrlPKGPrefixes(String urlPKGPrefixes)(Code)
Sets the urlPKGPrefixes
Parameters:
  urlPKGPrefixes - The urlPKGPrefixes to set



Methods inherited from com.jcorporate.expresso.kernel.EmbeddedComponent
public synchronized ComponentMetadata getMetaData()(Code)(Java Doc)
abstract public String getMetadataName()(Code)(Java Doc)
public synchronized Containable getParent()(Code)(Java Doc)
public synchronized void setParent(Containable parent)(Code)(Java Doc)

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.