[jboss-user] [JBossWS] - Re: Deployed service statistics

oskar.carlstedt do-not-reply at jboss.com
Mon Oct 22 07:37:04 EDT 2007


Hi!

Just take a look in the source code for the jbossws web application and you´re up and running. It's really simple when you find the correct source.

Anyway, here is a code snippet ...

  | // get SPI provider and endpoint registry
  | SPIProvider spiProvider = SPIProviderResolver.getInstance()
  |         .getProvider();
  | EndpointRegistry epRegistry = spiProvider.getSPI(
  |         EndpointRegistryFactory.class).getEndpointRegistry();
  | 
  | // loop over all endpoints
  | Set<ObjectName> objectNames = epRegistry.getEndpoints();
  | for (ObjectName objectName : objectNames) {
  | 
  |     // get the endpoint by using its name
  |     Endpoint endpoint = epRegistry.getEndpoint(objectName);
  | 
  |     ...	
  | }
  | 


Cheers,
Oskar


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097413#4097413

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097413




More information about the jboss-user mailing list