geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jstrac...@apache.org
Subject cvs commit: incubator-geronimo/modules/xbeans/src/schema j2ee_1_4.xsdconfig
Date Fri, 22 Aug 2003 13:22:31 GMT
jstrachan    2003/08/22 06:22:31

  Modified:    modules/xbeans .cvsignore
               modules/xbeans/xdocs index.html
               modules/xbeans/src/schema j2ee_1_4.xsdconfig
  Log:
  updated the mappings so that web & ejb specific types go into their own separate packages
  
  Revision  Changes    Path
  1.2       +2 -0      incubator-geronimo/modules/xbeans/.cvsignore
  
  Index: .cvsignore
  ===================================================================
  RCS file: /home/cvs/incubator-geronimo/modules/xbeans/.cvsignore,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- .cvsignore	22 Aug 2003 11:18:56 -0000	1.1
  +++ .cvsignore	22 Aug 2003 13:22:31 -0000	1.2
  @@ -1,2 +1,4 @@
   target
   *.log
  +junit*.properties
  +
  
  
  
  1.2       +2 -2      incubator-geronimo/modules/xbeans/xdocs/index.html
  
  Index: index.html
  ===================================================================
  RCS file: /home/cvs/incubator-geronimo/modules/xbeans/xdocs/index.html,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- index.html	22 Aug 2003 11:18:57 -0000	1.1
  +++ index.html	22 Aug 2003 13:22:31 -0000	1.2
  @@ -41,12 +41,12 @@
   <h1>Example</h1>
   
   <p>To parse some XML...</p>
  +
  +<pre>
   EjbJarDocument document = EjbJarDocument.Factory.parse(in);
   EjbJar jar = document.getEjbJar();
   SessionBeanType[] sessionBeans = jar.getEnterpriseBeans().getSessionArray();
   ...
  -<pre>
  -
   </pre>
   
   <p>To manually construct some of the XBeans for EJB...</p>
  
  
  
  1.2       +48 -11    incubator-geronimo/modules/xbeans/src/schema/j2ee_1_4.xsdconfig
  
  Index: j2ee_1_4.xsdconfig
  ===================================================================
  RCS file: /home/cvs/incubator-geronimo/modules/xbeans/src/schema/j2ee_1_4.xsdconfig,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- j2ee_1_4.xsdconfig	22 Aug 2003 11:18:56 -0000	1.1
  +++ j2ee_1_4.xsdconfig	22 Aug 2003 13:22:31 -0000	1.2
  @@ -2,18 +2,55 @@
     xmlns:j2ee="http://java.sun.com/xml/ns/j2ee">
              
     <xb:namespace uri="http://java.sun.com/xml/ns/j2ee">
  -    <xb:package>org.apache.geronimo.xmlbeans.j2ee</xb:package>
  +    <xb:package>org.apache.geronimo.xbeans.j2ee</xb:package>
     </xb:namespace>
   
  -<!--
  -  <xb:namespace uri="http://www.w3.org/XML/1998/namespace">
  -    <xb:package>org.apache.geronimo.xmlbeans.w3.namespace</xb:package>
  -  </xb:namespace>
  -
  -  <xb:namespace uri="##any">
  -    <xb:prefix>Xml</xb:prefix>
  -    <xb:suffix>Bean</xb:suffix>
  -  </xb:namespace>
  --->
  +  <!-- it would be *really* nice to just bind schema files to package names so we don't
have to do this by hand -->
  +  <!-- or could someone generate this stuff by hand via XSLT from the schema files?
