This documentation is for WSO2 Carbon 4.2.0. View documentation for the latest release.
Page Comparison - CarbonContext API (v.18 vs v.19) - Carbon 4.2.0 - WSO2 Documentation

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This method obtains a JNDI-context with the given initialization properties.

@param Method description
properties - the properties required to create the JNDI-context instance.
@throws NamingException - if the operation failedfails, the naming exception will be thrown.

Context getJNDIContext() throws NamingException

This method obtains a JNDI-context.

Method description
@throws NamingException if - if the operation failedfails, the naming exception will be thrown.

Anchor
discover
discover

String[] discover(URI[] scopes)

Discover This method is used to discover a set of service endpoints belonging the defined scopes. Therefore, when this method is executed the list of service endpoints will be returned.

@param Method description
scopes - the scopes in which to look-up for the service.
@return a list of service endpoints.