Java Doc for EndpointBean.java in  » ESB » open-esb » com » sun » jbi » binding » file » 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 » ESB » open esb » com.sun.jbi.binding.file 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.sun.jbi.binding.file.EndpointBean

EndpointBean
final public class EndpointBean (Code)
This Bean object holds all the attributes of an endpoint.
author:
   Sun Microsystems, Inc.



Constructor Summary
public  EndpointBean()
     Constructor.

Method Summary
public  voidaddMessagePattern(String oper, String mep)
     Adds an entry for operation-mep in table.
public  voidaddOperation(String namespace, String name, String mep, String input, String output, String ext, String prefix)
     Adds an operation to the endpoint.
public  QNamegetDefaultOperation()
     Returns the default operation, which is normally the first operation defined in the XML or WSDL.
public  StringgetDeploymentId()
     Fetches the deployment Id coresponding to this bean.
public  java.lang.StringgetDeploymentType()
     Getter for property mDeploymentType.
public  StringgetExtension(String operation)
     Gets the file extension corresponding to an operation.
Parameters:
  operation - operation name.
public  FileThreadsgetFileThread()
     Gets the file thread.
public  StringgetInputType(String operation)
     Returns the input type corresponding to an operation name.
Parameters:
  operation - operation name.
public  StringgetKey()
    
public  StringgetMEP(String operation)
     Gets the MEP corresponding to the operation name.
Parameters:
  operation - operation name.
public  QNamegetOperation(String input)
     Gets the operation name corresponding to the input type in WSDL.
Parameters:
  input - name of the input type.
public  QNamegetOperationQName(int index)
     Gets the fully qualified name of operation given the position in XML or WSDL.
Parameters:
  index - occurence of operation inXML or WSDL.
public  intgetOperationsCount()
     Returns the number of operations in XML or WSDL.
public  StringgetOutputType(String operation)
     Returns the output type corresponding to an operation.
Parameters:
  operation - operation name.
public  StringgetPrefix(String operation)
     Gets the file prefix corresponding to an operation.
Parameters:
  operation - operation name.
public  ThreadgetReceiverThread()
     Returns the receiver thread.
public  intgetRole()
     Returns the role.
public  ServiceEndpointgetServiceEndpoint()
     Gets the enpoint reference corresponding to this endpoint.
public  StringgetUniqueName()
     Returns a unique name which is a combination of service name and endpoint name. unique name of this endpoint.
public  StringgetValue(String key)
     Returns the value associated with the key from the table.
Parameters:
  key - the tag name for which value is required.
public  ObjectgetWsdlDefinition()
    
public  voidsetDeploymentId(String suId)
     Sets the deployment Id corresponding to this endpoint Bean.
public  voidsetDeploymentType(java.lang.String mDeploymentType)
     Setter for property mDeploymentType.
public  voidsetFileThread(FileThreads ft)
     Sets the file thread.
public  voidsetReceiverThread(Thread t)
     Sets the receiver thread.
public  voidsetRole(int role)
     Sets the role of this endpoint, provider or consumer.
public  voidsetServiceEndpoint(ServiceEndpoint ref)
     Sets the endpoint reference once the endpoitn has been activated with the NMS.
public  voidsetValue(String key, String value)
     Sets the value for the key in the table.
public  voidsetWsdlDefintion(Object def)
    


Constructor Detail
EndpointBean
public EndpointBean()(Code)
Constructor. Creates a new Table, list.




Method Detail
addMessagePattern
public void addMessagePattern(String oper, String mep)(Code)
Adds an entry for operation-mep in table.
Parameters:
  oper - operation name.
Parameters:
  mep - corresponding MEP.



addOperation
public void addOperation(String namespace, String name, String mep, String input, String output, String ext, String prefix)(Code)
Adds an operation to the endpoint.
Parameters:
  namespace - namespace uri
Parameters:
  name - local name
Parameters:
  mep - exchange pattern.
Parameters:
  input - input message type.
Parameters:
  output - output message type.
