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


java.lang.Object
   com.sun.jbi.internal.security.SampleBindingContext

SampleBindingContext
public class SampleBindingContext implements com.sun.jbi.component.ComponentContext(Code)

author:
   Sun Microsystems, Inc.


Field Summary
 StringmName
    
 com.sun.jbi.binding.security.SecurityHandlermSecurityHandler
     Security Handler.

Constructor Summary
public  SampleBindingContext(String name)
    
public  SampleBindingContext(String name, SecurityService svc)
    

Method Summary
public  javax.jbi.servicedesc.ServiceEndpointactivateEndpoint(javax.xml.namespace.QName serviceName, String endpointName)
     Registers the named endpoint with the NMR.
Parameters:
  serviceName - the qualified name of the service exposed by theendpoint.
Parameters:
  endpointName - the name of the endpoint to be registered.
public  voiddeactivateEndpoint(javax.jbi.servicedesc.ServiceEndpoint endpoint)
     Deactivates the specified endpoint with the NMR.
public  voidderegisterExternalEndpoint(javax.jbi.servicedesc.ServiceEndpoint externalEndpoint)
     Deregisters the specified external endpoint with the NMR.
public  javax.jbi.messaging.DeliveryChannelgetBindingChannel()
    
public  StringgetComponentName()
    
public  StringgetComponentRoot()
    
public  javax.jbi.messaging.DeliveryChannelgetDeliveryChannel()
    
public  javax.jbi.servicedesc.ServiceEndpointgetEndpoint(javax.xml.namespace.QName service, String name)
     Get the service description for the named endpoint, if any exists.
Parameters:
  service - the qualified name of the endpoint's service.
Parameters:
  name - the name of the endpoint.
public  org.w3c.dom.DocumentgetEndpointDescriptor(javax.jbi.servicedesc.ServiceEndpoint endpoint)
     Retrieve metadata for the specified endpoint.
Parameters:
  endpoint - reference to the endpoint.
public  javax.jbi.servicedesc.ServiceEndpoint[]getEndpoints(javax.xml.namespace.QName interfaceName)
     Queries the NMR for active endpoints that implement the given interface. This will return the endpoints for all services and endpoints that implement the named interface (portType in WSDL 1.1).
public  javax.jbi.servicedesc.ServiceEndpoint[]getEndpointsForService(javax.xml.namespace.QName serviceName)
     Queries the NMR for endpoints registered against the specified service.
Parameters:
  serviceName - the qualified name of the service.
public  javax.jbi.servicedesc.ServiceEndpoint[]getExternalEndpoints(javax.xml.namespace.QName interfaceName)
     Queries the NMR for external endpoints that implement the specified interface name.
Parameters:
  interfaceName - the qualified name of the interface/portType thatis implemented by the endpoints.
public  javax.jbi.servicedesc.ServiceEndpoint[]getExternalEndpointsForService(javax.xml.namespace.QName serviceName)
     Queries the NMR for external endpoints that are part of the specified service.
Parameters:
  serviceName - the qualified name of the service that contains theendpoints.
public  StringgetInstallRoot()
    
public  java.util.logging.LoggergetLogger(String name, String rbName)
    
public  java.util.logging.LoggergetLogger(String logger)
    
public  javax.jbi.management.MBeanNamesgetMBeanNames()
    
public  javax.management.MBeanServergetMBeanServer()
    
public  com.sun.jbi.management.ManagementMessageFactorygetManagementMessageFactory()
    
public  javax.naming.InitialContextgetNamingContext()
    
public  javax.jbi.servicedesc.ServiceEndpoint[]getRegisteredEndpoints(javax.xml.namespace.QName interfaceName)
     Queries the NMR for registered endpoints that implement the specified interface.
