Hi!
I'm trying to get the statistics that jbossws generates for the web service deployed. I don't have an idea about how to do this.
I've asked in the forum of jbossws and the only thing that users have telled me is to use jmx, but how?
I've reade something about jmx from the sun site but I understand nothing.
An user have given me this 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); ... }