Parameters:
  ext - file extension.
Parameters:
  prefix - output file prefix.



getDefaultOperation
public QName getDefaultOperation()(Code)
Returns the default operation, which is normally the first operation defined in the XML or WSDL. QName name of the operation.



getDeploymentId
public String getDeploymentId()(Code)
Fetches the deployment Id coresponding to this bean. Service unit ID.



getDeploymentType
public java.lang.String getDeploymentType()(Code)
Getter for property mDeploymentType. Value of property mDeploymentType.



getExtension
public String getExtension(String operation)(Code)
Gets the file extension corresponding to an operation.
Parameters:
  operation - operation name. file extension corresponding to operation.



getFileThread
public FileThreads getFileThread()(Code)
Gets the file thread. file thread object.



getInputType
public String getInputType(String operation)(Code)
Returns the input type corresponding to an operation name.
Parameters:
  operation - operation name. input message type for the operation.



getKey
public String getKey()(Code)
Gets a unique combination key key



getMEP
public String getMEP(String operation)(Code)
Gets the MEP corresponding to the operation name.
Parameters:
  operation - operation name. String representing the operation , if not present then null



getOperation
public QName getOperation(String input)(Code)
Gets the operation name corresponding to the input type in WSDL.
Parameters:
  input - name of the input type. String representing the operation , if not present then null



getOperationQName
public QName getOperationQName(int index)(Code)
Gets the fully qualified name of operation given the position in XML or WSDL.
Parameters:
  index - occurence of operation inXML or WSDL. the QName of operation.



getOperationsCount
public int getOperationsCount()(Code)
Returns the number of operations in XML or WSDL. number of operations for this endpoint.



getOutputType
public String getOutputType(String operation)(Code)
Returns the output type corresponding to an operation.
Parameters:
  operation - operation name. output message type.



getPrefix
public String getPrefix(String operation)(Code)
Gets the file prefix corresponding to an operation.
Parameters:
  operation - operation name. output file prefix.



getReceiverThread
public Thread getReceiverThread()(Code)
Returns the receiver thread. receiver thread object.



getRole
public int getRole()(Code)
Returns the role. role



getServiceEndpoint
public ServiceEndpoint getServiceEndpoint()(Code)
Gets the enpoint reference corresponding to this endpoint. endpoint reference.



getUniqueName
public String getUniqueName()(Code)
Returns a unique name which is a combination of service name and endpoint name. unique name of this endpoint. Its a combination of service nameand endpoint name.



getValue
public String getValue(String key)(Code)
Returns the value associated with the key from the table.
Parameters:
  key - the tag name for which value is required. value corresponding to the tag as in config file.



getWsdlDefinition
public Object getWsdlDefinition()(Code)



setDeploymentId
public void setDeploymentId(String suId)(Code)
Sets the deployment Id corresponding to this endpoint Bean.
Parameters:
  suId - Service unit Id.



setDeploymentType
public void setDeploymentType(java.lang.String mDeploymentType)(Code)
Setter for property mDeploymentType.
Parameters:
  mDeploymentType - New value of property mDeploymentType.



setFileThread
public void setFileThread(FileThreads ft)(Code)
Sets the file thread.
Parameters:
  ft - File thread object.



setReceiverThread
public void setReceiverThread(Thread t)(Code)
Sets the receiver thread.
Parameters:
  t - thread



setRole
public void setRole(int role)(Code)
Sets the role of this endpoint, provider or consumer.
Parameters:
  role - should be provider or comsumer, 0 or 1.



setServiceEndpoint
public void setServiceEndpoint(ServiceEndpoint ref)(Code)
Sets the endpoint reference once the endpoitn has been activated with the NMS.
Parameters:
  ref - endpoint reference



setValue
public void setValue(String key, String value)(Code)
Sets the value for the key in the table.
Parameters:
  key - for which value has to be retrieved.
Parameters:
  value - corresponding to the key



setWsdlDefintion
public void setWsdlDefintion(Object def)(Code)



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.