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#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...