org.jboss.portal.wsrp.services
Class CachingServiceFactory
java.lang.Object
ServiceMBeanSupport
org.jboss.portal.jems.as.system.AbstractJBossService
org.jboss.portal.wsrp.services.CachingServiceFactory
- All Implemented Interfaces:
- ServiceFactory
public class CachingServiceFactory
- extends AbstractJBossService
- implements ServiceFactory
A service factory that statically cache implementations. It is mainly used in the test environment to void the very
expensive creation of SOAP service proxies.
- Version:
- $Revision: 6366 $
- Author:
- Julien Viet
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CachingServiceFactory
public CachingServiceFactory()
getService
public java.lang.Object getService(java.lang.Class clazz)
throws java.lang.Exception
- Specified by:
getService
in interface ServiceFactory
- Throws:
java.lang.Exception
getDelegate
public ServiceFactory getDelegate()
setDelegate
public void setDelegate(ServiceFactory delegate)
isAvailable
public boolean isAvailable()
- Specified by:
isAvailable
in interface ServiceFactory
getServiceDescriptionURL
public java.lang.String getServiceDescriptionURL()
- Specified by:
getServiceDescriptionURL
in interface ServiceFactory
getMarkupURL
public java.lang.String getMarkupURL()
- Specified by:
getMarkupURL
in interface ServiceFactory
getRegistrationURL
public java.lang.String getRegistrationURL()
- Specified by:
getRegistrationURL
in interface ServiceFactory
getPortletManagementURL
public java.lang.String getPortletManagementURL()
- Specified by:
getPortletManagementURL
in interface ServiceFactory
setServiceDescriptionURL
public void setServiceDescriptionURL(java.lang.String serviceDescriptionURL)
- Specified by:
setServiceDescriptionURL
in interface ServiceFactory
setMarkupURL
public void setMarkupURL(java.lang.String markupURL)
- Specified by:
setMarkupURL
in interface ServiceFactory
setRegistrationURL
public void setRegistrationURL(java.lang.String registrationURL)
- Specified by:
setRegistrationURL
in interface ServiceFactory
setPortletManagementURL
public void setPortletManagementURL(java.lang.String portletManagementURL)
- Specified by:
setPortletManagementURL
in interface ServiceFactory