Java Doc for ClientConfig.java in  » Workflow-Engines » obe-1.0 » org » obe » client » api » 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 » Workflow Engines » obe 1.0 » org.obe.client.api 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.obe.util.CommonConfig
      org.obe.client.api.ClientConfig

ClientConfig
final public class ClientConfig extends CommonConfig (Code)
Provides access to OBE client configuration information. OBE is configured by several XML and properties files, which can either be located in the OBE configuration directory or in the META-INF/services directory in obeconfig.jar. Resources in the latter location are accessed via this class's ClassLoader. The OBE configuration directory can be specified by the system property "obe.config.dir", defaulting to the current directory. Loose files take precedence over resources in obeconfig.jar.

The obe.properties file contains the OBE client configuration.
author:
   Adrian Price



Field Summary
final public static  StringJAAS_CALLBACK_HANDLER_PROP
     Property key for the name of a JAAS callback handler class.
final public static  StringJAAS_CALLER_PRINCIPAL_CLASS_PROP
     Property key for the primary JAAS principal class.
final public static  StringJAAS_CONFIG_PROP
     Property key for the JAAS login configuration entry to use.
final public static  StringJMS_QUEUE_CON_FACTORY_PROP
     Property key for the public JNDI name of a JMS queue connection factory.
final public static  StringJMS_TOPIC_CON_FACTORY_PROP
     Property key for the public JNDI name of a JMS topic connection factory.
final public static  StringJNDI_INITIAL_CONTEXT_FACTORY_PROP
     Property key for configuring an override to the default JNDI initial context factory whilst preserving the value of the latter.
final public static  StringSERVER_HOST_URL_PROP
     Property key for the OBE server host URL.
final public static  StringUSE_STDIO_PROP
     Property key for whether client-side tool agents should use STDIO for user interactions.


Method Summary
public static  StringgetJAASCallbackHandlerClass()
     Returns the name of the JAAS callback handler to use for client authentication.

The setting reflects the string value of the configuration property obe.client.jaas.callback.handler.

public static  StringgetJAASCallerPrincipalClass()
     Returns the name of the javax.security.Principal class from which to infer the primary identity of an authenticated subject.
public static  StringgetJAASConfig()
     Returns the name of the JAAS configuration entry to use for client authentication.
public static  StringgetJMSQueueConnectionFactory()
     Returns the JNDI name of the JMS queue connection factory for clients.
public static  StringgetJMSTopicConnectionFactory()
     Returns the JNDI name of the JMS topic connection factory for clients.
public static  StringgetJNDIInitialContextFactoryClass()
     Returns an override for the JNDI property java.naming.factory.initial.
public static  StringgetServerHostURL()
     Returns the OBE server host URL.
public static  booleanuseSTDIO()
     Whether client-side tool agents should use STDIO for user interactions.

The setting reflects the boolean value of the configuration property obe.client.stdio.


Field Detail
JAAS_CALLBACK_HANDLER_PROP
final public static String JAAS_CALLBACK_HANDLER_PROP(Code)
Property key for the name of a JAAS callback handler class.



JAAS_CALLER_PRINCIPAL_CLASS_PROP
final public static String JAAS_CALLER_PRINCIPAL_CLASS_PROP(Code)
Property key for the primary JAAS principal class.



JAAS_CONFIG_PROP
final public static String JAAS_CONFIG_PROP(Code)
Property key for the JAAS login configuration entry to use.



JMS_QUEUE_CON_FACTORY_PROP
final public static String JMS_QUEUE_CON_FACTORY_PROP(Code)
Property key for the public JNDI name of a JMS queue connection factory.



JMS_TOPIC_CON_FACTORY_PROP
final public static String JMS_TOPIC_CON_FACTORY_PROP(Code)
Property key for the public JNDI name of a JMS topic connection factory.



JNDI_INITIAL_CONTEXT_FACTORY_PROP
final public static String JNDI_INITIAL_CONTEXT_FACTORY_PROP(Code)
Property key for configuring an override to the default JNDI initial context factory whilst preserving the value of the latter.



SERVER_HOST_URL_PROP
final public static String SERVER_HOST_URL_PROP(Code)
Property key for the OBE server host URL.



USE_STDIO_PROP
final public static String USE_STDIO_PROP(Code)
Property key for whether client-side tool agents should use STDIO for user interactions.





Method Detail
getJAASCallbackHandlerClass
public static String getJAASCallbackHandlerClass()(Code)
Returns the name of the JAAS callback handler to use for client authentication.

The setting reflects the string value of the configuration property obe.client.jaas.callback.handler. The implementing class must have a public constructor that takes the following arguments:

