You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by ng...@apache.org on 2007/03/27 03:49:46 UTC
svn commit: r522702 [1/4] - in
/webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws:
description/impl/ description/xml/ description/xml/handler/ i18n/
Author: ngallardo
Date: Mon Mar 26 18:49:41 2007
New Revision: 522702
URL: http://svn.apache.org/viewvc?view=rev&rev=522702
Log:
AXIS2-2377
Contributor: Roy Wood
A utility for reading in the handler xml via JAXB.
Added:
webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/xml/
webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/xml/handler/
webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/xml/handler/DescriptionType.java
webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/xml/handler/DisplayNameType.java
webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/xml/handler/EjbLinkType.java
webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/xml/handler/EjbLocalRefType.java
webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/xml/handler/EjbRefNameType.java
webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/xml/handler/EjbRefType.java
webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/xml/handler/EjbRefTypeType.java
webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/xml/handler/EmptyType.java
webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/xml/handler/EnvEntryType.java
webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/xml/handler/EnvEntryTypeValuesType.java
webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/xml/handler/FullyQualifiedClassType.java
webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/xml/handler/GenericBooleanType.java
webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/xml/handler/HandlerChainType.java
webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/xml/handler/HandlerChainsType.java
webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/xml/handler/HandlerType.java
webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/xml/handler/HomeType.java
webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/xml/handler/IconType.java
webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/xml/handler/InjectionTargetType.java
webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/xml/handler/JavaIdentifierType.java
webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/xml/handler/JavaTypeType.java
webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/xml/handler/JndiNameType.java
webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/xml/handler/LifecycleCallbackType.java
webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/xml/handler/ListenerType.java
webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/xml/handler/LocalHomeType.java
webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/xml/handler/LocalType.java
webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/xml/handler/MessageDestinationLinkType.java
webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/xml/handler/MessageDestinationRefType.java
webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/xml/handler/MessageDestinationType.java
webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/xml/handler/MessageDestinationTypeType.java
webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/xml/handler/MessageDestinationUsageType.java
webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/xml/handler/ObjectFactory.java
webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/xml/handler/ParamValueType.java
webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/xml/handler/PathType.java
webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/xml/handler/PersistenceContextRefType.java
webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/xml/handler/PersistenceContextTypeType.java
webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/xml/handler/PersistenceUnitRefType.java
webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/xml/handler/PortComponentRefType.java
webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/xml/handler/PropertyType.java
webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/xml/handler/RemoteType.java
webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/xml/handler/ResAuthType.java
webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/xml/handler/ResSharingScopeType.java
webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/xml/handler/ResourceEnvRefType.java
webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/xml/handler/ResourceRefType.java
webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/xml/handler/RoleNameType.java
webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/xml/handler/RunAsType.java
webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/xml/handler/SecurityRoleRefType.java
webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/xml/handler/SecurityRoleType.java
webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/xml/handler/ServiceRefHandlerChainType.java
webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/xml/handler/ServiceRefHandlerChainsType.java
webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/xml/handler/ServiceRefHandlerType.java
webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/xml/handler/ServiceRefType.java
webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/xml/handler/String.java
webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/xml/handler/TrueFalseType.java
webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/xml/handler/UrlPatternType.java
webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/xml/handler/XsdAnyURIType.java
webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/xml/handler/XsdBooleanType.java
webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/xml/handler/XsdIntegerType.java
webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/xml/handler/XsdNMTOKENType.java
webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/xml/handler/XsdNonNegativeIntegerType.java
webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/xml/handler/XsdPositiveIntegerType.java
webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/xml/handler/XsdQNameType.java
webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/xml/handler/XsdStringType.java
webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/xml/handler/package-info.java
Modified:
webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/impl/DescriptionUtils.java
webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/impl/EndpointDescriptionImpl.java
webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/i18n/resource.properties
Modified: webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/impl/DescriptionUtils.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/impl/DescriptionUtils.java?view=diff&rev=522702&r1=522701&r2=522702
==============================================================================
--- webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/impl/DescriptionUtils.java (original)
+++ webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/impl/DescriptionUtils.java Mon Mar 26 18:49:41 2007
@@ -18,24 +18,29 @@
package org.apache.axis2.jaxws.description.impl;
-import java.security.PrivilegedActionException;
-import java.security.PrivilegedExceptionAction;
+import static org.apache.axis2.jaxws.description.builder.MDQConstants.CONSTRUCTOR_METHOD;
+
+import java.io.IOException;
+import java.io.InputStream;
+import java.net.MalformedURLException;
+import java.net.URI;
+import java.net.URISyntaxException;
+import java.net.URL;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.StringTokenizer;
import javax.xml.namespace.QName;
-import org.apache.axis2.java.security.AccessController;
+import org.apache.axiom.om.OMElement;
import org.apache.axis2.jaxws.ExceptionFactory;
import org.apache.axis2.jaxws.description.builder.DescriptionBuilderComposite;
import org.apache.axis2.jaxws.description.builder.MethodDescriptionComposite;
import org.apache.axis2.jaxws.description.builder.WebMethodAnnot;
+import org.apache.axis2.jaxws.i18n.Messages;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
-import static org.apache.axis2.jaxws.description.builder.MDQConstants.CONSTRUCTOR_METHOD;
-
/**
* Utilities used throughout the Description package.
*/
@@ -236,5 +241,77 @@
}
return true;
}
+
+ /**
+ * This is a helper method that will open a stream to an @HandlerChain configuration
+ * file.
+ * @param configFile - The path to the file
+ * @param className - The class in which the annotation was declared. This is used in
+ * case the file path is relative.
+ * @param classLoader - ClassLoader used to load relative file paths.
+ * @return
+ */
+ public static InputStream openHandlerConfigStream(String configFile, String className, ClassLoader
+ classLoader) {
+ InputStream configStream = null;
+ URL configURL;
+ if(log.isDebugEnabled()) {
+ log.debug("Attempting to load @HandlerChain configuration file: " + configFile +
+ " relative to class: " + className);
+ }
+ try {
+ configURL = new URL(configFile);
+ if(configURL != null) {
+ if(log.isDebugEnabled()) {
+ log.debug("Found absolute @HandlerChain configuration file: " + configFile);
+ }
+ configStream = configURL.openStream();
+ }
+ }
+ catch(MalformedURLException e) {
+ // try another method to obtain a stream to the configuration file
+ }
+ catch(IOException e) {
+ // report this since it was a valid URL but the openStream caused a problem
+ ExceptionFactory.makeWebServiceException(Messages.getMessage("hcConfigLoadFail",
+ configFile, className, e.toString()));
+ }
+ if(configStream == null) {
+ if(log.isDebugEnabled()) {
+ log.debug("@HandlerChain.file attribute referes to a relative location: "
+ + configFile);
+ }
+ className = className.replace(".", "/");
+ try {
+ if(log.isDebugEnabled()) {
+ log.debug("Resolving @HandlerChain configuration file: " + configFile +
+ " relative to class file: " + className);
+ }
+ URI uri = new URI(className);
+ uri = uri.resolve(configFile);
+ String resolvedPath = uri.toString();
+ if(log.isDebugEnabled()) {
+ log.debug("@HandlerChain.file resolved file path location: " + resolvedPath);
+ }
+ configStream = classLoader.getResourceAsStream(resolvedPath);
+ }
+ catch(URISyntaxException e) {
+ ExceptionFactory.makeWebServiceException(Messages.getMessage("hcConfigLoadFail",
+ configFile, className, e.toString()));
+ }
+ }
+ if(configStream == null) {
+ ExceptionFactory.makeWebServiceException(Messages.getMessage("handlerChainNS",
+ configFile, className));
+ }
+ else {
+ if(log.isDebugEnabled()) {
+ log.debug("@HandlerChain configuration file: " + configFile + " in class: " +
+ className + " was successfully loaded.");
+ }
+ }
+ return configStream;
+ }
+
}
Modified: webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/impl/EndpointDescriptionImpl.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/impl/EndpointDescriptionImpl.java?view=diff&rev=522702&r1=522701&r2=522702
==============================================================================
--- webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/impl/EndpointDescriptionImpl.java (original)
+++ webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/impl/EndpointDescriptionImpl.java Mon Mar 26 18:49:41 2007
@@ -16,6 +16,7 @@
*/
package org.apache.axis2.jaxws.description.impl;
+import java.io.InputStream;
import java.security.PrivilegedAction;
import java.security.PrivilegedActionException;
import java.security.PrivilegedExceptionAction;
@@ -25,6 +26,7 @@
import java.util.Map;
import java.util.TreeSet;
+import javax.jws.HandlerChain;
import javax.jws.WebService;
import javax.wsdl.Binding;
import javax.wsdl.Definition;
@@ -34,6 +36,9 @@
import javax.wsdl.extensions.soap.SOAPAddress;
import javax.wsdl.extensions.soap12.SOAP12Address;
import javax.wsdl.extensions.soap12.SOAP12Binding;
+import javax.xml.bind.JAXBContext;
+import javax.xml.bind.JAXBElement;
+import javax.xml.bind.Unmarshaller;
import javax.xml.namespace.QName;
import javax.xml.ws.BindingType;
import javax.xml.ws.Service;
@@ -64,6 +69,7 @@
import org.apache.axis2.jaxws.description.builder.DescriptionBuilderComposite;
import org.apache.axis2.jaxws.description.builder.MDQConstants;
import org.apache.axis2.jaxws.description.builder.WsdlComposite;
+import org.apache.axis2.jaxws.description.xml.handler.HandlerChainsType;
import org.apache.axis2.jaxws.i18n.Messages;
import org.apache.axis2.jaxws.util.WSDL4JWrapper;
import org.apache.commons.logging.Log;
@@ -135,6 +141,10 @@
private WebService webServiceAnnotation;
private WebServiceProvider webServiceProviderAnnotation;
+ //ANNOTATION: @HandlerChain
+ private HandlerChain handlerChainAnnotation;
+ private HandlerChainsType handlerChainsType;
+
// Information common to both WebService and WebServiceProvider annotations
private String annotation_WsdlLocation;
private String annotation_ServiceName;
@@ -211,6 +221,7 @@
buildDescriptionHierachy();
addAnonymousAxisOperations();
+
// This will set the serviceClient field after adding the AxisService to the AxisConfig
getServiceClient();
// Give the configuration builder a chance to finalize configuration for this service
@@ -372,6 +383,7 @@
buildEndpointDescriptionFromAnnotations();
+
// The anonymous AxisOperations are currently NOT added here. The reason
// is that (for now) this is a SERVER-SIDE code path, and the anonymous operations
// are only needed on the client side.
@@ -1157,7 +1169,70 @@
// ===========================================
// ANNOTATION: HandlerChain
// ===========================================
+
+ /**
+ * Returns a schema derived java class containing the the handler configuration filel
+ *
+ * @return HandlerChainsType This is the top-level element for the Handler configuration file
+ *
+ */
+ public HandlerChainsType getHandlerChain() {
+
+ // TODO: This needs to work for DBC or class
+
+ if (handlerChainsType == null) {
+
+ getAnnoHandlerChainAnnotation();
+ if (handlerChainAnnotation != null) {
+
+ String handlerFileName = handlerChainAnnotation.file();
+
+ // TODO RAS & NLS
+ if (log.isDebugEnabled()) {
+ log.debug("EndpointDescriptionImpl.getHandlerList: fileName: "
+ + handlerFileName
+ + " className: "
+ + composite.getClassName());
+ }
+ InputStream is = DescriptionUtils.openHandlerConfigStream(
+ handlerFileName,
+ composite.getClassName(),
+ composite.getClassLoader());
+
+ try {
+
+ // All the classes we need should be part of this package
+ JAXBContext jc = JAXBContext
+ .newInstance("org.apache.axis2.jaxws.description.xml.handler",
+ this.getClass().getClassLoader());
+
+ Unmarshaller u = jc.createUnmarshaller();
+
+ JAXBElement<?> o = (JAXBElement<?>)u.unmarshal(is);
+ handlerChainsType = (HandlerChainsType) o.getValue();
+
+ } catch (Exception e) {
+ throw ExceptionFactory
+ .makeWebServiceException("EndpointDescriptionImpl: getHandlerList: thrown when attempting to unmarshall JAXB content");
+ }
+ }
+ }
+ return handlerChainsType;
+ }
+
+ public HandlerChain getAnnoHandlerChainAnnotation() {
+ if (this.handlerChainAnnotation == null){
+ if (getServiceDescriptionImpl().isDBCMap()) {
+ handlerChainAnnotation = composite.getHandlerChainAnnot();
+ } else {
+ //TODO: Implement this for reflection
+ }
+ }
+
+ return handlerChainAnnotation;
+ }
+
/**
* Returns a live list describing the handlers on this port.
* TODO: This is currently returning List<String>, but it should return a HandlerDescritpion
@@ -1167,8 +1242,10 @@
* @return A List of handlers for this port. The actual list is returned, and therefore can be modified.
*/
public List<String> getHandlerList() {
+
return handlerList;
}
+
private Definition getWSDLDefinition() {
return ((ServiceDescriptionWSDL) getServiceDescription()).getWSDLDefinition();
}
Added: webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/xml/handler/DescriptionType.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/xml/handler/DescriptionType.java?view=auto&rev=522702
==============================================================================
--- webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/xml/handler/DescriptionType.java (added)
+++ webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/xml/handler/DescriptionType.java Mon Mar 26 18:49:41 2007
@@ -0,0 +1,94 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.axis2.jaxws.description.xml.handler;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ *
+ *
+ * The description type is used by a description element to
+ * provide text describing the parent element. The elements
+ * that use this type should include any information that the
+ * Deployment Component's Deployment File file producer wants
+ * to provide to the consumer of the Deployment Component's
+ * Deployment File (i.e., to the Deployer). Typically, the
+ * tools used by such a Deployment File consumer will display
+ * the description when processing the parent element that
+ * contains the description.
+ *
+ * The lang attribute defines the language that the
+ * description is provided in. The default value is "en" (English).
+ *
+ *
+ *
+ * <p>Java class for descriptionType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="descriptionType">
+ * <simpleContent>
+ * <extension base="<http://java.sun.com/xml/ns/javaee>xsdStringType">
+ * <attribute ref="{http://www.w3.org/XML/1998/namespace}lang"/>
+ * </extension>
+ * </simpleContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "descriptionType")
+public class DescriptionType
+ extends XsdStringType
+{
+
+ @XmlAttribute(namespace = "http://www.w3.org/XML/1998/namespace")
+ protected java.lang.String lang;
+
+ /**
+ * Gets the value of the lang property.
+ *
+ * @return
+ * possible object is
+ * {@link java.lang.String }
+ *
+ */
+ public java.lang.String getLang() {
+ return lang;
+ }
+
+ /**
+ * Sets the value of the lang property.
+ *
+ * @param value
+ * allowed object is
+ * {@link java.lang.String }
+ *
+ */
+ public void setLang(java.lang.String value) {
+ this.lang = value;
+ }
+
+}
Added: webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/xml/handler/DisplayNameType.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/xml/handler/DisplayNameType.java?view=auto&rev=522702
==============================================================================
--- webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/xml/handler/DisplayNameType.java (added)
+++ webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/xml/handler/DisplayNameType.java Mon Mar 26 18:49:41 2007
@@ -0,0 +1,96 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.axis2.jaxws.description.xml.handler;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ *
+ *
+ *
+ * The display-name type contains a short name that is intended
+ * to be displayed by tools. It is used by display-name
+ * elements. The display name need not be unique.
+ *
+ * Example:
+ *
+ * ...
+ * <display-name xml:lang="en">
+ * Employee Self Service
+ * </display-name>
+ *
+ * The value of the xml:lang attribute is "en" (English) by default.
+ *
+ *
+ *
+ *
+ * <p>Java class for display-nameType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="display-nameType">
+ * <simpleContent>
+ * <extension base="<http://java.sun.com/xml/ns/javaee>string">
+ * <attribute ref="{http://www.w3.org/XML/1998/namespace}lang"/>
+ * </extension>
+ * </simpleContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "display-nameType")
+public class DisplayNameType
+ extends org.apache.axis2.jaxws.description.xml.handler.String
+{
+
+ @XmlAttribute(namespace = "http://www.w3.org/XML/1998/namespace")
+ protected java.lang.String lang;
+
+ /**
+ * Gets the value of the lang property.
+ *
+ * @return
+ * possible object is
+ * {@link java.lang.String }
+ *
+ */
+ public java.lang.String getLang() {
+ return lang;
+ }
+
+ /**
+ * Sets the value of the lang property.
+ *
+ * @param value
+ * allowed object is
+ * {@link java.lang.String }
+ *
+ */
+ public void setLang(java.lang.String value) {
+ this.lang = value;
+ }
+
+}
Added: webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/xml/handler/EjbLinkType.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/xml/handler/EjbLinkType.java?view=auto&rev=522702
==============================================================================
--- webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/xml/handler/EjbLinkType.java (added)
+++ webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/xml/handler/EjbLinkType.java Mon Mar 26 18:49:41 2007
@@ -0,0 +1,68 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0-b52-fcs
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2007.03.21 at 10:56:51 AM CDT
+//
+
+
+package org.apache.axis2.jaxws.description.xml.handler;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ *
+ *
+ *
+ * The ejb-linkType is used by ejb-link
+ * elements in the ejb-ref or ejb-local-ref elements to specify
+ * that an EJB reference is linked to enterprise bean.
+ *
+ * The value of the ejb-link element must be the ejb-name of an
+ * enterprise bean in the same ejb-jar file or in another ejb-jar
+ * file in the same Java EE application unit.
+ *
+ * Alternatively, the name in the ejb-link element may be
+ * composed of a path name specifying the ejb-jar containing the
+ * referenced enterprise bean with the ejb-name of the target
+ * bean appended and separated from the path name by "#". The
+ * path name is relative to the Deployment File containing
+ * Deployment Component that is referencing the enterprise
+ * bean. This allows multiple enterprise beans with the same
+ * ejb-name to be uniquely identified.
+ *
+ * Examples:
+ *
+ * <ejb-link>EmployeeRecord</ejb-link>
+ *
+ * <ejb-link>../products/product.jar#ProductEJB</ejb-link>
+ *
+ *
+ *
+ *
+ * <p>Java class for ejb-linkType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="ejb-linkType">
+ * <simpleContent>
+ * <restriction base="<http://java.sun.com/xml/ns/javaee>string">
+ * </restriction>
+ * </simpleContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "ejb-linkType")
+public class EjbLinkType
+ extends String
+{
+
+
+}
Added: webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/xml/handler/EjbLocalRefType.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/xml/handler/EjbLocalRefType.java?view=auto&rev=522702
==============================================================================
--- webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/xml/handler/EjbLocalRefType.java (added)
+++ webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/xml/handler/EjbLocalRefType.java Mon Mar 26 18:49:41 2007
@@ -0,0 +1,333 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0-b52-fcs
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2007.03.21 at 10:56:51 AM CDT
+//
+
+
+package org.apache.axis2.jaxws.description.xml.handler;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlID;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+
+
+/**
+ *
+ *
+ * The ejb-local-refType is used by ejb-local-ref elements for
+ * the declaration of a reference to an enterprise bean's local
+ * home or to the local business interface of a 3.0 bean.
+ * The declaration consists of:
+ *
+ * - an optional description
+ * - the EJB reference name used in the code of the Deployment
+ * Component that's referencing the enterprise bean.
+ * - the optional expected type of the referenced enterprise bean
+ * - the optional expected local interface of the referenced
+ * enterprise bean or the local business interface of the
+ * referenced enterprise bean.
+ * - the optional expected local home interface of the referenced
+ * enterprise bean. Not applicable if this ejb-local-ref refers
+ * to the local business interface of a 3.0 bean.
+ * - optional ejb-link information, used to specify the
+ * referenced enterprise bean
+ * - optional elements to define injection of the named enterprise
+ * bean into a component field or property.
+ *
+ *
+ *
+ * <p>Java class for ejb-local-refType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="ejb-local-refType">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="description" type="{http://java.sun.com/xml/ns/javaee}descriptionType" maxOccurs="unbounded" minOccurs="0"/>
+ * <element name="ejb-ref-name" type="{http://java.sun.com/xml/ns/javaee}ejb-ref-nameType"/>
+ * <element name="ejb-ref-type" type="{http://java.sun.com/xml/ns/javaee}ejb-ref-typeType" minOccurs="0"/>
+ * <element name="local-home" type="{http://java.sun.com/xml/ns/javaee}local-homeType" minOccurs="0"/>
+ * <element name="local" type="{http://java.sun.com/xml/ns/javaee}localType" minOccurs="0"/>
+ * <element name="ejb-link" type="{http://java.sun.com/xml/ns/javaee}ejb-linkType" minOccurs="0"/>
+ * <group ref="{http://java.sun.com/xml/ns/javaee}resourceGroup"/>
+ * </sequence>
+ * <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "ejb-local-refType", propOrder = {
+ "description",
+ "ejbRefName",
+ "ejbRefType",
+ "localHome",
+ "local",
+ "ejbLink",
+ "mappedName",
+ "injectionTarget"
+})
+public class EjbLocalRefType {
+
+ @XmlElement(namespace = "http://java.sun.com/xml/ns/javaee", required = true)
+ protected List<DescriptionType> description;
+ @XmlElement(name = "ejb-ref-name", namespace = "http://java.sun.com/xml/ns/javaee", required = true)
+ protected EjbRefNameType ejbRefName;
+ @XmlElement(name = "ejb-ref-type", namespace = "http://java.sun.com/xml/ns/javaee")
+ protected EjbRefTypeType ejbRefType;
+ @XmlElement(name = "local-home", namespace = "http://java.sun.com/xml/ns/javaee")
+ protected LocalHomeType localHome;
+ @XmlElement(namespace = "http://java.sun.com/xml/ns/javaee")
+ protected LocalType local;
+ @XmlElement(name = "ejb-link", namespace = "http://java.sun.com/xml/ns/javaee")
+ protected EjbLinkType ejbLink;
+ @XmlElement(name = "mapped-name", namespace = "http://java.sun.com/xml/ns/javaee")
+ protected XsdStringType mappedName;
+ @XmlElement(name = "injection-target", namespace = "http://java.sun.com/xml/ns/javaee", required = true)
+ protected List<InjectionTargetType> injectionTarget;
+ @XmlAttribute
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ @XmlID
+ protected java.lang.String id;
+
+ /**
+ * Gets the value of the description property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the description property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getDescription().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link DescriptionType }
+ *
+ *
+ */
+ public List<DescriptionType> getDescription() {
+ if (description == null) {
+ description = new ArrayList<DescriptionType>();
+ }
+ return this.description;
+ }
+
+ /**
+ * Gets the value of the ejbRefName property.
+ *
+ * @return
+ * possible object is
+ * {@link EjbRefNameType }
+ *
+ */
+ public EjbRefNameType getEjbRefName() {
+ return ejbRefName;
+ }
+
+ /**
+ * Sets the value of the ejbRefName property.
+ *
+ * @param value
+ * allowed object is
+ * {@link EjbRefNameType }
+ *
+ */
+ public void setEjbRefName(EjbRefNameType value) {
+ this.ejbRefName = value;
+ }
+
+ /**
+ * Gets the value of the ejbRefType property.
+ *
+ * @return
+ * possible object is
+ * {@link EjbRefTypeType }
+ *
+ */
+ public EjbRefTypeType getEjbRefType() {
+ return ejbRefType;
+ }
+
+ /**
+ * Sets the value of the ejbRefType property.
+ *
+ * @param value
+ * allowed object is
+ * {@link EjbRefTypeType }
+ *
+ */
+ public void setEjbRefType(EjbRefTypeType value) {
+ this.ejbRefType = value;
+ }
+
+ /**
+ * Gets the value of the localHome property.
+ *
+ * @return
+ * possible object is
+ * {@link LocalHomeType }
+ *
+ */
+ public LocalHomeType getLocalHome() {
+ return localHome;
+ }
+
+ /**
+ * Sets the value of the localHome property.
+ *
+ * @param value
+ * allowed object is
+ * {@link LocalHomeType }
+ *
+ */
+ public void setLocalHome(LocalHomeType value) {
+ this.localHome = value;
+ }
+
+ /**
+ * Gets the value of the local property.
+ *
+ * @return
+ * possible object is
+ * {@link LocalType }
+ *
+ */
+ public LocalType getLocal() {
+ return local;
+ }
+
+ /**
+ * Sets the value of the local property.
+ *
+ * @param value
+ * allowed object is
+ * {@link LocalType }
+ *
+ */
+ public void setLocal(LocalType value) {
+ this.local = value;
+ }
+
+ /**
+ * Gets the value of the ejbLink property.
+ *
+ * @return
+ * possible object is
+ * {@link EjbLinkType }
+ *
+ */
+ public EjbLinkType getEjbLink() {
+ return ejbLink;
+ }
+
+ /**
+ * Sets the value of the ejbLink property.
+ *
+ * @param value
+ * allowed object is
+ * {@link EjbLinkType }
+ *
+ */
+ public void setEjbLink(EjbLinkType value) {
+ this.ejbLink = value;
+ }
+
+ /**
+ * Gets the value of the mappedName property.
+ *
+ * @return
+ * possible object is
+ * {@link XsdStringType }
+ *
+ */
+ public XsdStringType getMappedName() {
+ return mappedName;
+ }
+
+ /**
+ * Sets the value of the mappedName property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XsdStringType }
+ *
+ */
+ public void setMappedName(XsdStringType value) {
+ this.mappedName = value;
+ }
+
+ /**
+ * Gets the value of the injectionTarget property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the injectionTarget property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getInjectionTarget().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link InjectionTargetType }
+ *
+ *
+ */
+ public List<InjectionTargetType> getInjectionTarget() {
+ if (injectionTarget == null) {
+ injectionTarget = new ArrayList<InjectionTargetType>();
+ }
+ return this.injectionTarget;
+ }
+
+ /**
+ * Gets the value of the id property.
+ *
+ * @return
+ * possible object is
+ * {@link java.lang.String }
+ *
+ */
+ public java.lang.String getId() {
+ return id;
+ }
+
+ /**
+ * Sets the value of the id property.
+ *
+ * @param value
+ * allowed object is
+ * {@link java.lang.String }
+ *
+ */
+ public void setId(java.lang.String value) {
+ this.id = value;
+ }
+
+}
Added: webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/xml/handler/EjbRefNameType.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/xml/handler/EjbRefNameType.java?view=auto&rev=522702
==============================================================================
--- webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/xml/handler/EjbRefNameType.java (added)
+++ webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/xml/handler/EjbRefNameType.java Mon Mar 26 18:49:41 2007
@@ -0,0 +1,57 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0-b52-fcs
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2007.03.21 at 10:56:51 AM CDT
+//
+
+
+package org.apache.axis2.jaxws.description.xml.handler;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ *
+ *
+ *
+ * The ejb-ref-name element contains the name of an EJB
+ * reference. The EJB reference is an entry in the
+ * Deployment Component's environment and is relative to the
+ * java:comp/env context. The name must be unique within the
+ * Deployment Component.
+ *
+ * It is recommended that name is prefixed with "ejb/".
+ *
+ * Example:
+ *
+ * <ejb-ref-name>ejb/Payroll</ejb-ref-name>
+ *
+ *
+ *
+ *
+ * <p>Java class for ejb-ref-nameType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="ejb-ref-nameType">
+ * <simpleContent>
+ * <restriction base="<http://java.sun.com/xml/ns/javaee>jndi-nameType">
+ * </restriction>
+ * </simpleContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "ejb-ref-nameType")
+public class EjbRefNameType
+ extends JndiNameType
+{
+
+
+}
Added: webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/xml/handler/EjbRefType.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/xml/handler/EjbRefType.java?view=auto&rev=522702
==============================================================================
--- webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/xml/handler/EjbRefType.java (added)
+++ webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/xml/handler/EjbRefType.java Mon Mar 26 18:49:41 2007
@@ -0,0 +1,334 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0-b52-fcs
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2007.03.21 at 10:56:51 AM CDT
+//
+
+
+package org.apache.axis2.jaxws.description.xml.handler;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlID;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+
+
+/**
+ *
+ *
+ * The ejb-refType is used by ejb-ref elements for the
+ * declaration of a reference to an enterprise bean's home or
+ * to the remote business interface of a 3.0 bean.
+ * The declaration consists of:
+ *
+ * - an optional description
+ * - the EJB reference name used in the code of
+ * the Deployment Component that's referencing the enterprise
+ * bean.
+ * - the optional expected type of the referenced enterprise bean
+ * - the optional remote interface of the referenced enterprise bean
+ * or the remote business interface of the referenced enterprise
+ * bean
+ * - the optional expected home interface of the referenced
+ * enterprise bean. Not applicable if this ejb-ref
+ * refers to the remote business interface of a 3.0 bean.
+ * - optional ejb-link information, used to specify the
+ * referenced enterprise bean
+ * - optional elements to define injection of the named enterprise
+ * bean into a component field or property
+ *
+ *
+ *
+ * <p>Java class for ejb-refType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="ejb-refType">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="description" type="{http://java.sun.com/xml/ns/javaee}descriptionType" maxOccurs="unbounded" minOccurs="0"/>
+ * <element name="ejb-ref-name" type="{http://java.sun.com/xml/ns/javaee}ejb-ref-nameType"/>
+ * <element name="ejb-ref-type" type="{http://java.sun.com/xml/ns/javaee}ejb-ref-typeType" minOccurs="0"/>
+ * <element name="home" type="{http://java.sun.com/xml/ns/javaee}homeType" minOccurs="0"/>
+ * <element name="remote" type="{http://java.sun.com/xml/ns/javaee}remoteType" minOccurs="0"/>
+ * <element name="ejb-link" type="{http://java.sun.com/xml/ns/javaee}ejb-linkType" minOccurs="0"/>
+ * <group ref="{http://java.sun.com/xml/ns/javaee}resourceGroup"/>
+ * </sequence>
+ * <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "ejb-refType", propOrder = {
+ "description",
+ "ejbRefName",
+ "ejbRefType",
+ "home",
+ "remote",
+ "ejbLink",
+ "mappedName",
+ "injectionTarget"
+})
+public class EjbRefType {
+
+ @XmlElement(namespace = "http://java.sun.com/xml/ns/javaee", required = true)
+ protected List<DescriptionType> description;
+ @XmlElement(name = "ejb-ref-name", namespace = "http://java.sun.com/xml/ns/javaee", required = true)
+ protected EjbRefNameType ejbRefName;
+ @XmlElement(name = "ejb-ref-type", namespace = "http://java.sun.com/xml/ns/javaee")
+ protected EjbRefTypeType ejbRefType;
+ @XmlElement(namespace = "http://java.sun.com/xml/ns/javaee")
+ protected HomeType home;
+ @XmlElement(namespace = "http://java.sun.com/xml/ns/javaee")
+ protected RemoteType remote;
+ @XmlElement(name = "ejb-link", namespace = "http://java.sun.com/xml/ns/javaee")
+ protected EjbLinkType ejbLink;
+ @XmlElement(name = "mapped-name", namespace = "http://java.sun.com/xml/ns/javaee")
+ protected XsdStringType mappedName;
+ @XmlElement(name = "injection-target", namespace = "http://java.sun.com/xml/ns/javaee", required = true)
+ protected List<InjectionTargetType> injectionTarget;
+ @XmlAttribute
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ @XmlID
+ protected java.lang.String id;
+
+ /**
+ * Gets the value of the description property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the description property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getDescription().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link DescriptionType }
+ *
+ *
+ */
+ public List<DescriptionType> getDescription() {
+ if (description == null) {
+ description = new ArrayList<DescriptionType>();
+ }
+ return this.description;
+ }
+
+ /**
+ * Gets the value of the ejbRefName property.
+ *
+ * @return
+ * possible object is
+ * {@link EjbRefNameType }
+ *
+ */
+ public EjbRefNameType getEjbRefName() {
+ return ejbRefName;
+ }
+
+ /**
+ * Sets the value of the ejbRefName property.
+ *
+ * @param value
+ * allowed object is
+ * {@link EjbRefNameType }
+ *
+ */
+ public void setEjbRefName(EjbRefNameType value) {
+ this.ejbRefName = value;
+ }
+
+ /**
+ * Gets the value of the ejbRefType property.
+ *
+ * @return
+ * possible object is
+ * {@link EjbRefTypeType }
+ *
+ */
+ public EjbRefTypeType getEjbRefType() {
+ return ejbRefType;
+ }
+
+ /**
+ * Sets the value of the ejbRefType property.
+ *
+ * @param value
+ * allowed object is
+ * {@link EjbRefTypeType }
+ *
+ */
+ public void setEjbRefType(EjbRefTypeType value) {
+ this.ejbRefType = value;
+ }
+
+ /**
+ * Gets the value of the home property.
+ *
+ * @return
+ * possible object is
+ * {@link HomeType }
+ *
+ */
+ public HomeType getHome() {
+ return home;
+ }
+
+ /**
+ * Sets the value of the home property.
+ *
+ * @param value
+ * allowed object is
+ * {@link HomeType }
+ *
+ */
+ public void setHome(HomeType value) {
+ this.home = value;
+ }
+
+ /**
+ * Gets the value of the remote property.
+ *
+ * @return
+ * possible object is
+ * {@link RemoteType }
+ *
+ */
+ public RemoteType getRemote() {
+ return remote;
+ }
+
+ /**
+ * Sets the value of the remote property.
+ *
+ * @param value
+ * allowed object is
+ * {@link RemoteType }
+ *
+ */
+ public void setRemote(RemoteType value) {
+ this.remote = value;
+ }
+
+ /**
+ * Gets the value of the ejbLink property.
+ *
+ * @return
+ * possible object is
+ * {@link EjbLinkType }
+ *
+ */
+ public EjbLinkType getEjbLink() {
+ return ejbLink;
+ }
+
+ /**
+ * Sets the value of the ejbLink property.
+ *
+ * @param value
+ * allowed object is
+ * {@link EjbLinkType }
+ *
+ */
+ public void setEjbLink(EjbLinkType value) {
+ this.ejbLink = value;
+ }
+
+ /**
+ * Gets the value of the mappedName property.
+ *
+ * @return
+ * possible object is
+ * {@link XsdStringType }
+ *
+ */
+ public XsdStringType getMappedName() {
+ return mappedName;
+ }
+
+ /**
+ * Sets the value of the mappedName property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XsdStringType }
+ *
+ */
+ public void setMappedName(XsdStringType value) {
+ this.mappedName = value;
+ }
+
+ /**
+ * Gets the value of the injectionTarget property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the injectionTarget property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getInjectionTarget().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link InjectionTargetType }
+ *
+ *
+ */
+ public List<InjectionTargetType> getInjectionTarget() {
+ if (injectionTarget == null) {
+ injectionTarget = new ArrayList<InjectionTargetType>();
+ }
+ return this.injectionTarget;
+ }
+
+ /**
+ * Gets the value of the id property.
+ *
+ * @return
+ * possible object is
+ * {@link java.lang.String }
+ *
+ */
+ public java.lang.String getId() {
+ return id;
+ }
+
+ /**
+ * Sets the value of the id property.
+ *
+ * @param value
+ * allowed object is
+ * {@link java.lang.String }
+ *
+ */
+ public void setId(java.lang.String value) {
+ this.id = value;
+ }
+
+}
Added: webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/xml/handler/EjbRefTypeType.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/xml/handler/EjbRefTypeType.java?view=auto&rev=522702
==============================================================================
--- webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/xml/handler/EjbRefTypeType.java (added)
+++ webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/xml/handler/EjbRefTypeType.java Mon Mar 26 18:49:41 2007
@@ -0,0 +1,52 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0-b52-fcs
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2007.03.21 at 10:56:51 AM CDT
+//
+
+
+package org.apache.axis2.jaxws.description.xml.handler;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ *
+ *
+ * The ejb-ref-typeType contains the expected type of the
+ * referenced enterprise bean.
+ *
+ * The ejb-ref-type designates a value
+ * that must be one of the following:
+ *
+ * Entity
+ * Session
+ *
+ *
+ *
+ * <p>Java class for ejb-ref-typeType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="ejb-ref-typeType">
+ * <simpleContent>
+ * <restriction base="<http://java.sun.com/xml/ns/javaee>string">
+ * </restriction>
+ * </simpleContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "ejb-ref-typeType")
+public class EjbRefTypeType
+ extends String
+{
+
+
+}
Added: webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/xml/handler/EmptyType.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/xml/handler/EmptyType.java?view=auto&rev=522702
==============================================================================
--- webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/xml/handler/EmptyType.java (added)
+++ webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/xml/handler/EmptyType.java Mon Mar 26 18:49:41 2007
@@ -0,0 +1,77 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0-b52-fcs
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2007.03.21 at 10:56:51 AM CDT
+//
+
+
+package org.apache.axis2.jaxws.description.xml.handler;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlID;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+
+
+/**
+ *
+ *
+ * This type is used to designate an empty
+ * element when used.
+ *
+ *
+ *
+ * <p>Java class for emptyType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="emptyType">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "emptyType")
+public class EmptyType {
+
+ @XmlAttribute
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ @XmlID
+ protected java.lang.String id;
+
+ /**
+ * Gets the value of the id property.
+ *
+ * @return
+ * possible object is
+ * {@link java.lang.String }
+ *
+ */
+ public java.lang.String getId() {
+ return id;
+ }
+
+ /**
+ * Sets the value of the id property.
+ *
+ * @param value
+ * allowed object is
+ * {@link java.lang.String }
+ *
+ */
+ public void setId(java.lang.String value) {
+ this.id = value;
+ }
+
+}
Added: webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/xml/handler/EnvEntryType.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/xml/handler/EnvEntryType.java?view=auto&rev=522702
==============================================================================
--- webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/xml/handler/EnvEntryType.java (added)
+++ webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/xml/handler/EnvEntryType.java Mon Mar 26 18:49:41 2007
@@ -0,0 +1,277 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0-b52-fcs
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2007.03.21 at 10:56:51 AM CDT
+//
+
+
+package org.apache.axis2.jaxws.description.xml.handler;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlID;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+
+
+/**
+ *
+ *
+ * The env-entryType is used to declare an application's
+ * environment entry. The declaration consists of an optional
+ * description, the name of the environment entry, a type
+ * (optional if the value is injected, otherwise required), and
+ * an optional value.
+ *
+ * It also includes optional elements to define injection of
+ * the named resource into fields or JavaBeans properties.
+ *
+ * If a value is not specified and injection is requested,
+ * no injection will occur and no entry of the specified name
+ * will be created. This allows an initial value to be
+ * specified in the source code without being incorrectly
+ * changed when no override has been specified.
+ *
+ * If a value is not specified and no injection is requested,
+ * a value must be supplied during deployment.
+ *
+ * This type is used by env-entry elements.
+ *
+ *
+ *
+ * <p>Java class for env-entryType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="env-entryType">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="description" type="{http://java.sun.com/xml/ns/javaee}descriptionType" maxOccurs="unbounded" minOccurs="0"/>
+ * <element name="env-entry-name" type="{http://java.sun.com/xml/ns/javaee}jndi-nameType"/>
+ * <element name="env-entry-type" type="{http://java.sun.com/xml/ns/javaee}env-entry-type-valuesType" minOccurs="0"/>
+ * <element name="env-entry-value" type="{http://java.sun.com/xml/ns/javaee}xsdStringType" minOccurs="0"/>
+ * <group ref="{http://java.sun.com/xml/ns/javaee}resourceGroup"/>
+ * </sequence>
+ * <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "env-entryType", propOrder = {
+ "description",
+ "envEntryName",
+ "envEntryType",
+ "envEntryValue",
+ "mappedName",
+ "injectionTarget"
+})
+public class EnvEntryType {
+
+ @XmlElement(namespace = "http://java.sun.com/xml/ns/javaee", required = true)
+ protected List<DescriptionType> description;
+ @XmlElement(name = "env-entry-name", namespace = "http://java.sun.com/xml/ns/javaee", required = true)
+ protected JndiNameType envEntryName;
+ @XmlElement(name = "env-entry-type", namespace = "http://java.sun.com/xml/ns/javaee")
+ protected EnvEntryTypeValuesType envEntryType;
+ @XmlElement(name = "env-entry-value", namespace = "http://java.sun.com/xml/ns/javaee")
+ protected XsdStringType envEntryValue;
+ @XmlElement(name = "mapped-name", namespace = "http://java.sun.com/xml/ns/javaee")
+ protected XsdStringType mappedName;
+ @XmlElement(name = "injection-target", namespace = "http://java.sun.com/xml/ns/javaee", required = true)
+ protected List<InjectionTargetType> injectionTarget;
+ @XmlAttribute
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ @XmlID
+ protected java.lang.String id;
+
+ /**
+ * Gets the value of the description property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the description property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getDescription().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link DescriptionType }
+ *
+ *
+ */
+ public List<DescriptionType> getDescription() {
+ if (description == null) {
+ description = new ArrayList<DescriptionType>();
+ }
+ return this.description;
+ }
+
+ /**
+ * Gets the value of the envEntryName property.
+ *
+ * @return
+ * possible object is
+ * {@link JndiNameType }
+ *
+ */
+ public JndiNameType getEnvEntryName() {
+ return envEntryName;
+ }
+
+ /**
+ * Sets the value of the envEntryName property.
+ *
+ * @param value
+ * allowed object is
+ * {@link JndiNameType }
+ *
+ */
+ public void setEnvEntryName(JndiNameType value) {
+ this.envEntryName = value;
+ }
+
+ /**
+ * Gets the value of the envEntryType property.
+ *
+ * @return
+ * possible object is
+ * {@link EnvEntryTypeValuesType }
+ *
+ */
+ public EnvEntryTypeValuesType getEnvEntryType() {
+ return envEntryType;
+ }
+
+ /**
+ * Sets the value of the envEntryType property.
+ *
+ * @param value
+ * allowed object is
+ * {@link EnvEntryTypeValuesType }
+ *
+ */
+ public void setEnvEntryType(EnvEntryTypeValuesType value) {
+ this.envEntryType = value;
+ }
+
+ /**
+ * Gets the value of the envEntryValue property.
+ *
+ * @return
+ * possible object is
+ * {@link XsdStringType }
+ *
+ */
+ public XsdStringType getEnvEntryValue() {
+ return envEntryValue;
+ }
+
+ /**
+ * Sets the value of the envEntryValue property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XsdStringType }
+ *
+ */
+ public void setEnvEntryValue(XsdStringType value) {
+ this.envEntryValue = value;
+ }
+
+ /**
+ * Gets the value of the mappedName property.
+ *
+ * @return
+ * possible object is
+ * {@link XsdStringType }
+ *
+ */
+ public XsdStringType getMappedName() {
+ return mappedName;
+ }
+
+ /**
+ * Sets the value of the mappedName property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XsdStringType }
+ *
+ */
+ public void setMappedName(XsdStringType value) {
+ this.mappedName = value;
+ }
+
+ /**
+ * Gets the value of the injectionTarget property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the injectionTarget property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getInjectionTarget().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link InjectionTargetType }
+ *
+ *
+ */
+ public List<InjectionTargetType> getInjectionTarget() {
+ if (injectionTarget == null) {
+ injectionTarget = new ArrayList<InjectionTargetType>();
+ }
+ return this.injectionTarget;
+ }
+
+ /**
+ * Gets the value of the id property.
+ *
+ * @return
+ * possible object is
+ * {@link java.lang.String }
+ *
+ */
+ public java.lang.String getId() {
+ return id;
+ }
+
+ /**
+ * Sets the value of the id property.
+ *
+ * @param value
+ * allowed object is
+ * {@link java.lang.String }
+ *
+ */
+ public void setId(java.lang.String value) {
+ this.id = value;
+ }
+
+}
Added: webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/xml/handler/EnvEntryTypeValuesType.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/xml/handler/EnvEntryTypeValuesType.java?view=auto&rev=522702
==============================================================================
--- webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/xml/handler/EnvEntryTypeValuesType.java (added)
+++ webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/xml/handler/EnvEntryTypeValuesType.java Mon Mar 26 18:49:41 2007
@@ -0,0 +1,65 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0-b52-fcs
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2007.03.21 at 10:56:51 AM CDT
+//
+
+
+package org.apache.axis2.jaxws.description.xml.handler;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ *
+ *
+ *
+ * This type contains the fully-qualified Java type of the
+ * environment entry value that is expected by the
+ * application's code.
+ *
+ * The following are the legal values of env-entry-type-valuesType:
+ *
+ * java.lang.Boolean
+ * java.lang.Byte
+ * java.lang.Character
+ * java.lang.String
+ * java.lang.Short
+ * java.lang.Integer
+ * java.lang.Long
+ * java.lang.Float
+ * java.lang.Double
+ *
+ * Example:
+ *
+ * <env-entry-type>java.lang.Boolean</env-entry-type>
+ *
+ *
+ *
+ *
+ * <p>Java class for env-entry-type-valuesType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="env-entry-type-valuesType">
+ * <simpleContent>
+ * <restriction base="<http://java.sun.com/xml/ns/javaee>string">
+ * </restriction>
+ * </simpleContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "env-entry-type-valuesType")
+public class EnvEntryTypeValuesType
+ extends String
+{
+
+
+}
Added: webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/xml/handler/FullyQualifiedClassType.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/xml/handler/FullyQualifiedClassType.java?view=auto&rev=522702
==============================================================================
--- webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/xml/handler/FullyQualifiedClassType.java (added)
+++ webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/xml/handler/FullyQualifiedClassType.java Mon Mar 26 18:49:41 2007
@@ -0,0 +1,50 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0-b52-fcs
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2007.03.21 at 10:56:51 AM CDT
+//
+
+
+package org.apache.axis2.jaxws.description.xml.handler;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ *
+ *
+ * The elements that use this type designate the name of a
+ * Java class or interface. The name is in the form of a
+ * "binary name", as defined in the JLS. This is the form
+ * of name used in Class.forName(). Tools that need the
+ * canonical name (the name used in source code) will need
+ * to convert this binary name to the canonical name.
+ *
+ *
+ *
+ * <p>Java class for fully-qualified-classType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="fully-qualified-classType">
+ * <simpleContent>
+ * <restriction base="<http://java.sun.com/xml/ns/javaee>string">
+ * </restriction>
+ * </simpleContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "fully-qualified-classType")
+public class FullyQualifiedClassType
+ extends String
+{
+
+
+}
Added: webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/xml/handler/GenericBooleanType.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/xml/handler/GenericBooleanType.java?view=auto&rev=522702
==============================================================================
--- webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/xml/handler/GenericBooleanType.java (added)
+++ webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/xml/handler/GenericBooleanType.java Mon Mar 26 18:49:41 2007
@@ -0,0 +1,47 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0-b52-fcs
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2007.03.21 at 10:56:51 AM CDT
+//
+
+
+package org.apache.axis2.jaxws.description.xml.handler;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ *
+ *
+ * This type defines four different values which can designate
+ * boolean values. This includes values yes and no which are
+ * not designated by xsd:boolean
+ *
+ *
+ *
+ * <p>Java class for generic-booleanType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="generic-booleanType">
+ * <simpleContent>
+ * <restriction base="<http://java.sun.com/xml/ns/javaee>string">
+ * </restriction>
+ * </simpleContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "generic-booleanType")
+public class GenericBooleanType
+ extends String
+{
+
+
+}
Added: webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/xml/handler/HandlerChainType.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/xml/handler/HandlerChainType.java?view=auto&rev=522702
==============================================================================
--- webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/xml/handler/HandlerChainType.java (added)
+++ webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/xml/handler/HandlerChainType.java Mon Mar 26 18:49:41 2007
@@ -0,0 +1,219 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0-b52-fcs
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2007.03.21 at 10:56:51 AM CDT
+//
+
+
+package org.apache.axis2.jaxws.description.xml.handler;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlID;
+import javax.xml.bind.annotation.XmlList;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+
+
+/**
+ *
+ *
+ * The handler-chain element defines the handlerchain.
+ * Handlerchain can be defined such that the handlers in the
+ * handlerchain operate all ports of a service, on a specific
+ * port, or on a list of protocol-bindings. The choice of elements
+ * service-name-pattern, port-name-pattern, and protocol-bindings
+ * are used to specify whether the handlers in the handler-chain are
+ * for a service, port or protocol binding. If none of these
+ * choices are specified with the handler-chain element, then the
+ * handlers specified in the handler-chain will be applied on
+ * everything.
+ *
+ *
+ *
+ * <p>Java class for handler-chainType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="handler-chainType">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <choice minOccurs="0">
+ * <element name="service-name-pattern" type="{http://java.sun.com/xml/ns/javaee}qname-pattern"/>
+ * <element name="port-name-pattern" type="{http://java.sun.com/xml/ns/javaee}qname-pattern"/>
+ * <element name="protocol-bindings" type="{http://java.sun.com/xml/ns/javaee}protocol-bindingListType"/>
+ * </choice>
+ * <element name="handler" type="{http://java.sun.com/xml/ns/javaee}handlerType" maxOccurs="unbounded"/>
+ * </sequence>
+ * <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "handler-chainType", propOrder = {
+ "serviceNamePattern",
+ "portNamePattern",
+ "protocolBindings",
+ "handler"
+})
+public class HandlerChainType {
+
+ @XmlElement(name = "service-name-pattern", namespace = "http://java.sun.com/xml/ns/javaee")
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ protected java.lang.String serviceNamePattern;
+ @XmlElement(name = "port-name-pattern", namespace = "http://java.sun.com/xml/ns/javaee")
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ protected java.lang.String portNamePattern;
+ @XmlList
+ @XmlElement(name = "protocol-bindings", namespace = "http://java.sun.com/xml/ns/javaee")
+ protected List<java.lang.String> protocolBindings;
+ @XmlElement(namespace = "http://java.sun.com/xml/ns/javaee", required = true)
+ protected List<HandlerType> handler;
+ @XmlAttribute
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ @XmlID
+ protected java.lang.String id;
+
+ /**
+ * Gets the value of the serviceNamePattern property.
+ *
+ * @return
+ * possible object is
+ * {@link java.lang.String }
+ *
+ */
+ public java.lang.String getServiceNamePattern() {
+ return serviceNamePattern;
+ }
+
+ /**
+ * Sets the value of the serviceNamePattern property.
+ *
+ * @param value
+ * allowed object is
+ * {@link java.lang.String }
+ *
+ */
+ public void setServiceNamePattern(java.lang.String value) {
+ this.serviceNamePattern = value;
+ }
+
+ /**
+ * Gets the value of the portNamePattern property.
+ *
+ * @return
+ * possible object is
+ * {@link java.lang.String }
+ *
+ */
+ public java.lang.String getPortNamePattern() {
+ return portNamePattern;
+ }
+
+ /**
+ * Sets the value of the portNamePattern property.
+ *
+ * @param value
+ * allowed object is
+ * {@link java.lang.String }
+ *
+ */
+ public void setPortNamePattern(java.lang.String value) {
+ this.portNamePattern = value;
+ }
+
+ /**
+ * Gets the value of the protocolBindings property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the protocolBindings property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getProtocolBindings().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link java.lang.String }
+ *
+ *
+ */
+ public List<java.lang.String> getProtocolBindings() {
+ if (protocolBindings == null) {
+ protocolBindings = new ArrayList<java.lang.String>();
+ }
+ return this.protocolBindings;
+ }
+
+ /**
+ * Gets the value of the handler property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the handler property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getHandler().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link HandlerType }
+ *
+ *
+ */
+ public List<HandlerType> getHandler() {
+ if (handler == null) {
+ handler = new ArrayList<HandlerType>();
+ }
+ return this.handler;
+ }
+
+ /**
+ * Gets the value of the id property.
+ *
+ * @return
+ * possible object is
+ * {@link java.lang.String }
+ *
+ */
+ public java.lang.String getId() {
+ return id;
+ }
+
+ /**
+ * Sets the value of the id property.
+ *
+ * @param value
+ * allowed object is
+ * {@link java.lang.String }
+ *
+ */
+ public void setId(java.lang.String value) {
+ this.id = value;
+ }
+
+}
Added: webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/xml/handler/HandlerChainsType.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/xml/handler/HandlerChainsType.java?view=auto&rev=522702
==============================================================================
--- webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/xml/handler/HandlerChainsType.java (added)
+++ webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/xml/handler/HandlerChainsType.java Mon Mar 26 18:49:41 2007
@@ -0,0 +1,116 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0-b52-fcs
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2007.03.21 at 10:56:51 AM CDT
+//
+
+
+package org.apache.axis2.jaxws.description.xml.handler;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlID;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+
+
+/**
+ *
+ *
+ * The handler-chains element defines the handlerchains associated with this
+ * service or service endpoint.
+ *
+ *
+ *
+ * <p>Java class for handler-chainsType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="handler-chainsType">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="handler-chain" type="{http://java.sun.com/xml/ns/javaee}handler-chainType" maxOccurs="unbounded"/>
+ * </sequence>
+ * <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "handler-chainsType", propOrder = {
+ "handlerChain"
+})
+public class HandlerChainsType {
+
+ @XmlElement(name = "handler-chain", namespace = "http://java.sun.com/xml/ns/javaee", required = true)
+ protected List<HandlerChainType> handlerChain;
+ @XmlAttribute
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ @XmlID
+ protected java.lang.String id;
+
+ /**
+ * Gets the value of the handlerChain property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the handlerChain property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getHandlerChain().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link HandlerChainType }
+ *
+ *
+ */
+ public List<HandlerChainType> getHandlerChain() {
+ if (handlerChain == null) {
+ handlerChain = new ArrayList<HandlerChainType>();
+ }
+ return this.handlerChain;
+ }
+
+ /**
+ * Gets the value of the id property.
+ *
+ * @return
+ * possible object is
+ * {@link java.lang.String }
+ *
+ */
+ public java.lang.String getId() {
+ return id;
+ }
+
+ /**
+ * Sets the value of the id property.
+ *
+ * @param value
+ * allowed object is
+ * {@link java.lang.String }
+ *
+ */
+ public void setId(java.lang.String value) {
+ this.id = value;
+ }
+
+}
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org