org.codehaus.xfire.service.object
Class DefaultObjectService
java.lang.Object
org.codehaus.xfire.AbstractXFireComponent
org.codehaus.xfire.service.MessageService
org.codehaus.xfire.service.object.DefaultObjectService
- All Implemented Interfaces:
- ObjectService, org.codehaus.xfire.service.Service
public class DefaultObjectService
- extends org.codehaus.xfire.service.MessageService
- implements ObjectService
- Author:
- Dan Diephouse
Fields inherited from interface org.codehaus.xfire.service.Service |
ROLE |
Methods inherited from class org.codehaus.xfire.service.MessageService |
getDefaultNamespace, getFaultHandler, getFaultPipeline, getName, getProperty, getRequestPipeline, getResponsePipeline, getServiceHandler, getSoapVersion, getStyle, getUse, setDefaultNamespace, setFaultHandler, setFaultPipeline, setName, setProperty, setRequestPipeline, setResponsePipeline, setServiceHandler, setSoapVersion, setStyle, setUse, setWSDL, setWSDLURL, setWSDLURL, setWSDLWriter |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.codehaus.xfire.service.Service |
getDefaultNamespace, getFaultHandler, getFaultPipeline, getName, getProperty, getRequestPipeline, getResponsePipeline, getServiceHandler, getSoapVersion, getStyle, getUse, setProperty |
DefaultObjectService
public DefaultObjectService()
setServiceClass
public void setServiceClass(java.lang.String className)
throws java.lang.ClassNotFoundException
- Parameters:
className
-
- Throws:
java.lang.ClassNotFoundException
setServiceClass
public void setServiceClass(java.lang.Class serviceClass)
- Parameters:
serviceClass
-
addOperation
public void addOperation(Operation op)
getOperation
public Operation getOperation(java.lang.String localName)
- Description copied from interface:
ObjectService
- Get an operation.
- Specified by:
getOperation
in interface ObjectService
- Parameters:
localName
- The name of the operation.
- Returns:
getOperations
public java.util.Collection getOperations()
- Description copied from interface:
ObjectService
- Get all the operations for this service.
- Specified by:
getOperations
in interface ObjectService
- Returns:
getOperationsMap
protected java.util.Map getOperationsMap()
getAllowedMethods
public java.util.List getAllowedMethods()
setAllowedMethods
public void setAllowedMethods(java.util.List allowedMethods)
- Parameters:
allowedMethods
- The allowedMethods to set.
getTypeMapping
public TypeMapping getTypeMapping()
- Description copied from interface:
ObjectService
- The TypeMapping for this service.
- Specified by:
getTypeMapping
in interface ObjectService
- Returns:
setTypeMapping
public void setTypeMapping(TypeMapping typeMapping)
- Parameters:
typeMapping
- The typeMapping to set.
getServiceClass
public java.lang.Class getServiceClass()
- Description copied from interface:
ObjectService
- The class which the operations map to.
- Specified by:
getServiceClass
in interface ObjectService
- Returns:
loadClass
protected java.lang.Class loadClass(java.lang.String className)
throws java.lang.ClassNotFoundException
- Load a class from the class loader.
- Parameters:
className
- The name of the class.
- Returns:
- The class.
- Throws:
java.lang.ClassNotFoundException
getWSDLWriter
public org.codehaus.xfire.wsdl.WSDLWriter getWSDLWriter()
throws javax.wsdl.WSDLException
- Specified by:
getWSDLWriter
in interface org.codehaus.xfire.service.Service
- Overrides:
getWSDLWriter
in class org.codehaus.xfire.service.MessageService
- Throws:
javax.wsdl.WSDLException
isAutoTyped
public boolean isAutoTyped()
setAutoTyped
public void setAutoTyped(boolean autoTyped)
getScope
public int getScope()
- Specified by:
getScope
in interface ObjectService
setScope
public void setScope(int scope)
getWSDLBuilder
public WSDLBuilder getWSDLBuilder()
setWSDLBuilder
public void setWSDLBuilder(WSDLBuilder wsdlBuilder)
getEncodingStyleURI
public java.lang.String getEncodingStyleURI()
setEncodingStyleURI
public void setEncodingStyleURI(java.lang.String encodingStyleURI)
Copyright © 2004-2005 Codehaus. All Rights Reserved.