Java Doc for ServiceGroupContext.java in  » Web-Services-AXIS2 » kernal » org » apache » axis2 » context » 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 » Web Services AXIS2 » kernal » org.apache.axis2.context 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.apache.axis2.context.AbstractContext
      org.apache.axis2.context.ServiceGroupContext

ServiceGroupContext
public class ServiceGroupContext extends AbstractContext implements Externalizable(Code)



Constructor Summary
public  ServiceGroupContext()
    
public  ServiceGroupContext(ConfigurationContext parent, AxisServiceGroup axisServiceGroup)
    

Method Summary
public  voidactivate(ConfigurationContext cc)
     Some parts of the object restored from the readExternal deserialization work cannot be completed until we have a configurationContext.
public  voidaddServiceContext(ServiceContext srvctx)
     Adds the specified service context object to the lists of service contexts for this service group context.
public  ServiceContextfindServiceContext(String name)
     Finds the service context object that corresponds to the specified name from the list of service contexts for this service group context.
public  ServiceContextfindServiceContext(AxisService axisSrv)
     Finds the service context object that corresponds to the specified AxisService from the list of service contexts for this service group context.
public  AxisServiceGroupgetDescription()
    
public  StringgetId()
    
public  ConfigurationContextgetRootContext()
    
public  ServiceContextgetServiceContext(AxisService service)
     Gets a service context.
public  IteratorgetServiceContexts()
    
public  booleanisEquivalent(ServiceGroupContext ctx)
     Compares key parts of the state from the current instance of this class with the specified instance to see if they are equivalent.
public  voidputContextProperties(ServiceGroupContext context)
     This will do a copy of the properties from this context object to the properties of the specified context object.
public  voidreadExternal(ObjectInput in)
     Restore the contents of the object that was previously saved.

NOTE: The field data must read back in the same order and type as it was written.

public  voidsetId(String id)
    
public  voidwriteExternal(ObjectOutput out)
     Save the contents of this object.


Constructor Detail
ServiceGroupContext
public ServiceGroupContext()(Code)



ServiceGroupContext
public ServiceGroupContext(ConfigurationContext parent, AxisServiceGroup axisServiceGroup)(Code)




Method Detail
activate
public void activate(ConfigurationContext cc)(Code)
Some parts of the object restored from the readExternal deserialization work cannot be completed until we have a configurationContext. This method checks to see if additional work needs to be done in order to complete the object reconstitution.
Parameters:
  cc - the active ConfigurationContext



addServiceContext
public void addServiceContext(ServiceContext srvctx)(Code)
Adds the specified service context object to the lists of service contexts for this service group context.
Parameters:
  srvctx - The ServiceContext object to add



findServiceContext
public ServiceContext findServiceContext(String name)(Code)
Finds the service context object that corresponds to the specified name from the list of service contexts for this service group context.
Parameters:
  name - The name associated with the ServiceContext The ServiceContext associated with the name,or null, if none can be found



findServiceContext
public ServiceContext findServiceContext(AxisService axisSrv)(Code)
Finds the service context object that corresponds to the specified AxisService from the list of service contexts for this service group context.
Parameters:
  axisSrv - the AxisService whose context we're looking for The ServiceContext associated with the AxisServiceor null, if none can be found



getDescription
public AxisServiceGroup getDescription()(Code)



getId
public String getId()(Code)



getRootContext
public ConfigurationContext getRootContext()(Code)



getServiceContext
public ServiceContext getServiceContext(AxisService service) throws AxisFault(Code)
Gets a service context. Creates a new one from AxisService. There is no need to store service context inside serviceGroup context as well.
Parameters:
  service - the AxisService for which to get a context Returns ServiceContext.
throws:
  AxisFault - if something goes wrong



getServiceContexts
public Iterator getServiceContexts()(Code)



isEquivalent
public boolean isEquivalent(ServiceGroupContext ctx)(Code)
Compares key parts of the state from the current instance of this class with the specified instance to see if they are equivalent.

This differs from the java.lang.Object.equals() method in that the equals() method generally looks at both the object identity (location in memory) and the object state (data).


Parameters:
  ctx - The object to compare with TRUE if this object is equivalent with the specified objectthat is, key fields matchFALSE, otherwise




putContextProperties
public void putContextProperties(ServiceGroupContext context)(Code)
This will do a copy of the properties from this context object to the properties of the specified context object.
Parameters:
  context - The ServiceGroupContext object to hold the merged properties



readExternal
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException(Code)
Restore the contents of the object that was previously saved.

NOTE: The field data must read back in the same order and type as it was written. Some data will need to be validated when resurrected.
Parameters:
  in - The stream to read the object contents from
throws:
  IOException -
throws:
  ClassNotFoundException -




setId
public void setId(String id)(Code)



writeExternal
public void writeExternal(ObjectOutput out) throws IOException(Code)
Save the contents of this object.

NOTE: Transient fields and static fields are not saved. Also, objects that represent "static" data are not saved, except for enough information to be able to find matching objects when the message context is re-constituted.
Parameters:
  out - The stream to write the object contents to
throws:
  IOException -




Fields inherited from org.apache.axis2.context.AbstractContext
final public static String COPY_PROPERTIES(Code)(Java Doc)
protected long lastTouchedTime(Code)(Java Doc)
protected transient AbstractContext parent(Code)(Java Doc)
protected transient Map properties(Code)(Java Doc)

Methods inherited from org.apache.axis2.context.AbstractContext
public synchronized void clearPropertyDifferences()(Code)(Java Doc)
public void flush() throws AxisFault(Code)(Java Doc)
public long getLastTouchedTime()(Code)(Java Doc)
public AbstractContext getParent()(Code)(Java Doc)
public Map getProperties()(Code)(Java Doc)
public Object getProperty(String key)(Code)(Java Doc)
public synchronized Map getPropertyDifferences()(Code)(Java Doc)
public Iterator getPropertyNames()(Code)(Java Doc)
public Object getPropertyNonReplicable(String key)(Code)(Java Doc)
abstract public ConfigurationContext getRootContext()(Code)(Java Doc)
public void mergeProperties(Map props)(Code)(Java Doc)
public synchronized void removeProperty(String key)(Code)(Java Doc)
public synchronized void removePropertyNonReplicable(String key)(Code)(Java Doc)
public void setLastTouchedTime(long t)(Code)(Java Doc)
public void setNonReplicableProperty(String key, Object value)(Code)(Java Doc)
public void setParent(AbstractContext context)(Code)(Java Doc)
public void setProperties(Map properties)(Code)(Java Doc)
public void setProperty(String key, Object value)(Code)(Java Doc)
protected void touch()(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.