org.codehaus.xfire.java
Class AbstractJavaService
java.lang.Object
|
+--org.codehaus.xfire.AbstractXFireComponent
|
+--org.codehaus.xfire.service.SimpleService
|
+--org.codehaus.xfire.plexus.PlexusService
|
+--org.codehaus.xfire.java.AbstractJavaService
- All Implemented Interfaces:
- org.codehaus.plexus.personality.plexus.lifecycle.phase.Configurable, org.codehaus.plexus.personality.plexus.lifecycle.phase.Initializable, JavaService, org.codehaus.xfire.service.Service, org.codehaus.plexus.personality.plexus.lifecycle.phase.Serviceable
- Direct Known Subclasses:
- XmlJavaService
- public abstract class AbstractJavaService
- extends org.codehaus.xfire.plexus.PlexusService
- implements JavaService
- Author:
- Dan Diephouse
| Fields inherited from interface org.codehaus.xfire.service.Service |
ROLE |
| Methods inherited from class org.codehaus.xfire.plexus.PlexusService |
configure, getFaultHandlerHint, getServiceLocator, getServiceRegistry, service, setFaultHandlerHint |
| Methods inherited from class org.codehaus.xfire.service.SimpleService |
getDefaultNamespace, getName, getProperty, getServiceHandler, getSoapVersion, getStyle, getUse, getWSDL, getWSDLBuilder, getWSDLURL, setDefaultNamespace, setFaultHandler, setName, setProperty, setServiceHandler, setSoapVersion, setStyle, setUse, setWSDL, setWSDLBuilder, setWSDLURL |
| 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, getName, getProperty, getServiceHandler, getSoapVersion, getStyle, getUse, getWSDL, setProperty |
SERVICE_CLASS
protected static final java.lang.String SERVICE_CLASS
- See Also:
- Constant Field Values
ALLOWED_METHODS
protected static final java.lang.String ALLOWED_METHODS
- See Also:
- Constant Field Values
AbstractJavaService
public AbstractJavaService()
setServiceClass
public void setServiceClass(java.lang.String className)
throws java.lang.ClassNotFoundException
- Parameters:
className -
java.lang.ClassNotFoundException
getOperation
public Operation getOperation(java.lang.String localName,
java.lang.String namespace)
- Specified by:
getOperation in interface JavaService
- See Also:
JavaService.getOperation(java.lang.String, java.lang.String)
getOperations
public java.util.Collection getOperations()
- Specified by:
getOperations in interface JavaService
- See Also:
JavaService.getOperations()
getAllowedMethods
public java.util.List getAllowedMethods()
- Specified by:
getAllowedMethods in interface JavaService
- Returns:
- Returns the allowedMethods.
setAllowedMethods
public void setAllowedMethods(java.util.List allowedMethods)
- Parameters:
allowedMethods - The allowedMethods to set.
getTypeMapping
public TypeMapping getTypeMapping()
- Specified by:
getTypeMapping in interface JavaService
- Returns:
- Returns the typeMapping.
setTypeMapping
public void setTypeMapping(TypeMapping typeMapping)
- Parameters:
typeMapping - The typeMapping to set.
getServiceClass
public java.lang.Class getServiceClass()
- Specified by:
getServiceClass in interface JavaService
- Returns:
loadClass
protected java.lang.Class loadClass(java.lang.String className)
throws java.lang.Exception
- Load a class from the class loader.
- Parameters:
className - The name of the class.
- Returns:
- The class.
- Throws:
java.lang.Exception
initialize
public void initialize()
throws java.lang.Exception
- Specified by:
initialize in interface org.codehaus.plexus.personality.plexus.lifecycle.phase.Initializable- Overrides:
initialize in class org.codehaus.xfire.plexus.PlexusService
java.lang.Exception- See Also:
org.apache.avalon.framework.activity.Initializable#initialize()
getTypeMappingRegistry
public TypeMappingRegistry getTypeMappingRegistry()
getFaultHandler
public org.codehaus.xfire.fault.FaultHandler getFaultHandler()
- Specified by:
getFaultHandler in interface org.codehaus.xfire.service.Service- Overrides:
getFaultHandler in class org.codehaus.xfire.plexus.PlexusService
isAutoTyped
public boolean isAutoTyped()
setAutoTyped
public void setAutoTyped(boolean autoTyped)
Copyright © 2004 Codehaus. All Rights Reserved.