-->
  +  
  +  
  +  <!-- ejb stuff -->
  +  <xb:qname name="j2ee:ejb-jarType" javaname="org.apache.geronimo.xbeans.ejb.EjbJarType"/>
  +  <xb:qname name="j2ee:activation-configType" javaname="org.apache.geronimo.xbeans.ejb.ActivationConfigType"/>
  +  <xb:qname name="j2ee:activation-config-propertyType" javaname="org.apache.geronimo.xbeans.ejb.ActivationConfigPropertyType"/>
  +  <xb:qname name="j2ee:assembly-descriptorType" javaname="org.apache.geronimo.xbeans.ejb.AssemblyDescriptorType"/>
 
  +  <xb:qname name="j2ee:cmp-fieldType" javaname="org.apache.geronimo.xbeans.ejb.CmpFieldType"/>
  +  <xb:qname name="j2ee:cmr-fieldType" javaname="org.apache.geronimo.xbeans.ejb.CmrFieldType"/>
  +  <xb:qname name="j2ee:container-transactionType" javaname="org.apache.geronimo.xbeans.ejb.ContainerTransactionType"/>
  +  <xb:qname name="j2ee:ejb-relationType" javaname="org.apache.geronimo.xbeans.ejb.EjbRelationType"/>
  +  <xb:qname name="j2ee:ejb-relationship-roleType" javaname="org.apache.geronimo.xbeans.ejb.EjbRelationshipRoleType"/>
  +  <xb:qname name="j2ee:enterprise-beansType" javaname="org.apache.geronimo.xbeans.ejb.EnterpriseBeansType"/>
  +  <xb:qname name="j2ee:entity-beanType" javaname="org.apache.geronimo.xbeans.ejb.EntityBeanType"/>
  +  <xb:qname name="j2ee:exclude-listType" javaname="org.apache.geronimo.xbeans.ejb.ExcludeListType"/>
  +  <xb:qname name="j2ee:message-driven-beanType" javaname="org.apache.geronimo.xbeans.ejb.MessageDrivenBeanType"/>
  +  <xb:qname name="j2ee:method-paramsType" javaname="org.apache.geronimo.xbeans.ejb.MethodParamsType"/>
  +  <xb:qname name="j2ee:method-permissionType" javaname="org.apache.geronimo.xbeans.ejb.MethodPermissionType"/>
  +  <xb:qname name="j2ee:methodType" javaname="org.apache.geronimo.xbeans.ejb.MethodType"/>
  +  <xb:qname name="j2ee:query-methodType" javaname="org.apache.geronimo.xbeans.ejb.QueryMethodType"/>
  +  <xb:qname name="j2ee:queryType" javaname="org.apache.geronimo.xbeans.ejb.QueryType"/>
  +  <xb:qname name="j2ee:relationship-role-sourceType" javaname="org.apache.geronimo.xbeans.ejb.RelationshipRoleSourceType"/>
  +  <xb:qname name="j2ee:relationshipsType" javaname="org.apache.geronimo.xbeans.ejb.RelationshipsType"/>
  +  <xb:qname name="j2ee:security-identityType" javaname="org.apache.geronimo.xbeans.ejb.SecurityIdentityType"/>
  +  <xb:qname name="j2ee:service-refType" javaname="org.apache.geronimo.xbeans.ejb.ServiceRefType"/>
  +  <xb:qname name="j2ee:session-beanType" javaname="org.apache.geronimo.xbeans.ejb.SessionBeanType"/>
   
  +  <!-- web stuff -->
  +  <xb:qname name="j2ee:auth-constraintType" javaname="org.apache.geronimo.xbeans.web.AuthConstraintType"/>
  +  <xb:qname name="j2ee:error-pageType" javaname="org.apache.geronimo.xbeans.web.ErrorPageType"/>
  +  <xb:qname name="j2ee:filter-mappingType" javaname="org.apache.geronimo.xbeans.web.FilterMappingType"/>
  +  <xb:qname name="j2ee:filterType" javaname="org.apache.geronimo.xbeans.web.FilterType"/>
  +  <xb:qname name="j2ee:form-login-configType" javaname="org.apache.geronimo.xbeans.web.FormLoginConfigType"/>
  +  <xb:qname name="j2ee:listenerType" javaname="org.apache.geronimo.xbeans.web.ListenerType"/>
  +  <xb:qname name="j2ee:locale-encoding-mapping-listType" javaname="org.apache.geronimo.xbeans.web.LocaleEncodingMappingListType"/>
  +  <xb:qname name="j2ee:locale-encoding-mappingType" javaname="org.apache.geronimo.xbeans.web.LocalEncodingMappingType"/>
  +  <xb:qname name="j2ee:login-configType" javaname="org.apache.geronimo.xbeans.web.LoginConfigType"/>
  +  <xb:qname name="j2ee:mime-mappingType" javaname="org.apache.geronimo.xbeans.web.MimeMappingType"/>
  +  <xb:qname name="j2ee:security-constraintType" javaname="org.apache.geronimo.xbeans.web.SecurityConstraintType"/>
  +  <xb:qname name="j2ee:servlet-mappingType" javaname="org.apache.geronimo.xbeans.web.ServletMappingType"/>
  +  <xb:qname name="j2ee:servletType" javaname="org.apache.geronimo.xbeans.web.ServletType"/>
  +  <xb:qname name="j2ee:session-configType" javaname="org.apache.geronimo.xbeans.web.SessionConfigType"/>
  +  <xb:qname name="j2ee:user-data-constraintType" javaname="org.apache.geronimo.xbeans.web.UserDataConstraintType"/>
  +  <xb:qname name="j2ee:web-appType" javaname="org.apache.geronimo.xbeans.web.WebAppType"/>
  +  <xb:qname name="j2ee:web-resource-collectionType" javaname="org.apache.geronimo.xbeans.web.WebResourceCollectionType"/>
  +  <xb:qname name="j2ee:welcome-file-listType" javaname="org.apache.geronimo.xbeans.web.WelcomeFileListType"/>
   </xb:config>
  
  
  

Mime
View raw message