org.ow2.jonas.webapp.jonasadmin.service.webservice.provider
Class JOnASProvider
java.lang.Object
org.ow2.jonas.webapp.jonasadmin.service.webservice.provider.JOnASProvider
public class JOnASProvider
- extends Object
Jonas specific provider meant to extract useful information from mbeans
registered in jonas and fill specific constructs.
- Author:
- Vivek Lakshmanan
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ON_STATELESS_SESSION_BEANS
public static final String ON_STATELESS_SESSION_BEANS
- See Also:
- Constant Field Values
ON_J2EE_SERVERS
public static final String ON_J2EE_SERVERS
- See Also:
- Constant Field Values
ON_WEB_SERVICES
public static final String ON_WEB_SERVICES
- See Also:
- Constant Field Values
logger
protected static org.objectweb.util.monolog.api.Logger logger
JOnASProvider
public JOnASProvider(String serverName)
getWebServiceDescription
public Collection getWebServiceDescription()
throws Exception
- Get webservice descriptions for webservices registered on jonas.
- Returns:
- Collection of web service descriptions.
- Throws:
Exception
- When the mbean server could not be queried.
getWebServiceDescription
public WebServiceDescriptionItem getWebServiceDescription(String id)
throws Exception
- Gets a specific webservice description based on the given ID.
- Parameters:
id
- A unique identifier.
- Returns:
- Corresponding webservice description.
- Throws:
Exception
- when no webservices found, EntityNotFoundException when the
when the ID did not match a webservice description.
Copyright © 2010 OW2 Consortium. All Rights Reserved.