Index: cluster/src/main/org/jboss/ha/singleton/HASingletonElectionPolicyMBean.java
===================================================================
--- cluster/src/main/org/jboss/ha/singleton/HASingletonElectionPolicyMBean.java (.../branches/Branch_4_0) (revision 58015)
+++ cluster/src/main/org/jboss/ha/singleton/HASingletonElectionPolicyMBean.java (.../tags/JBoss_4_0_5_GA) (revision 58015)
@@ -1,82 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2006, Red Hat Middleware LLC, and individual contributors
- * as indicated by the @author tags. See the copyright.txt file in the
- * distribution for a full listing of individual contributors.
- *
- * This 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 (at your option) any later version.
- *
- * This software 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 software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jboss.ha.singleton;
-
-
-import org.jboss.ha.framework.interfaces.ClusterNode;
-import org.jboss.ha.framework.interfaces.HAPartition;
-
-/**
- * Management Bean for HASinigleton Election Policy.
-
- * @author Alex Fu.
- * @version $Revision: 46010 $
- *
- */
-public interface HASingletonElectionPolicyMBean
- extends org.jboss.system.ServiceMBean
-{
- /**
- * Called by the HASingleton to provide the election policy a reference to
- * itself. A policy that was designed to elect a particular kind of singleton
- * could downcast this object to a particular type and then access the
- * singleton for state information needed for the election decision.
- */
- void setManagedSingleton(Object singleton);
- Object getManagedSingleton();
-
- /**
- * Sets the HAPartition; from this the election policy can gain
- * access to the DistributedReplicantManager for tracking the
- * deployment topology for the singleton service and to the HAPartition
- * for making group RPC calls.
- */
- void setHAPartition(HAPartition partition);
- HAPartition getHAPartition();
-
- /**
- * Return the elected master node.
- * @return the master node
- */
- ClusterNode pickSingleton();
-
- /**
- * Given the HAPartition, return the elected master node.
- * @param partition
- * @return the master node
- */
- ClusterNode pickSingleton(HAPartition partition);
-
- /**
- * Conducts an election and returns whether the managed service
- * is the master, based on the current view of partition.
- * @return true only if the managed service is the master
- */
- public boolean isElectedMaster();
-
- /**
- * Given the HAPartition, return whether the managed service is the master.
- * @param partition
- * @return true only if the managed service is the master
- */
- public boolean isElectedMaster(HAPartition partiton);
-}
Index: cluster/src/main/org/jboss/ha/singleton/HASingletonElectionPolicySimple.java
===================================================================
--- cluster/src/main/org/jboss/ha/singleton/HASingletonElectionPolicySimple.java (.../branches/Branch_4_0) (revision 58015)
+++ cluster/src/main/org/jboss/ha/singleton/HASingletonElectionPolicySimple.java (.../tags/JBoss_4_0_5_GA) (revision 58015)
@@ -1,88 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2006, Red Hat Middleware LLC, and individual contributors
- * as indicated by the @author tags. See the copyright.txt file in the
- * distribution for a full listing of individual contributors.
- *
- * This 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 (at your option) any later version.
- *
- * This software 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 software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jboss.ha.singleton;
-
-
-import org.jboss.ha.framework.interfaces.ClusterNode;
-import org.jboss.ha.framework.interfaces.HAPartition;
-
-/**
- * A simple concrete policy service that decides which node in the cluster should be
- * the master node to run certain HASingleton service based on attribute "Position".
- * The value will be divided by partition size and only remainder will be used.
- *
- * Let's say partition size is n:
- * 0 means the first oldest node.
- * 1 means the 2nd oldest node.
- * ...
- * n-1 means the nth oldest node.
- *
- * -1 means the youngest node.
- * -2 means the 2nd youngest node.
- * ...
- * -n means the nth youngest node.
- *
- * E.g. the following attribute says the singleton will be running on the 3rd oldest node of
- * the current partition:
- * 2
- *
- * @author Alex Fu
- * @version $Revision: 46010 $
- */
-public class HASingletonElectionPolicySimple
- extends HASingletonElectionPolicyBase
- implements HASingletonElectionPolicySimpleMBean
-{
- // Attributes
- private int mPosition = 0; // Default
-
- /**
- * @see HASingletonElectionPolicySimpleMBean#setPosition(int)
- */
- public void setPosition(int pos)
- {
- this.mPosition = pos;
- }
-
- /**
- * @see HASingletonElectionPolicySimpleMBean#getPosition()
- */
- public int getPosition()
- {
- return this.mPosition;
- }
-
- public ClusterNode pickSingleton()
- {
- return pickSingleton(getHAPartition());
- }
-
- public ClusterNode pickSingleton(HAPartition partition)
- {
- ClusterNode[] nodes = partition.getClusterNodes();
-
- int size = nodes.length;
- int remainder = ((this.mPosition % size) + size) % size;
-
- return nodes[remainder];
- }
-}
Index: cluster/src/main/org/jboss/ha/singleton/HASingletonElectionPolicyBase.java
===================================================================
--- cluster/src/main/org/jboss/ha/singleton/HASingletonElectionPolicyBase.java (.../branches/Branch_4_0) (revision 58015)
+++ cluster/src/main/org/jboss/ha/singleton/HASingletonElectionPolicyBase.java (.../tags/JBoss_4_0_5_GA) (revision 58015)
@@ -1,97 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2006, Red Hat Middleware LLC, and individual contributors
- * as indicated by the @author tags. See the copyright.txt file in the
- * distribution for a full listing of individual contributors.
- *
- * This 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 (at your option) any later version.
- *
- * This software 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 software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jboss.ha.singleton;
-
-
-import org.jboss.ha.framework.interfaces.HAPartition;
-import org.jboss.ha.framework.server.ClusterPartition;
-import org.jboss.logging.Logger;
-import org.jboss.system.ServiceMBeanSupport;
-
-/**
- * A base class for policy service that decides which node in the cluster should be
- * the master node to run certain HASingleton service.
- *
- * @author Alex Fu
- * @version $Revision: 46010 $
- */
-public abstract class HASingletonElectionPolicyBase
- extends ServiceMBeanSupport
- implements HASingletonElectionPolicyMBean
-{
- private Object mManagedSingleton;
- private HAPartition mPartition;
-
- /**
- * @see HASingletonElectionPolicyMBean#setManagedSingleton(Object)
- */
- public void setManagedSingleton(Object singleton)
- {
- this.mManagedSingleton = singleton;
- }
-
- /**
- * @see HASingletonElectionPolicyMBean#getManagedSingleton()
- */
- public Object getManagedSingleton()
- {
- return this.mManagedSingleton;
- }
-
- /**
- * @see HASingletonElectionPolicyMBean#setHAPartition(HAPartition)
- */
- public void setHAPartition(HAPartition partition)
- {
- this.mPartition = partition;
- }
-
- /**
- * @see HASingletonElectionPolicyMBean#getHAPartition()
- */
- public HAPartition getHAPartition()
- {
- return this.mPartition;
- }
-
- /**
- * @see HASingletonElectionPolicyMBean#isElectedMaster()
- */
- public boolean isElectedMaster()
- {
- if (null == this.mPartition)
- throw new IllegalStateException("HAPartition is not set");
-
- return pickSingleton().equals(this.mPartition.getClusterNode());
- }
-
- /**
- * @see HASingletonElectionPolicyMBean#isElectedMaster(HAPartition)
- */
- public boolean isElectedMaster(HAPartition partition)
- {
- if (null == partition)
- throw new IllegalStateException("parameter cannot be null");
-
- return pickSingleton(partition).equals(partition.getClusterNode());
- }
-}
Index: cluster/src/main/org/jboss/ha/singleton/HASingletonElectionPolicySimpleMBean.java
===================================================================
--- cluster/src/main/org/jboss/ha/singleton/HASingletonElectionPolicySimpleMBean.java (.../branches/Branch_4_0) (revision 58015)
+++ cluster/src/main/org/jboss/ha/singleton/HASingletonElectionPolicySimpleMBean.java (.../tags/JBoss_4_0_5_GA) (revision 58015)
@@ -1,41 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2006, Red Hat Middleware LLC, and individual contributors
- * as indicated by the @author tags. See the copyright.txt file in the
- * distribution for a full listing of individual contributors.
- *
- * This 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 (at your option) any later version.
- *
- * This software 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 software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jboss.ha.singleton;
-
-/**
- * Management Bean for the simple Election Policy.
-
- * @author Alex Fu.
- * @version $Revision: 46010 $
- *
- */
-public interface HASingletonElectionPolicySimpleMBean
- extends HASingletonElectionPolicyMBean
-{
- /**
- * Attribute: position.
- * 0 means the oldest node, 1 means 2nd oldest, ...
- * -1 means the youngest node, -2 means 2nd youngest, ...
- */
- void setPosition(int pos);
- int getPosition();
-}
Index: cluster/src/main/org/jboss/ha/singleton/HASingletonSupportMBean.java
===================================================================
--- cluster/src/main/org/jboss/ha/singleton/HASingletonSupportMBean.java (.../branches/Branch_4_0) (revision 58015)
+++ cluster/src/main/org/jboss/ha/singleton/HASingletonSupportMBean.java (.../tags/JBoss_4_0_5_GA) (revision 58015)
@@ -1,35 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2006, Red Hat Middleware LLC, and individual contributors
- * as indicated by the @author tags. See the copyright.txt file in the
- * distribution for a full listing of individual contributors.
- *
- * This 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 (at your option) any later version.
- *
- * This software 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 software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jboss.ha.singleton;
-
-/**
- * The management interface for the singleton support service.
- *
- * @author Alex Fu
- * @version $Revision$
- */
-public interface HASingletonSupportMBean extends HASingletonMBean
-{
- /** The HASingleton election policy MBean */
- void setHASingletonElectionPolicyMBean(HASingletonElectionPolicyMBean mb);
- HASingletonElectionPolicyMBean getHASingletonElectionPolicyMBean();
-}
Index: cluster/src/main/org/jboss/ha/singleton/HASingletonControllerMBean.java
===================================================================
--- cluster/src/main/org/jboss/ha/singleton/HASingletonControllerMBean.java (.../branches/Branch_4_0) (revision 58015)
+++ cluster/src/main/org/jboss/ha/singleton/HASingletonControllerMBean.java (.../tags/JBoss_4_0_5_GA) (revision 58015)
@@ -34,7 +34,7 @@
* @author Dimitris Andreadis
* @version $Revision$
*/
-public interface HASingletonControllerMBean extends HASingletonSupportMBean
+public interface HASingletonControllerMBean extends HASingletonMBean
{
/** The controlled target Singleton MBean */
ObjectName getTargetName();
Index: cluster/src/main/org/jboss/ha/singleton/HASingletonSupport.java
===================================================================
--- cluster/src/main/org/jboss/ha/singleton/HASingletonSupport.java (.../branches/Branch_4_0) (revision 58015)
+++ cluster/src/main/org/jboss/ha/singleton/HASingletonSupport.java (.../tags/JBoss_4_0_5_GA) (revision 58015)
@@ -41,7 +41,6 @@
// Private Data --------------------------------------------------
private boolean isMasterNode = false;
- private HASingletonElectionPolicyMBean mElectionPolicyMB = null;
// Constructors --------------------------------------------------
@@ -65,22 +64,6 @@
return isMasterNode;
}
- /**
- * @see HASingletonSupportMBean#setHASingletonElectionPolicyMBean(HASingletonElectionPolicyMBean)
- */
- public void setHASingletonElectionPolicyMBean(HASingletonElectionPolicyMBean mb)
- {
- this.mElectionPolicyMB = mb;
- }
-
- /**
- * @see HASingletonSupportMBean#getHASingletonElectionPolicyMBean()
- */
- public HASingletonElectionPolicyMBean getHASingletonElectionPolicyMBean()
- {
- return this.mElectionPolicyMB;
- }
-
// Public --------------------------------------------------------
/**
@@ -131,11 +114,7 @@
*/
public void partitionTopologyChanged(List newReplicants, int newViewID)
{
- boolean isElectedNewMaster;
- if (this.mElectionPolicyMB != null)
- isElectedNewMaster = this.mElectionPolicyMB.isElectedMaster(this.getPartition());
- else
- isElectedNewMaster = isDRMMasterReplica();
+ boolean isElectedNewMaster = isDRMMasterReplica();
if (log.isDebugEnabled())
{
Index: ejb3/src/main/org/jboss/ejb3/tx/TxUtil.java
===================================================================
--- ejb3/src/main/org/jboss/ejb3/tx/TxUtil.java (.../branches/Branch_4_0) (revision 58015)
+++ ejb3/src/main/org/jboss/ejb3/tx/TxUtil.java (.../tags/JBoss_4_0_5_GA) (revision 58015)
@@ -27,9 +27,8 @@
import javax.naming.NamingException;
import javax.transaction.TransactionManager;
import org.jboss.aop.Advisor;
+import org.jboss.tm.TxManager;
-import org.jboss.ejb3.InitialContextFactory;
-
/**
* Comment
*
@@ -42,7 +41,7 @@
{
try
{
- InitialContext jndiContext = InitialContextFactory.getInitialContext();
+ InitialContext jndiContext = new InitialContext();
TransactionManager tm = (TransactionManager)jndiContext.lookup("java:TransactionManager");
return tm;
}
Index: server/src/resources/dtd/jboss-web_4_0.dtd
===================================================================
--- server/src/resources/dtd/jboss-web_4_0.dtd (.../branches/Branch_4_0) (revision 58015)
+++ server/src/resources/dtd/jboss-web_4_0.dtd (.../tags/JBoss_4_0_5_GA) (revision 58015)
@@ -382,7 +382,7 @@
or
FALSE
-->
-
+
-
-
-
-
-
-
-
-
-
-
-
-
Index: testsuite/imports/sections/aop.xml
===================================================================
--- testsuite/imports/sections/aop.xml (.../branches/Branch_4_0) (revision 58015)
+++ testsuite/imports/sections/aop.xml (.../tags/JBoss_4_0_5_GA) (revision 58015)
@@ -1,5 +1,5 @@
-
+
@@ -19,7 +19,6 @@
-
-
@@ -201,7 +199,7 @@
-
+
@@ -238,7 +236,7 @@
-
+
@@ -275,31 +273,8 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
@@ -373,7 +373,6 @@
JDK 5 version of the annotation types
-->
-
@@ -566,7 +565,6 @@
-
@@ -583,7 +581,6 @@
-
@@ -654,7 +651,7 @@
-
+
@@ -753,13 +750,13 @@
-
-
-
-
-
-
-
+
+
+
+
+
+
+
@@ -823,7 +820,7 @@
-
+
@@ -1059,13 +1056,13 @@
-
+
-
+
@@ -1079,18 +1076,18 @@
-
+
-
+
-
-
+
+
@@ -1213,7 +1210,7 @@
-
+
@@ -1327,7 +1324,7 @@
-
@@ -1337,14 +1334,14 @@
-
+
-
+
@@ -1352,7 +1349,7 @@
-
+
@@ -1409,7 +1406,7 @@
-
@@ -1883,8 +1880,8 @@
+ description="Tests run against a jboss server with JACC configured with an
+ external policy provider">
@@ -1959,7 +1956,7 @@
junit.syspropertyset="jacc-tests-props" />
-
+
@@ -2693,7 +2690,7 @@
junit.syspropertyset="tests-webservice-ssl-props"
junit.configuration="webservice-ssl" />
@@ -3206,7 +3203,7 @@
fork="${junit.batchtest.fork}"/>
-
+
@@ -3228,7 +3225,7 @@
-
+
@@ -3289,7 +3286,7 @@
-
+
@@ -3301,7 +3298,7 @@
-
+
@@ -3346,12 +3343,12 @@
-
+
+
-
Index: connector/src/main/org/jboss/resource/adapter/jdbc/GenericExceptionSorter.java
===================================================================
--- connector/src/main/org/jboss/resource/adapter/jdbc/GenericExceptionSorter.java (.../branches/Branch_4_0) (revision 58015)
+++ connector/src/main/org/jboss/resource/adapter/jdbc/GenericExceptionSorter.java (.../tags/JBoss_4_0_5_GA) (revision 58015)
@@ -1,19 +0,0 @@
-package org.jboss.resource.adapter.jdbc;
-
-import java.sql.SQLException;
-
-/**
- * A GenericExceptionSorter returning true for all exceptions.
- *
- * @author Adrian Brock
- * @author David Jencks
- * @author
-
-
-
-
-
-
-
-
generic-mcf
@@ -153,15 +145,7 @@
false
-
-
-
-
-
-
-
-
-
+
@@ -281,6 +265,10 @@
+
+
+
+
@@ -680,7 +668,6 @@
-
ha-xa-wrapper
@@ -718,6 +705,10 @@
+
+
+
+
Index: build/build-thirdparty.xml
===================================================================
--- build/build-thirdparty.xml (.../branches/Branch_4_0) (revision 58015)
+++ build/build-thirdparty.xml (.../tags/JBoss_4_0_5_GA) (revision 58015)
@@ -85,7 +85,7 @@
-
+
Index: build/docs/JBossORG-EULA.txt
===================================================================
--- build/docs/JBossORG-EULA.txt (.../branches/Branch_4_0) (revision 58015)
+++ build/docs/JBossORG-EULA.txt (.../tags/JBoss_4_0_5_GA) (revision 58015)
@@ -1,107 +0,0 @@
-LICENSE AGREEMENT
-JBOSS(r)
-
-This License Agreement governs the use of the Software Packages and any updates to the Software
-Packages, regardless of the delivery mechanism. Each Software Package is a collective work
-under U.S. Copyright Law. Subject to the following terms, Red Hat, Inc. ("Red Hat") grants to
-the user ("Client") a license to the applicable collective work(s) pursuant to the
-GNU Lesser General Public License v. 2.1 except for the following Software Packages:
-(a) JBoss Portal Forums and JBoss Transactions JTS, each of which is licensed pursuant to the
-GNU General Public License v.2;
-
-(b) JBoss Rules, which is licensed pursuant to the Apache License v.2.0;
-
-(c) an optional download for JBoss Cache for the Berkeley DB for Java database, which is licensed under the
-(open source) Sleepycat License (if Client does not wish to use the open source version of this database,
-it may purchase a license from Sleepycat Software);
-
-and (d) the BPEL extension for JBoss jBPM, which is licensed under the Common Public License v.1,
-and, pursuant to the OASIS BPEL4WS standard, requires parties wishing to redistribute to enter various
-royalty-free patent licenses.
-
-Each of the foregoing licenses is available at http://www.opensource.org/licenses/index.php.
-
-1. The Software. "Software Packages" refer to the various software modules that are created and made available
-for distribution by the JBoss.org open source community at http://www.jboss.org. Each of the Software Packages
-may be comprised of hundreds of software components. The end user license agreement for each component is located in
-the component's source code. With the exception of certain image files identified in Section 2 below,
-the license terms for the components permit Client to copy, modify, and redistribute the component,
-in both source code and binary code forms. This agreement does not limit Client's rights under,
-or grant Client rights that supersede, the license terms of any particular component.
-
-2. Intellectual Property Rights. The Software Packages are owned by Red Hat and others and are protected under copyright
-and other laws. Title to the Software Packages and any component, or to any copy, modification, or merged portion shall
-remain with the aforementioned, subject to the applicable license. The "JBoss" trademark, "Red Hat" trademark, the
-individual Software Package trademarks, and the "Shadowman" logo are registered trademarks of Red Hat and its affiliates
-in the U.S. and other countries. This agreement permits Client to distribute unmodified copies of the Software Packages
-using the Red Hat trademarks that Red Hat has inserted in the Software Packages on the condition that Client follows Red Hat's
-trademark guidelines for those trademarks located at http://www.redhat.com/about/corporate/trademark/. Client must abide by
-these trademark guidelines when distributing the Software Packages, regardless of whether the Software Packages have been modified.
-If Client modifies the Software Packages, then Client must replace all Red Hat trademarks and logos identified at
-http://www.jboss.com/company/logos, unless a separate agreement with Red Hat is executed or other permission granted.
-Merely deleting the files containing the Red Hat trademarks may corrupt the Software Packages.
-
-3. Limited Warranty. Except as specifically stated in this Paragraph 3 or a license for a particular
-component, to the maximum extent permitted under applicable law, the Software Packages and the
-components are provided and licensed "as is" without warranty of any kind, expressed or implied,
-including the implied warranties of merchantability, non-infringement or fitness for a particular purpose.
-Red Hat warrants that the media on which Software Packages may be furnished will be free from defects in
-materials and manufacture under normal use for a period of 30 days from the date of delivery to Client.
-Red Hat does not warrant that the functions contained in the Software Packages will meet Client's requirements
-or that the operation of the Software Packages will be entirely error free or appear precisely as described
-in the accompanying documentation. This warranty extends only to the party that purchases the Services
-pertaining to the Software Packages from Red Hat or a Red Hat authorized distributor.
-
-4. Limitation of Remedies and Liability. To the maximum extent permitted by applicable law, the remedies
-described below are accepted by Client as its only remedies. Red Hat's entire liability, and Client's
-exclusive remedies, shall be: If the Software media is defective, Client may return it within 30 days of
-delivery along with a copy of Client's payment receipt and Red Hat, at its option, will replace it or
-refund the money paid by Client for the Software. To the maximum extent permitted by applicable law,
-Red Hat or any Red Hat authorized dealer will not be liable to Client for any incidental or consequential
-damages, including lost profits or lost savings arising out of the use or inability to use the Software,
-even if Red Hat or such dealer has been advised of the possibility of such damages. In no event shall
-Red Hat's liability under this agreement exceed the amount that Client paid to Red Hat under this
-Agreement during the twelve months preceding the action.
-
-5. Export Control. As required by U.S. law, Client represents and warrants that it:
-(a) understands that the Software Packages are subject to export controls under the
-U.S. Commerce Department's Export Administration Regulations ("EAR");
-
-(b) is not located in a prohibited destination country under the EAR or U.S. sanctions regulations
-(currently Cuba, Iran, Iraq, Libya, North Korea, Sudan and Syria);
-
-(c) will not export, re-export, or transfer the Software Packages to any prohibited destination, entity,
-or individual without the necessary export license(s) or authorizations(s) from the U.S. Government;
-
-(d) will not use or transfer the Software Packages for use in any sensitive nuclear, chemical or
-biological weapons, or missile technology end-uses unless authorized by the U.S. Government by
-regulation or specific license;
-
-(e) understands and agrees that if it is in the United States and exports or transfers the Software
-Packages to eligible end users, it will, as required by EAR Section 740.17(e), submit semi-annual
-reports to the Commerce Department's Bureau of Industry & Security (BIS), which include the name and
-address (including country) of each transferee;
-
-and (f) understands that countries other than the United States may restrict the import, use, or
-export of encryption products and that it shall be solely responsible for compliance with any such
-import, use, or export restrictions.
-
-6. Third Party Programs. Red Hat may distribute third party software programs with the Software Packages
-that are not part of the Software Packages and which Client must install separately. These third party
-programs are subject to their own license terms. The license terms either accompany the programs or
-can be viewed at http://www.redhat.com/licenses/. If Client does not agree to abide by the applicable
-license terms for such programs, then Client may not install them. If Client wishes to install the programs
-on more than one system or transfer the programs to another party, then Client must contact the licensor
-of the programs.
-
-7. General. If any provision of this agreement is held to be unenforceable, that shall not affect the
-enforceability of the remaining provisions. This License Agreement shall be governed by the laws of the
-State of North Carolina and of the United States, without regard to any conflict of laws provisions,
-except that the United Nations Convention on the International Sale of Goods shall not apply.
-
-Copyright 2006 Red Hat, Inc. All rights reserved.
-"JBoss" and the JBoss logo are registered trademarks of Red Hat, Inc.
-All other trademarks are the property of their respective owners.
-
- Page 1 of 1 18 October 2006
-
Index: build/build-release.xml
===================================================================
--- build/build-release.xml (.../branches/Branch_4_0) (revision 58015)
+++ build/build-release.xml (.../tags/JBoss_4_0_5_GA) (revision 58015)
@@ -210,7 +210,8 @@
-
+
+
Index: aspects/src/main/org/jboss/aop/deployment/ScopedClassLoaderDomain.java
===================================================================
--- aspects/src/main/org/jboss/aop/deployment/ScopedClassLoaderDomain.java (.../branches/Branch_4_0) (revision 58015)
+++ aspects/src/main/org/jboss/aop/deployment/ScopedClassLoaderDomain.java (.../tags/JBoss_4_0_5_GA) (revision 58015)
@@ -46,10 +46,10 @@
ConcurrentReaderHashMap myPerVMAspects = new ConcurrentReaderHashMap();
ConcurrentReaderHashMap notMyPerVMAspects = new ConcurrentReaderHashMap();
- public ScopedClassLoaderDomain(ClassLoader loader, String name, boolean parentDelegation, AspectManager manager, boolean parentFirst)
+ public ScopedClassLoaderDomain(ClassLoader loader, boolean parentDelegation, AspectManager manager, boolean parentFirst)
{
// FIXME ScopedClassLoaderDomain constructor
- super(manager, name, parentFirst);
+ super(manager, parentFirst);
this.loader = new WeakReference(loader);
this.parentDelegation = parentDelegation;
}
Index: aspects/src/main/org/jboss/aop/deployment/AspectDeployer.java
===================================================================
--- aspects/src/main/org/jboss/aop/deployment/AspectDeployer.java (.../branches/Branch_4_0) (revision 58015)
+++ aspects/src/main/org/jboss/aop/deployment/AspectDeployer.java (.../tags/JBoss_4_0_5_GA) (revision 58015)
@@ -160,9 +160,7 @@
if (!di.isXML)
{
Iterator it = ArchiveBrowser.getBrowser(di.localUrl, new ClassFileFilter());
- AspectManager manager = (scl != null) ? AspectManager.instance(scl) : AspectManager.instance();
- AspectAnnotationLoader loader = new AspectAnnotationLoader(manager);
- loader.setClassLoader(scl);
+ AspectAnnotationLoader loader = new AspectAnnotationLoader(AspectManager.instance());
loader.deployInputStreamIterator(it);
}
Index: aspects/src/main/org/jboss/aop/deployment/JBossScopedClassLoaderHelper.java
===================================================================
--- aspects/src/main/org/jboss/aop/deployment/JBossScopedClassLoaderHelper.java (.../branches/Branch_4_0) (revision 58015)
+++ aspects/src/main/org/jboss/aop/deployment/JBossScopedClassLoaderHelper.java (.../tags/JBoss_4_0_5_GA) (revision 58015)
@@ -95,8 +95,7 @@
HeirarchicalLoaderRepository3 repository = (HeirarchicalLoaderRepository3)((RepositoryClassLoader)cl).getLoaderRepository();
parentDelegation = repository.getUseParentFirst();
}
- String name = String.valueOf(System.identityHashCode(cl));
- return new ScopedClassLoaderDomain(cl, name, parentDelegation, parent, false);
+ return new ScopedClassLoaderDomain(cl, parentDelegation, parent, false);
}
}
Index: aspects/src/etc/base-aop.xml
===================================================================
--- aspects/src/etc/base-aop.xml (.../branches/Branch_4_0) (revision 58015)
+++ aspects/src/etc/base-aop.xml (.../tags/JBoss_4_0_5_GA) (revision 58015)
@@ -1,7 +1,7 @@
+ "http://www.jboss.org/aop/dtd/jboss-aop_1_0.dtd">