public  com.sun.jbi.binding.security.SecurityHandlergetSecurityHandler()
     /** Get SecurityHandler.
public  com.sun.jbi.StringTranslatorgetStringTranslator(String packageName)
    
public  com.sun.jbi.StringTranslatorgetStringTranslatorFor(Object object)
    
public  ObjectgetTransactionManager()
     Get a TransactionManager from the AppServer.
public  StringgetWorkspaceRoot()
    
public  com.sun.jbi.wsdl2.WsdlFactorygetWsdlFactory()
    
public  voidregisterExternalEndpoint(javax.jbi.servicedesc.ServiceEndpoint externalEndpoint)
     Registers the specified external endpoint with the NMR.
public  voidregisterLogger(java.util.logging.Logger logger, String name)
     Register a logger.
public  voidregisterXAResource(javax.transaction.xa.XAResource resource)
     Register local XAResources.
public  javax.jbi.servicedesc.ServiceEndpointresolveEndpointReference(org.w3c.dom.DocumentFragment endpointReference)
    
public  voidunregisterLogger(java.util.logging.Logger logger)
     Unregister a logger.

Field Detail
mName
String mName(Code)
Name



mSecurityHandler
com.sun.jbi.binding.security.SecurityHandler mSecurityHandler(Code)
Security Handler.




Constructor Detail
SampleBindingContext
public SampleBindingContext(String name)(Code)
Creates a new instance of SampleBindingContext
Parameters:
  compId - is the ComponentId.
Parameters:
  name - is the Component Name



SampleBindingContext
public SampleBindingContext(String name, SecurityService svc)(Code)
Creates a new instance of SampleBindingContext
Parameters:
  name - is the Component Name




Method Detail
activateEndpoint
public javax.jbi.servicedesc.ServiceEndpoint activateEndpoint(javax.xml.namespace.QName serviceName, String endpointName) throws javax.jbi.JBIException(Code)
Registers the named endpoint with the NMR.
Parameters:
  serviceName - the qualified name of the service exposed by theendpoint.
Parameters:
  endpointName - the name of the endpoint to be registered. a reference to the registered endpoint.
throws:
  javax.jbi.JBIException - if the endpoint cannot be registered.



deactivateEndpoint
public void deactivateEndpoint(javax.jbi.servicedesc.ServiceEndpoint endpoint) throws javax.jbi.JBIException(Code)
Deactivates the specified endpoint with the NMR. Deactivation indicates to the NMR that this component will no longer process requests sent to the named endpoint.
Parameters:
  endpoint - reference to the endpoint to be deactivated.
throws:
  javax.jbi.JBIException - if the endpoint cannot be deactivated.



deregisterExternalEndpoint
public void deregisterExternalEndpoint(javax.jbi.servicedesc.ServiceEndpoint externalEndpoint) throws javax.jbi.JBIException(Code)
Deregisters the specified external endpoint with the NMR. This indicates to the NMR that external service consumers can no longer access the internal service by this name.
Parameters:
  externalEndpoint - the external endpoint to be deregistered.
throws:
  javax.jbi.JBIException - if the endpoint cannot be deregistered.



getBindingChannel
public javax.jbi.messaging.DeliveryChannel getBindingChannel() throws javax.jbi.messaging.MessagingException(Code)
null, never used in junit tests.



getComponentName
public String getComponentName()(Code)
the Component Name



getComponentRoot
public String getComponentRoot()(Code)
null, not needed by junit tests



getDeliveryChannel
public javax.jbi.messaging.DeliveryChannel getDeliveryChannel() throws javax.jbi.messaging.MessagingException(Code)
null, never used in junit tests.



getEndpoint
public javax.jbi.servicedesc.ServiceEndpoint getEndpoint(javax.xml.namespace.QName service, String name)(Code)
Get the service description for the named endpoint, if any exists.
Parameters:
  service - the qualified name of the endpoint's service.
Parameters:
  name - the name of the endpoint. the named endpoint, or null if the named endpointis not active.



getEndpointDescriptor
public org.w3c.dom.Document getEndpointDescriptor(javax.jbi.servicedesc.ServiceEndpoint endpoint) throws javax.jbi.JBIException(Code)
Retrieve metadata for the specified endpoint.
Parameters:
  endpoint - reference to the endpoint. the metadata describing the endpoint or null ifmetadata is unavailable.
throws:
  javax.jbi.JBIException - if the endpoint reference is invalid.



getEndpoints
public javax.jbi.servicedesc.ServiceEndpoint[] getEndpoints(javax.xml.namespace.QName interfaceName)(Code)
Queries the NMR for active endpoints that implement the given interface. This will return the endpoints for all services and endpoints that implement the named interface (portType in WSDL 1.1). This method does NOT include external endpoints (those registered using registerExternalEndpoint(ServiceEndpoint)).
Parameters:
  interfaceName - qualified name of interface/portType that is implemented by the endpoint ServiceEndpoint[] list of available endpoints for the specified interface name; potentially zero-length.



getEndpointsForService
public javax.jbi.servicedesc.ServiceEndpoint[] getEndpointsForService(javax.xml.namespace.QName serviceName)(Code)
Queries the NMR for endpoints registered against the specified service.
Parameters:
  serviceName - the qualified name of the service. array of available endpoints for the specified service, canbe empty if none exist.
throws:
  javax.jbi.JBIException - if the service reference is invalid.



getExternalEndpoints
public javax.jbi.servicedesc.ServiceEndpoint[] getExternalEndpoints(javax.xml.namespace.QName interfaceName)(Code)
Queries the NMR for external endpoints that implement the specified interface name.
Parameters:
  interfaceName - the qualified name of the interface/portType thatis implemented by the endpoints. array of available external endpoints for the specified interfacename; can be empty if none exist.
throws:
  javax.jbi.JBIException - if the interface name is invalid.



getExternalEndpointsForService
public javax.jbi.servicedesc.ServiceEndpoint[] getExternalEndpointsForService(javax.xml.namespace.QName serviceName)(Code)
Queries the NMR for external endpoints that are part of the specified service.
Parameters:
  serviceName - the qualified name of the service that contains theendpoints. array of available external endpoints for the specified servicename; can be empty if none exist.
throws:
  javax.jbi.JBIException - if the service name is invalid.



getInstallRoot
public String getInstallRoot()(Code)
null, not needed by junit tests



getLogger
public java.util.logging.Logger getLogger(String name, String rbName)(Code)
null, not needed by junit tests



getLogger
public java.util.logging.Logger getLogger(String logger)(Code)



getMBeanNames
public javax.jbi.management.MBeanNames getMBeanNames()(Code)
null, not needed by junit tests



getMBeanServer
public javax.management.MBeanServer getMBeanServer()(Code)
null, not needed by junit tests



getManagementMessageFactory
public com.sun.jbi.management.ManagementMessageFactory getManagementMessageFactory()(Code)
null, not needed by junit tests



getNamingContext
public javax.naming.InitialContext getNamingContext()(Code)
null, not needed by junit tests



getRegisteredEndpoints
public javax.jbi.servicedesc.ServiceEndpoint[] getRegisteredEndpoints(javax.xml.namespace.QName interfaceName) throws javax.jbi.JBIException(Code)
Queries the NMR for registered endpoints that implement the specified interface. This will return the endpoints for all services and endpoints that implement the named interface.
Parameters:
  interfaceName - the qualified name of the interface/portType thatis implemented by the endpoint. array of available endpoints for the specified interface name;can be empty if none exist.
throws:
  javax.jbi.JBIException - if the interface reference is invalid.



getSecurityHandler
public com.sun.jbi.binding.security.SecurityHandler getSecurityHandler()(Code)
/** Get SecurityHandler.



getStringTranslator
public com.sun.jbi.StringTranslator getStringTranslator(String packageName)(Code)



getStringTranslatorFor
public com.sun.jbi.StringTranslator getStringTranslatorFor(Object object)(Code)



getTransactionManager
public Object getTransactionManager()(Code)
Get a TransactionManager from the AppServer. A TransactionManager instance.



getWorkspaceRoot
public String getWorkspaceRoot()(Code)
null, not needed by junit tests



getWsdlFactory
public com.sun.jbi.wsdl2.WsdlFactory getWsdlFactory() throws com.sun.jbi.wsdl2.WsdlException(Code)



registerExternalEndpoint
public void registerExternalEndpoint(javax.jbi.servicedesc.ServiceEndpoint externalEndpoint)(Code)
Registers the specified external endpoint with the NMR. This indicates to the NMR that the specified endpoint is used as a proxy for external service consumers to access an internal service by the same name.
Parameters:
  externalEndpoint - the external endpoint to be registered.



registerLogger
public void registerLogger(java.util.logging.Logger logger, String name) throws javax.jbi.JBIException(Code)
Register a logger.
Parameters:
  logger - The logger instance to be registered.
Parameters:
  name - The logger name to be registered.
throws:
  javax.jbi.JBIException - if the logger cannot be registered.



registerXAResource
public void registerXAResource(javax.transaction.xa.XAResource resource)(Code)
Register local XAResources.



resolveEndpointReference
public javax.jbi.servicedesc.ServiceEndpoint resolveEndpointReference(org.w3c.dom.DocumentFragment endpointReference)(Code)



unregisterLogger
public void unregisterLogger(java.util.logging.Logger logger) throws javax.jbi.JBIException(Code)
Unregister a logger.
Parameters:
  logger - The logger instance to be unregistered.
throws:
  javax.jbi.JBIException - if the logger cannot be unregistered.



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.