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

_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to