| java.lang.Object com.sun.jbi.management.binding.ModelBindingComponent com.sun.jbi.binding.proxy.ProxyBindingLifeCycle
Method Summary | |
public void | dumpState() Displays ProxyBinding state on the server.log. | public ComponentContext | getComponentContext() | public javax.management.ObjectName | getExtensionMBeanName() Get the ObjectName for any MBean that is provided for managing this
binding. | public javax.jbi.component.ComponentLifeCycle | getLifeCycle() Get the Lifecycle for this entity. | public MBeanNotificationInfo[] | getNotificationInfo() Returns an array indicating, for each notification this
MBean may send, the name of the Java class of the notification
and the notification type.
It is not illegal for the MBean to send notifications not
described in this array. | public ProxyBindingStatistics | getProxyBindingStatistics() Returns a handle to the ProxyBindingStatistics instance.
ProxyBindingStatistics handle to local stats reference. | public Document | getServiceDescription(ServiceEndpoint endpoint) Retrieves a DOM representation containing metadata which describes the
service provided by this component, through the given endpoint. | public javax.jbi.component.ServiceUnitManager | getServiceUnitManager() Get the ServiceUnitManager. | public void | init(javax.jbi.component.ComponentContext jbiContext) Initialize the Proxy BC. | public boolean | isExchangeWithConsumerOkay(ServiceEndpoint endpoint, MessageExchange exchange) This method is called by JBI to check if this component, in the role of
provider of the service indicated by the given exchange, can actually
perform the operation desired. | public boolean | isExchangeWithProviderOkay(ServiceEndpoint endpoint, MessageExchange exchange) This method is called by JBI to check if this component, in the role of
consumer of the service indicated by the given exchange, can actually
interact with the provider properly. | public void | postNotification(String type, String value) | public ServiceEndpoint | resolveEndpointReference(DocumentFragment epr) Resolve the given endpoint reference. | public void | shutDown() Shutdown the BC. | public void | start() Start the Proxy BC. | public void | stop() Stop the BC. |
ESB_MEMBER_JOIN | final public static String ESB_MEMBER_JOIN(Code) | | |
ESB_MEMBER_LEAVE | final public static String ESB_MEMBER_LEAVE(Code) | | |
mInstanceName | String mInstanceName(Code) | | Our JbiInstanceName.
|
mNotificationSequence | int mNotificationSequence(Code) | | |
dumpState | public void dumpState()(Code) | | Displays ProxyBinding state on the server.log.
|
getExtensionMBeanName | public javax.management.ObjectName getExtensionMBeanName()(Code) | | Get the ObjectName for any MBean that is provided for managing this
binding. In this case, there is none, so a null is returned.
ObjectName is always null. |
getNotificationInfo | public MBeanNotificationInfo[] getNotificationInfo()(Code) | | Returns an array indicating, for each notification this
MBean may send, the name of the Java class of the notification
and the notification type.
It is not illegal for the MBean to send notifications not
described in this array. However, some clients of the MBean
server may depend on the array being complete for their correct
functioning.
the array of possible notifications. |
getProxyBindingStatistics | public ProxyBindingStatistics getProxyBindingStatistics()(Code) | | Returns a handle to the ProxyBindingStatistics instance.
ProxyBindingStatistics handle to local stats reference. |
getServiceDescription | public Document getServiceDescription(ServiceEndpoint endpoint)(Code) | | Retrieves a DOM representation containing metadata which describes the
service provided by this component, through the given endpoint. The
result can use WSDL 1.1 or WSDL 2.0.
Parameters: endpoint - the service endpoint. the description for the specified service endpoint. |
init | public void init(javax.jbi.component.ComponentContext jbiContext) throws javax.jbi.JBIException(Code) | | Initialize the Proxy BC. This performs initialization required by the
Proxy BC but does not make it ready to process messages. This method is
called immediately after installation of the Proxy BC. It is also
called when the JBI framework is starting up, and any time the BC is
being restarted after previously being shut down through a call to
shutdown().
Parameters: jbiContext - the JBI environment context throws: javax.jbi.JBIException - if the BC is unable to initialize. |
isExchangeWithConsumerOkay | public boolean isExchangeWithConsumerOkay(ServiceEndpoint endpoint, MessageExchange exchange)(Code) | | This method is called by JBI to check if this component, in the role of
provider of the service indicated by the given exchange, can actually
perform the operation desired.
Parameters: endpoint - the endpoint to be used by the consumer; must benon-null. Parameters: exchange - the proposed message exchange to be performed; must benon-null. true if this provider component can perform thegiven exchange with the described consumer. |
isExchangeWithProviderOkay | public boolean isExchangeWithProviderOkay(ServiceEndpoint endpoint, MessageExchange exchange)(Code) | | This method is called by JBI to check if this component, in the role of
consumer of the service indicated by the given exchange, can actually
interact with the provider properly. The provider is described by the
given endpoint and the service description supplied by that endpoint.
Parameters: endpoint - the endpoint to be used by the provider; must benon-null. Parameters: exchange - the proposed message exchange to be performed; must benon-null. true if this consumer component can interact withthe described provider to perform the given exchange. |
resolveEndpointReference | public ServiceEndpoint resolveEndpointReference(DocumentFragment epr)(Code) | | Resolve the given endpoint reference. This is called by JBI when it is
attempting to resolve the given EPR on behalf of a component.
If this component returns a non-null result, it must conform to the
following:
- This component implements the
ServiceEndpoint returned.
- The result must not be registered or activated with the JBI
implementation.
Dynamically resolved endpoints are distinct from static ones; they must
not be activated (see
ComponentContext.activateEndpoint(QNameString) ), nor registered (see
ComponentContext ) by components.
They can only be used to address message exchanges; the JBI
implementation must deliver such exchanges to the component that resolved
the endpoint reference (see
ComponentContext.resolveEndpointReference(DocumentFragment) ).
Parameters: epr - the endpoint reference, in some XML dialect understood bythe appropriate component (usually a binding); must be non-null. the service endpoint for the EPR; null if theEPR cannot be resolved by this component. |
shutDown | public void shutDown() throws javax.jbi.JBIException(Code) | | Shutdown the BC. This performs cleanup before the BC is terminated.
Once this has been called, init() must be called before the BC can be
started again with a call to start().
throws: javax.jbi.JBIException - if the BC is unable to shut down. |
start | public void start() throws javax.jbi.JBIException(Code) | | Start the Proxy BC. This makes the Proxy BC ready to process messages.
This method is called after init() completes when the JBI framework is
starting up, and when the BC is being restarted after a previous call
to shutdown(). If stop() was called previously but shutdown() was not,
start() can be called without a call to init().
throws: javax.jbi.JBIException - if the BC is unable to start. |
stop | public void stop() throws javax.jbi.JBIException(Code) | | Stop the BC. This makes the BC stop accepting messages for processing.
After a call to this method, start() can be called again without first
calling init().
throws: javax.jbi.JBIException - if the BC is unable to stop. |
Methods inherited from com.sun.jbi.management.binding.ModelBindingComponent | public void addNotificationListener(NotificationListener listener, NotificationFilter filter, Object handback) throws java.lang.IllegalArgumentException(Code)(Java Doc) protected void bootstrap()(Code)(Java Doc) public String deploy(String serviceUnitName, String serviceUnitRootPath) throws DeploymentException(Code)(Java Doc) public String getComponentInfo()(Code)(Java Doc) public ObjectName getConfigurationMBean()(Code)(Java Doc) public ObjectName getDefaultLoggerMBean()(Code)(Java Doc) public ObjectName getDeployerMBean()(Code)(Java Doc) public ObjectName getExtensionMBeanName()(Code)(Java Doc) public String getHelp()(Code)(Java Doc) public ComponentLifeCycle getLifeCycle()(Code)(Java Doc) public ObjectName getLifeCycleMBean()(Code)(Java Doc) public ObjectName getLoggerMBeanByName(String aLoggerName)(Code)(Java Doc) public ObjectName[] getLoggerMBeans()(Code)(Java Doc) public NotificationBroadcasterSupport getNotificationBroadcaster()(Code)(Java Doc) public MBeanNotificationInfo[] getNotificationInfo()(Code)(Java Doc) public Document getServiceDescription(ServiceEndpoint endpoint)(Code)(Java Doc) public ServiceUnitManager getServiceUnitManager()(Code)(Java Doc) public String getcomponentName()(Code)(Java Doc) public void init(ComponentContext context) throws JBIException(Code)(Java Doc) public void init(String serviceUnitName, String serviceUnitRootPath) throws DeploymentException(Code)(Java Doc) protected void initModelBindingComponent(javax.jbi.component.ComponentContext anEnv, JbiNameInfo aJbiName)(Code)(Java Doc) protected void initModelBindingComponent(javax.jbi.component.ComponentContext anEnv, Logger aLogger, JbiNameInfo aJbiName)(Code)(Java Doc) public boolean isExchangeWithConsumerOkay(ServiceEndpoint endpoint, MessageExchange exchange)(Code)(Java Doc) public boolean isExchangeWithProviderOkay(ServiceEndpoint endpoint, MessageExchange exchange)(Code)(Java Doc) public String messageDeployOkay()(Code)(Java Doc) public String messageUnDeployOkay()(Code)(Java Doc) public void removeNotificationListener(NotificationListener listener) throws ListenerNotFoundException(Code)(Java Doc) public void removeNotificationListener(NotificationListener listener, NotificationFilter filter, Object handback) throws ListenerNotFoundException(Code)(Java Doc) public ServiceEndpoint resolveEndpointReference(DocumentFragment epr)(Code)(Java Doc) public void shutDown() throws JBIException(Code)(Java Doc) public void shutDown(String serviceUnitName) throws DeploymentException(Code)(Java Doc) public void start() throws JBIException(Code)(Java Doc) public void start(String serviceUnitName) throws DeploymentException(Code)(Java Doc) public void stop() throws JBIException(Code)(Java Doc) public void stop(String serviceUnitName) throws DeploymentException(Code)(Java Doc) public String undeploy(String serviceUnitName, String serviceUnitRootPath) throws DeploymentException(Code)(Java Doc)
|
|
|