public class MDPWSService
extends org.ws4d.java.service.DefaultService
| Modifier and Type | Class and Description |
|---|---|
protected class |
MDPWSService.BindingMatcher |
protected class |
MDPWSService.MDPWSServiceMessageListener |
protected class |
MDPWSService.MessageMatcher |
protected class |
MDPWSService.OperationMatcher |
protected class |
MDPWSService.PortTypeMatcher |
protected class |
MDPWSService.SubjectMatcher |
| Modifier and Type | Field and Description |
|---|---|
protected org.ws4d.java.structures.HashMap |
streams |
BINDING_POSTFIX, communicationAutoBindings, communicationBindingsDown, communicationBindingsUp, configurationId, FAULT_MSG_POSTFIX, hosted, IN_MSG_POSTFIX, OUT_MSG_POSTFIX, outgoingDiscoveryInfosDown, outgoingDiscoveryInfosUp, parentDevice, resourceURIs, SERVICE_STATE_REGISTERED, SERVICE_STATE_RUNNING, SERVICE_STATE_UNREGISTERED, serviceProp, serviceReference, state, subscriptionManager, wsdlURIs| Constructor and Description |
|---|
MDPWSService(int i) |
| Modifier and Type | Method and Description |
|---|---|
protected org.ws4d.java.description.wsdl.WSDLBinding |
addBindingForPortType(org.ws4d.java.structures.List policyAttachmentPoints,
org.ws4d.java.description.wsdl.WSDL wsdl,
java.lang.String namespace,
org.ws4d.java.description.wsdl.WSDLPortType portType) |
protected org.ws4d.java.description.wsdl.WSDLBinding |
addDocLitBinding(org.ws4d.java.description.wsdl.soap12.SOAP12DocumentLiteralHTTPBindingBuilder builder,
org.ws4d.java.description.wsdl.WSDL wsdl,
java.lang.String namespace,
org.ws4d.java.description.wsdl.WSDLPortType portType) |
protected void |
addMDPWSOperation(MDPWSOperation operation) |
void |
addOperation(org.ws4d.java.service.Operation operation) |
void |
addStreamSource(DefaultStreamSource streamSource) |
protected void |
addWSDLEventSource(org.ws4d.java.service.DefaultEventSource event,
org.ws4d.java.description.wsdl.WSDL wsdl,
org.ws4d.java.description.wsdl.WSDLPortType portType,
java.lang.String namespace) |
protected void |
addWSDLEventSources(org.ws4d.java.description.wsdl.WSDL wsdl,
java.lang.String namespace,
org.ws4d.java.description.wsdl.WSDLPortType portType,
org.ws4d.java.service.ServiceCommons.PortType type) |
protected void |
addWSDLOperation(org.ws4d.java.service.Operation operation,
org.ws4d.java.description.wsdl.WSDL wsdl,
org.ws4d.java.description.wsdl.WSDLPortType portType,
java.lang.String namespace) |
protected void |
addWSDLOperations(org.ws4d.java.description.wsdl.WSDL wsdl,
java.lang.String namespace,
org.ws4d.java.description.wsdl.WSDLPortType portType,
org.ws4d.java.service.ServiceCommons.PortType type) |
protected void |
addWSDLPortType(org.ws4d.java.structures.List policyAttachmentPoints,
org.ws4d.java.description.wsdl.WSDL wsdl,
java.lang.String namespace,
org.ws4d.java.description.wsdl.WSDLPortType portType,
org.ws4d.java.service.ServiceCommons.PortType type) |
protected void |
addWSDLStreamSource(DefaultStreamSource stmSource,
org.ws4d.java.description.wsdl.WSDL wsdl,
MDPWSWSDLPortType portType,
java.lang.String namespace) |
void |
closeStreamSource() |
protected org.ws4d.java.communication.listener.IncomingMessageListener |
createListener(org.ws4d.java.security.CredentialInfo credInfo) |
protected void |
createMDPWSPortType(org.ws4d.java.types.QName portType)
Create a MDPWS Port type.
|
org.ws4d.java.description.wsdl.WSDL |
getDescription(java.lang.String targetNamespace) |
StreamSourceCommons |
getStreamSource(java.lang.String outputAction) |
org.ws4d.java.structures.Iterator |
getStreamSources() |
void |
openStreamSources() |
void |
start() |
void |
stop() |
addBinding, addBinding, addCustomMData, addEventSource, addOutgoingDiscoveryInfo, addOutgoingDiscoveryInfo, addPortType, clearBindings, createEventSource, createOperation, define, define, define, deployMetadataResources, deployMetadataResources, deviceCommunicationBindingDestroyed, deviceCommunicationBindingDown, deviceCommunicationBindingUp, deviceNewCommunicationBindingAvailable, deviceStartUpdates, deviceStopUpdates, disconnectAllServiceReferences, equals, exclusiveLock, getAllEventSources, getAllOperations, getAuthorizationManager, getCommunicationAutoBindings, getCommunicationBindings, getConfigurationID, getCustomMData, getDescriptionsForPortTypes, getEprInfos, getEventSource, getEventSources, getHosted, getOperation, getOperations, getOutgoingDiscoveryInfos, getParentDevice, getParentDeviceReference, getPortTypes, getPortTypesQNameSet, getServiceId, getServiceReference, getStatus, getSubscriptionManager, getTargetNamespaces, hasCommunicationAutoBindings, hasCommunicationBindings, hashCode, hasOutgoingDiscoveryInfos, isRemote, isRunning, pause, recurseLinkedSchemas, recurseLinkedSchemas, releaseExclusiveLock, releaseSharedLock, removeBinding, removeBinding, removeOutgoingDiscoveryInfo, removeOutgoingDiscoveryInfo, renew, serviceMatches, setAuthorizationManager, setCustomMData, setParentDevice, setServiceId, sharedLock, subscribe, undeployMetadataResources, unsubscribegetDescriptions, getEventsInternal, getExistingDescription, getPortTypeAttribute, getPortTypeAttributes, getPortTypesInternal, hasPortTypeAttributes, processWSDLPortType, setPortTypeAttribute, setPortTypeAttributes, toStringprotected org.ws4d.java.communication.listener.IncomingMessageListener createListener(org.ws4d.java.security.CredentialInfo credInfo)
createListener in class org.ws4d.java.service.DefaultServicepublic StreamSourceCommons getStreamSource(java.lang.String outputAction)
public org.ws4d.java.structures.Iterator getStreamSources()
public void addOperation(org.ws4d.java.service.Operation operation)
addOperation in interface org.ws4d.java.service.LocalServiceaddOperation in class org.ws4d.java.service.DefaultServiceprotected void createMDPWSPortType(org.ws4d.java.types.QName portType)
addMDPWSOperation(MDPWSOperation).portType - protected void addMDPWSOperation(MDPWSOperation operation)
public void addStreamSource(DefaultStreamSource streamSource)
public org.ws4d.java.description.wsdl.WSDL getDescription(java.lang.String targetNamespace)
getDescription in interface org.ws4d.java.service.ServicegetDescription in class org.ws4d.java.service.DefaultServiceprotected void addWSDLPortType(org.ws4d.java.structures.List policyAttachmentPoints,
org.ws4d.java.description.wsdl.WSDL wsdl,
java.lang.String namespace,
org.ws4d.java.description.wsdl.WSDLPortType portType,
org.ws4d.java.service.ServiceCommons.PortType type)
protected void addWSDLStreamSource(DefaultStreamSource stmSource, org.ws4d.java.description.wsdl.WSDL wsdl, MDPWSWSDLPortType portType, java.lang.String namespace)
protected void addWSDLEventSources(org.ws4d.java.description.wsdl.WSDL wsdl,
java.lang.String namespace,
org.ws4d.java.description.wsdl.WSDLPortType portType,
org.ws4d.java.service.ServiceCommons.PortType type)
protected void addWSDLOperations(org.ws4d.java.description.wsdl.WSDL wsdl,
java.lang.String namespace,
org.ws4d.java.description.wsdl.WSDLPortType portType,
org.ws4d.java.service.ServiceCommons.PortType type)
protected org.ws4d.java.description.wsdl.WSDLBinding addBindingForPortType(org.ws4d.java.structures.List policyAttachmentPoints,
org.ws4d.java.description.wsdl.WSDL wsdl,
java.lang.String namespace,
org.ws4d.java.description.wsdl.WSDLPortType portType)
protected org.ws4d.java.description.wsdl.WSDLBinding addDocLitBinding(org.ws4d.java.description.wsdl.soap12.SOAP12DocumentLiteralHTTPBindingBuilder builder,
org.ws4d.java.description.wsdl.WSDL wsdl,
java.lang.String namespace,
org.ws4d.java.description.wsdl.WSDLPortType portType)
protected void addWSDLEventSource(org.ws4d.java.service.DefaultEventSource event,
org.ws4d.java.description.wsdl.WSDL wsdl,
org.ws4d.java.description.wsdl.WSDLPortType portType,
java.lang.String namespace)
protected void addWSDLOperation(org.ws4d.java.service.Operation operation,
org.ws4d.java.description.wsdl.WSDL wsdl,
org.ws4d.java.description.wsdl.WSDLPortType portType,
java.lang.String namespace)
public void start()
throws java.io.IOException
start in interface org.ws4d.java.service.LocalServicestart in class org.ws4d.java.service.DefaultServicejava.io.IOExceptionpublic void stop()
throws java.io.IOException
stop in interface org.ws4d.java.service.LocalServicestop in class org.ws4d.java.service.DefaultServicejava.io.IOExceptionpublic void closeStreamSource()
public void openStreamSources()