(String url, String username, String password) JAAS callback handler class name, defaulting to"org.obe.client.api.base.OBECallbackHandler".
See Also:   ClientConfig.JAAS_CALLBACK_HANDLER_PROP




getJAASCallerPrincipalClass
public static String getJAASCallerPrincipalClass()(Code)
Returns the name of the javax.security.Principal class from which to infer the primary identity of an authenticated subject. If null, the client uses the first non-group principal in the authenticated subject.

The setting reflects the string value of the configuration property obe.jaas.caller.principal.class. JAAS callback handler class name, defaulting to null.
See Also:   ClientConfig.JAAS_CALLER_PRINCIPAL_CLASS_PROP




getJAASConfig
public static String getJAASConfig()(Code)
Returns the name of the JAAS configuration entry to use for client authentication.

The setting reflects the string value of the configuration property obe.client.jaas.config. JAAS configuration entry name, defaulting to "other".
See Also:   ClientConfig.JAAS_CONFIG_PROP




getJMSQueueConnectionFactory
public static String getJMSQueueConnectionFactory()(Code)
Returns the JNDI name of the JMS queue connection factory for clients.

The setting reflects the string value of the configuration property obe.jms.queue.connection.factory. JMS connection factory JNDI name, defaulting to"ConnectionFactory".
See Also:   ClientConfig.JMS_QUEUE_CON_FACTORY_PROP




getJMSTopicConnectionFactory
public static String getJMSTopicConnectionFactory()(Code)
Returns the JNDI name of the JMS topic connection factory for clients.

The setting reflects the string value of the configuration property obe.jms.topic.connection.factory. JMS connection factory JNDI name, defaulting to"ConnectionFactory".
See Also:   ClientConfig.JMS_TOPIC_CON_FACTORY_PROP




getJNDIInitialContextFactoryClass
public static String getJNDIInitialContextFactoryClass()(Code)
Returns an override for the JNDI property java.naming.factory.initial. Generally speaking there is no reason to set this property. It should only be used if the OBE client needs to bypass the standard JNDI initial context factory as specified by the system property java.naming.factory.initial. For example, certain RPC tunnelling protocols wrap default JNDI objects with their own marshalling mechanism.

The setting reflects the string value of the configuration property obe.client.java.naming.factory.initial. JAAS callback handler class name, defaulting to null.
See Also:   ClientConfig.JNDI_INITIAL_CONTEXT_FACTORY_PROP




getServerHostURL
public static String getServerHostURL()(Code)
Returns the OBE server host URL.

The setting reflects the string value of the configuration property obe.server.host. Server host name, defaulting to"jnp://localhost:1099".
See Also:   ClientConfig.SERVER_HOST_URL_PROP




useSTDIO
public static boolean useSTDIO()(Code)
Whether client-side tool agents should use STDIO for user interactions.

The setting reflects the boolean value of the configuration property obe.client.stdio. Default is false. true to interact via STDIO, false topresent a graphical UI.
See Also:   ClientConfig.USE_STDIO_PROP




Fields inherited from org.obe.util.CommonConfig
final public static String CONFIG_DIR_PROP(Code)(Java Doc)
final protected static String CONFIG_FILE(Code)(Java Doc)
final public static String CREDENTIALS_PROP(Code)(Java Doc)
final public static String DATE_FORMAT_PROP(Code)(Java Doc)
final public static String DURATION_UNIT_PROP(Code)(Java Doc)
final public static String PRINCIPAL_PROP(Code)(Java Doc)
final public static String PROTOCOL_PROP(Code)(Java Doc)
final protected static Log _logger(Code)(Java Doc)
final protected static Properties _props(Code)(Java Doc)

Methods inherited from org.obe.util.CommonConfig
public static URL findResource(String resource)(Code)(Java Doc)
protected static boolean getBooleanProperty(String propertyName, boolean defaultValue)(Code)(Java Doc)
public static File getConfigDir()(Code)(Java Doc)
public static String getCredentials()(Code)(Java Doc)
public static String getDefaultDateFormat()(Code)(Java Doc)
public static String getDefaultDurationUnit()(Code)(Java Doc)
protected static int getIntProperty(String propertyName, int defaultValue)(Code)(Java Doc)
public static String getPrincipal()(Code)(Java Doc)
public static String getProtocol()(Code)(Java Doc)
protected static String getStringProperty(String propertyName, String defaultValue)(Code)(Java Doc)
public static InputSource openInputSource(String resource)(Code)(Java Doc)
public static InputStream openInputStream(String resource)(Code)(Java Doc)
public static OutputStream openOutputStream(String resource)(Code)(Java Doc)
public static Reader openReader(String resource)(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.