org.apache.beehive.wsm.jsr181.model
Class WebServiceTYPEMetadata
Object
AnnotationModel
WebServiceTYPEMetadata
public class WebServiceTYPEMetadata
- extends AnnotationModel
Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WebServiceTYPEMetadata
public WebServiceTYPEMetadata(String sibClassName)
- Constructor.
- Parameters:
sibClassName
- The fully-qualified name of the service
implementation bean class.
WebServiceTYPEMetadata
public WebServiceTYPEMetadata(WebService sibWsAnnotation,
String sibClassName,
Collection<Annotation> annotations,
Collection<? extends WebServiceMETHODMetadata> webMethods)
throws Exception
- This method does not require to load the service implementation bean
class.
- Parameters:
sibWsAnnotation
- The @WebService annotation of the service
implementation bean.sibClassName
- The fully-qualified name of the service
implementation bean class.annotations
- All annotations (including @WebService) of the
service endpoint interface if it exists; all annotations
(including @WebService) of the service implementation bean otherwise.webMethods
- All methods that are published by the service.
- Throws:
Exception
initFromAnnotation
protected void initFromAnnotation(WebService sibWsAnnotation,
WebService seiWsAnnotation)
initHandlersFromChainConfig
public void initHandlersFromChainConfig(URL chainConfigURL,
String chainName)
throws Exception
- Made public so specific implementations can configure handlers relevant
to their own environment. Calls to this are ignored if SOAPHandlers are
already configured.
e.g. in case the config file is located next to the .jws source file in
the context root of an axis webapp rather than in the classpath
- Throws:
Exception
validate
public void validate()
throws ValidationException
- Checks whether the implementation bean implements all the methods
specified in the endpointInterface.
- Specified by:
validate
in class AnnotationModel
- Throws:
ValidationException
getWSDLAsDocument
public DefinitionsDocument getWSDLAsDocument()
throws IOException,
XmlException
- Throws:
IOException
XmlException
getHcFileName
public String getHcFileName()
- Returns:
- Returns the hcFileName.
setHcFileName
public void setHcFileName(String hcFileName)
- Parameters:
hcFileName
- The hcFileName to set.
getHcName
public String getHcName()
- Returns:
- Returns the hcName.
setHcName
public void setHcName(String hcName)
- Parameters:
hcName
- The hcName to set.
getSecurityRoles
public SecurityRolesInfo getSecurityRoles()
- Returns:
- Returns the securityRoles.
setSecurityRoles
public void setSecurityRoles(SecurityRolesInfo securityRoles)
- Parameters:
securityRoles
- The securityRoles to set.
getSiValue
public String getSiValue()
- Returns:
- Returns the siRunAs.
setSiValue
public void setSiValue(String siValue)
- Parameters:
siValue
- The siRunAs to set.
getSoapBinding
public SOAPBindingInfo getSoapBinding()
- Returns:
- Returns the soapBinding.
setSoapBinding
public void setSoapBinding(SOAPBindingInfo soapBinding)
- Parameters:
soapBinding
- The soapBinding to set.
getWsName
public String getWsName()
- Returns:
- Returns the wsName.
setWsName
public void setWsName(String wsName)
- Parameters:
wsName
- The wsName to set.
getWsServiceName
public String getWsServiceName()
- Returns:
- Returns the wsServiceName.
setWsServiceName
public void setWsServiceName(String wsServiceName)
- Parameters:
wsServiceName
- The wsServiceName to set.
getWsTargetNamespace
public String getWsTargetNamespace()
- Returns:
- Returns the wsTargetNamespace.
setWsTargetNamespace
public void setWsTargetNamespace(String wsTargetNamespace)
- Parameters:
wsTargetNamespace
- The wsTargetNamespace to set.
getWsEndpointInterface
public String getWsEndpointInterface()
- Returns:
- Returns the wsEndpointInterface.
setWsEndpointInterface
public void setWsEndpointInterface(String wsEndpointInterface)
- Parameters:
wsEndpointInterface
- The wsEndpointInterface to set.
getWsWsdlLocation
public String getWsWsdlLocation()
- Returns:
- Returns the wsWsdlLocation.
setWsWsdlLocation
public void setWsWsdlLocation(String wsWsdlLocation)
- Parameters:
wsWsdlLocation
- The wsWsdlLocation to set.
getMethods
public Collection<WebServiceMETHODMetadata> getMethods()
- Returns:
- Returns the methods.
addMethod
public void addMethod(WebServiceMETHODMetadata method)
getSoapHandlers
public List<SOAPMessageHandlerInfo> getSoapHandlers()
addSOAPHandler
public void addSOAPHandler(SOAPMessageHandlerInfo soapHandler)
getServiceImplementationBean
public String getServiceImplementationBean()
getServiceEndpointInterface
public String getServiceEndpointInterface()