public class DefaultWebServicePublishService
extends java.lang.Object
implements jadex.bridge.service.types.publish.IPublishService
Modifier and Type | Field and Description |
---|---|
protected java.util.Map<jadex.bridge.service.IServiceIdentifier,javax.xml.ws.Endpoint> |
endpoints
The published endpoints.
|
Constructor and Description |
---|
DefaultWebServicePublishService() |
Modifier and Type | Method and Description |
---|---|
protected java.lang.Object |
createProxy(jadex.bridge.service.IService service,
java.lang.ClassLoader classloader,
java.lang.Class<?> type)
Create a service proxy.
|
protected java.lang.Class<?> |
getProxyClass(java.lang.Class<?> type,
java.lang.ClassLoader classloader)
Get the proxy class for a web service interface type.
|
jadex.commons.future.IFuture<java.lang.Boolean> |
isSupported(java.lang.String publishtype)
Test if publishing a specific type is supported (e.g.
|
jadex.commons.future.IFuture<java.lang.Void> |
publishService(java.lang.ClassLoader cl,
jadex.bridge.service.IService service,
jadex.bridge.service.PublishInfo pi)
Publish a service.
|
jadex.commons.future.IFuture<java.lang.Void> |
unpublishService(jadex.bridge.service.IServiceIdentifier sid)
Unpublish a service.
|
protected java.util.Map<jadex.bridge.service.IServiceIdentifier,javax.xml.ws.Endpoint> endpoints
public jadex.commons.future.IFuture<java.lang.Boolean> isSupported(java.lang.String publishtype)
isSupported
in interface jadex.bridge.service.types.publish.IPublishService
publishtype
- The type to test.public jadex.commons.future.IFuture<java.lang.Void> publishService(java.lang.ClassLoader cl, jadex.bridge.service.IService service, jadex.bridge.service.PublishInfo pi)
publishService
in interface jadex.bridge.service.types.publish.IPublishService
cl
- The classloader.service
- The original service.pid
- The publish id (e.g. url or name).public jadex.commons.future.IFuture<java.lang.Void> unpublishService(jadex.bridge.service.IServiceIdentifier sid)
unpublishService
in interface jadex.bridge.service.types.publish.IPublishService
sid
- The service identifier.protected java.lang.Object createProxy(jadex.bridge.service.IService service, java.lang.ClassLoader classloader, java.lang.Class<?> type)
service
- The Jadex service.classloader
- The classloader.type
- The web service interface type.protected java.lang.Class<?> getProxyClass(java.lang.Class<?> type, java.lang.ClassLoader classloader)
type
- The interface service type.classloader
- The class loader.