Java Doc for WebServiceContext.java in  » Portal » stringbeans-3.5 » com » nabhinc » ws » server » 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 » Portal » stringbeans 3.5 » com.nabhinc.ws.server 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


com.nabhinc.ws.server.WebServiceContext

All known Subclasses:   com.nabhinc.ws.server.HTTPWebServiceContext,
WebServiceContext
public interface WebServiceContext (Code)
This interface provides context information to Web services in the same way a ServletContext provides context info to servlets. In addition, it also provides access to server related information.
author:
   Padmanabh Dabke
author:
   (c) 2005 Nabh Information Systems, Inc. All Rights Reserved.




Method Summary
public  ObjectgetAttribute(String name)
     Returns attribute value for the given name.
public  EnumerationgetAttributeNames()
     Returns an Enumeration of names of attributes available through this context.
abstract public  StringgetRealPath(String path)
     Computes the real OS path corresponding to the application-relative path.
abstract public  URLgetResource(String key)
     Returns URL for accessing a resource with the given key.
abstract public  InputStreamgetResourceAsStream(String path)
    
abstract public  StringgetSecureURL()
     Returns secure server URL.
abstract public  StringgetServerID()
     Returns ID of the current server instance.
public  ServletConfiggetServletConfig()
     Get ServletConfig object corresponding to the WebServicesServlet that is loading Web services framework.
abstract public  StringgetUnsecureURL()
     Returns regular server URL.
abstract public  UserManagergetUserManager()
     User manager that handles authentication for this server.
public  voidremoveAttribute(String name)
     Removes the attribute with the given name from the context.
public  voidsetAttribute(String name, Object value)
     Sets the specified attribute to the given value.



Method Detail
getAttribute
public Object getAttribute(String name)(Code)
Returns attribute value for the given name.



getAttributeNames
public Enumeration getAttributeNames()(Code)
Returns an Enumeration of names of attributes available through this context. Enumeration of attribute names in this context



getRealPath
abstract public String getRealPath(String path)(Code)
Computes the real OS path corresponding to the application-relative path.
Parameters:
  path - Relative path Absolute OS path for the file/directory.



getResource
abstract public URL getResource(String key) throws MalformedURLException(Code)
Returns URL for accessing a resource with the given key.
Parameters:
  key - Resource Key URL for accessing the resource
throws:
  MalformedURLException -



getResourceAsStream
abstract public InputStream getResourceAsStream(String path)(Code)
Input stream corresponding to the resource at the specified path
Parameters:
  path - Resource path Input stream to be used to read resource contents



getSecureURL
abstract public String getSecureURL()(Code)
Returns secure server URL. For HTTP servers, this is the https URL. HTTPS server URL



getServerID
abstract public String getServerID()(Code)
Returns ID of the current server instance. This may be used in storing individual server-specific information in a clustered environment ID of the server, the Web service is running in.



getServletConfig
public ServletConfig getServletConfig()(Code)
Get ServletConfig object corresponding to the WebServicesServlet that is loading Web services framework. Note that using this method will restrict your service to run in a servlet environment. ServletConfig for the current WebServicesServlet



getUnsecureURL
abstract public String getUnsecureURL()(Code)
Returns regular server URL. For HTTP server, this is http URL. Server URL



getUserManager
abstract public UserManager getUserManager()(Code)
User manager that handles authentication for this server. User manager for this site



removeAttribute
public void removeAttribute(String name)(Code)
Removes the attribute with the given name from the context.
Parameters:
  name - Name of the attribute to be removed.



setAttribute
public void setAttribute(String name, Object value)(Code)
Sets the specified attribute to the given value. If the value is null, the effect is the same as doing removeAttribute
Parameters:
  name - Attribute name
Parameters:
  value - Attribute value



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