Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
<?xml version="1.0" encoding="UTF-8"?>
<!--
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 - EasyBeans
 - Copyright (C) 2008-2009 Bull S.A.S.
 - Contact: easybeans@ow2.org
 -
 - This library is free software; you can redistribute it and/or
 - modify it under the terms of the GNU Lesser General Public
 - License as published by the Free Software Foundation; either
 - version 2.1 of the License, or any later version.
 -
 - This library is distributed in the hope that it will be useful,
 - but WITHOUT ANY WARRANTY; without even the implied warranty of
 - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 - Lesser General Public License for more details.
 -
 - You should have received a copy of the GNU Lesser General Public
 - License along with this library; if not, write to the Free Software
 - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307
 - USA
 -
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 - $Id: easybeans-mapping.xml 4832 2009-03-23 17:46:11Z sauthieg $
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 -->

<xmlconfig-mapping xmlns="http://easybeans.ow2.org/xml/ns/xmlconfig"
                   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                   xsi:schemaLocation="http://easybeans.ow2.org/xml/ns/xmlconfig
                                       http://easybeans.ow2.org/xml/ns/xmlconfig/xmlconfig-mapping_1_0.xsd">

  <class name="java.util.Properties" alias="property" />

  <package name="org.ow2.easybeans.deployment.metadata.ejbjar.xml">
    <!-- Security part -->
    <class name="SecurityRoleMapping" alias="security-role-mapping">
      <attribute name="roleName" alias="role-name" element="true" />
      <attribute name="principalName" alias="principal-name" element="true" />
    </class>

    <!-- EJB part -->
    <class name="EJB" alias="ejb">
    </class>

    <class name="Session" alias="session">
      <attribute name="ejbName" alias="ejb-name" element="true" />
      <attribute name="endpointAddress" alias="endpoint-address" element="true" />
      <attribute name="contextRoot" alias="context-root" element="true" />
      <attribute name="realmName" alias="realm-name" element="true" />
      <attribute name="transportGuarantee" alias="transport-guarantee" element="true" />
      <attribute name="authMethod" alias="auth-method" element="true" />
      <attribute name="httpMethods"
                 alias="http-method"
                 element="true"
                 isList="true"
                 getter="getHttpMethods"
                 setter="setHttpMethods" />
    </class>
    <class name="MessageDrivenBean" alias="mdb">
      <attribute name="ejbName" alias="ejb-name" element="true" />
    </class>

    <class name="ServiceRef" alias="service-ref">
      <attribute name="name" alias="ref-name" element="true" />
      <attribute name="wsdlLocation" alias="wsdl-location" element="true" />
    </class>

    <class name="PortComponentRef" alias="port-component-ref">
      <attribute name="serviceEndpointInterface" alias="service-endpoint-interface" element="true" />
    </class>

    <class name="RunAs" alias="run-as">
      <attribute name="principalName" alias="principal-name" element="true" />
    </class>

    <!-- Additional informations for WS enabled EJBs -->
    <class name="EasyBeansWebservices" alias="webservices" />
    <class name="WebserviceEndpoint" alias="webservice-endpoint">
      <attribute name="portComponentName" alias="port-component-name" element="true" />
      <attribute name="wsdlPublicationDirectory" alias="wsdl-publication-directory" element="true" />
    </class>
  </package>
</xmlconfig-mapping>
New to GrepCode? Check out our FAQ X