[jboss-cvs] JBossAS SVN: r81038 - in trunk/varia/src: main/org/jboss/invocation/http/servlet and 45 other directories.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Fri Nov 14 08:43:28 EST 2008
Author: dimitris at jboss.org
Date: 2008-11-14 08:43:27 -0500 (Fri, 14 Nov 2008)
New Revision: 81038
Modified:
trunk/varia/src/main/org/jboss/ant/JMX.java
trunk/varia/src/main/org/jboss/invocation/http/servlet/InvokerServlet.java
trunk/varia/src/main/org/jboss/invocation/http/servlet/NamingFactoryServlet.java
trunk/varia/src/main/org/jboss/invocation/http/servlet/ReadOnlyAccessFilter.java
trunk/varia/src/main/org/jboss/jdbc/DerbyDatabase.java
trunk/varia/src/main/org/jboss/jdbc/DerbyDatabaseMBean.java
trunk/varia/src/main/org/jboss/jdbc/HypersonicDatabase.java
trunk/varia/src/main/org/jboss/jdbc/HypersonicDatabaseMBean.java
trunk/varia/src/main/org/jboss/jdo/castor/CastorJDOImpl.java
trunk/varia/src/main/org/jboss/jdo/castor/CastorJDOImplMBean.java
trunk/varia/src/main/org/jboss/jmx/adaptor/control/AddressPort.java
trunk/varia/src/main/org/jboss/jmx/adaptor/control/AttrResultInfo.java
trunk/varia/src/main/org/jboss/jmx/adaptor/control/OpResultInfo.java
trunk/varia/src/main/org/jboss/jmx/adaptor/control/Server.java
trunk/varia/src/main/org/jboss/jmx/adaptor/html/ClusteredConsoleServlet.java
trunk/varia/src/main/org/jboss/jmx/adaptor/html/HtmlAdaptorServlet.java
trunk/varia/src/main/org/jboss/jmx/adaptor/html/JMXOpsAccessControlFilter.java
trunk/varia/src/main/org/jboss/jmx/adaptor/model/DomainData.java
trunk/varia/src/main/org/jboss/jmx/adaptor/model/MBeanData.java
trunk/varia/src/main/org/jboss/jmx/adaptor/snmp/agent/AttributeMappingsBinding.java
trunk/varia/src/main/org/jboss/jmx/adaptor/snmp/agent/ComparableSnmpObjectId.java
trunk/varia/src/main/org/jboss/jmx/adaptor/snmp/agent/ReadOnlyException.java
trunk/varia/src/main/org/jboss/jmx/adaptor/snmp/agent/Reconfigurable.java
trunk/varia/src/main/org/jboss/jmx/adaptor/snmp/agent/RequestHandler.java
trunk/varia/src/main/org/jboss/jmx/adaptor/snmp/agent/RequestHandlerImpl.java
trunk/varia/src/main/org/jboss/jmx/adaptor/snmp/agent/RequestHandlerSupport.java
trunk/varia/src/main/org/jboss/jmx/adaptor/snmp/agent/SnmpAgentServiceMBean.java
trunk/varia/src/main/org/jboss/jmx/adaptor/snmp/config/attribute/AttributeMappings.java
trunk/varia/src/main/org/jboss/jmx/adaptor/snmp/config/attribute/ManagedBean.java
trunk/varia/src/main/org/jboss/jmx/adaptor/snmp/config/attribute/MappedAttribute.java
trunk/varia/src/main/org/jboss/jmx/adaptor/snmp/config/manager/Manager.java
trunk/varia/src/main/org/jboss/jmx/adaptor/snmp/config/notification/Mapping.java
trunk/varia/src/main/org/jboss/jmx/adaptor/snmp/config/notification/VarBind.java
trunk/varia/src/main/org/jboss/jmx/adaptor/snmp/config/notification/VarBindList.java
trunk/varia/src/main/org/jboss/jmx/adaptor/snmp/system/MIB2SystemGroupService.java
trunk/varia/src/main/org/jboss/jmx/adaptor/snmp/system/MIB2SystemGroupServiceMBean.java
trunk/varia/src/main/org/jboss/jmx/adaptor/snmp/test/NotificationProducerServiceMBean.java
trunk/varia/src/main/org/jboss/jmx/adaptor/snmp/trapd/TrapdServiceMBean.java
trunk/varia/src/main/org/jboss/jmx/examples/configuration/MBeanConfiguratorSupport.java
trunk/varia/src/main/org/jboss/jmx/examples/configuration/MBeanConfiguratorSupportMBean.java
trunk/varia/src/main/org/jboss/jmx/examples/configuration/SampleConfig.java
trunk/varia/src/main/org/jboss/jmx/examples/configuration/SampleConfigMBean.java
trunk/varia/src/main/org/jboss/jmx/examples/configuration/SampleMBeanConfigurator.java
trunk/varia/src/main/org/jboss/jmx/examples/configuration/SampleMBeanConfiguratorMBean.java
trunk/varia/src/main/org/jboss/jmx/examples/configuration/SampleService.java
trunk/varia/src/main/org/jboss/jmx/examples/configuration/SampleServiceMBean.java
trunk/varia/src/main/org/jboss/jmx/examples/persistence/PersistentServiceExample.java
trunk/varia/src/main/org/jboss/jmx/examples/persistence/PersistentServiceExampleMBean.java
trunk/varia/src/main/org/jboss/kernel/deployment/jboss/JBossBeanDeployer.java
trunk/varia/src/main/org/jboss/kernel/deployment/jboss/JBossBeanDeployerMBean.java
trunk/varia/src/main/org/jboss/kernel/deployment/jboss/JBossBeanDeployment.java
trunk/varia/src/main/org/jboss/kernel/deployment/jboss/JBossBeanDeploymentMBean.java
trunk/varia/src/main/org/jboss/mail/MailService.java
trunk/varia/src/main/org/jboss/mail/MailServiceMBean.java
trunk/varia/src/main/org/jboss/mail/SessionObjectFactory.java
trunk/varia/src/main/org/jboss/monitor/JBossMonitor.java
trunk/varia/src/main/org/jboss/monitor/JBossMonitorMBean.java
trunk/varia/src/main/org/jboss/monitor/JBossMonitorNotification.java
trunk/varia/src/main/org/jboss/monitor/SnapshotRecordingMonitor.java
trunk/varia/src/main/org/jboss/monitor/SnapshotRecordingMonitorMBean.java
trunk/varia/src/main/org/jboss/monitor/StringThresholdMonitor.java
trunk/varia/src/main/org/jboss/monitor/StringThresholdMonitorMBean.java
trunk/varia/src/main/org/jboss/monitor/StringThresholdNotification.java
trunk/varia/src/main/org/jboss/monitor/ThresholdMonitor.java
trunk/varia/src/main/org/jboss/monitor/ThresholdMonitorMBean.java
trunk/varia/src/main/org/jboss/monitor/ThresholdNotification.java
trunk/varia/src/main/org/jboss/monitor/alarm/Alarm.java
trunk/varia/src/main/org/jboss/monitor/alarm/AlarmHelper.java
trunk/varia/src/main/org/jboss/monitor/alarm/AlarmKey.java
trunk/varia/src/main/org/jboss/monitor/alarm/AlarmManager.java
trunk/varia/src/main/org/jboss/monitor/alarm/AlarmNotification.java
trunk/varia/src/main/org/jboss/monitor/alarm/AlarmTable.java
trunk/varia/src/main/org/jboss/monitor/alarm/AlarmTableNotification.java
trunk/varia/src/main/org/jboss/monitor/alarm/MBeanImplAccess.java
trunk/varia/src/main/org/jboss/monitor/alerts/ConsoleAlertListener.java
trunk/varia/src/main/org/jboss/monitor/alerts/ConsoleAlertListenerMBean.java
trunk/varia/src/main/org/jboss/monitor/alerts/EmailAlertListener.java
trunk/varia/src/main/org/jboss/monitor/alerts/EmailAlertListenerMBean.java
trunk/varia/src/main/org/jboss/monitor/alerts/JBossAlertListener.java
trunk/varia/src/main/org/jboss/monitor/alerts/JBossAlertListenerMBean.java
trunk/varia/src/main/org/jboss/monitor/services/ActiveAlarmTable.java
trunk/varia/src/main/org/jboss/monitor/services/ActiveAlarmTableMBean.java
trunk/varia/src/main/org/jboss/monitor/services/JMXNotificationAppender.java
trunk/varia/src/main/org/jboss/monitor/services/JMXNotificationAppenderMBean.java
trunk/varia/src/main/org/jboss/monitor/services/MemoryMonitor.java
trunk/varia/src/main/org/jboss/monitor/services/MemoryMonitorMBean.java
trunk/varia/src/main/org/jboss/monitor/services/NotificationListener.java
trunk/varia/src/main/org/jboss/monitor/services/NotificationListenerMBean.java
trunk/varia/src/main/org/jboss/monitor/services/ScriptingListener.java
trunk/varia/src/main/org/jboss/monitor/services/ScriptingListenerMBean.java
trunk/varia/src/main/org/jboss/monitor/services/TimerService.java
trunk/varia/src/main/org/jboss/monitor/services/TimerServiceMBean.java
trunk/varia/src/main/org/jboss/netboot/TrivialDavFilter.java
trunk/varia/src/main/org/jboss/security/identity/sso/AuthResponse.java
trunk/varia/src/main/org/jboss/security/identity/sso/JBossSingleSignOnProcessor.java
trunk/varia/src/main/org/jboss/security/identity/sso/SSOException.java
trunk/varia/src/main/org/jboss/security/identity/sso/SSOUser.java
trunk/varia/src/main/org/jboss/security/identity/sso/SingleSignOnProcessor.java
trunk/varia/src/main/org/jboss/security/srp/SRPClientSession.java
trunk/varia/src/main/org/jboss/security/srp/SRPConf.java
trunk/varia/src/main/org/jboss/security/srp/SRPParameters.java
trunk/varia/src/main/org/jboss/security/srp/SRPPermission.java
trunk/varia/src/main/org/jboss/security/srp/SRPRemoteServer.java
trunk/varia/src/main/org/jboss/security/srp/SRPRemoteServerInterface.java
trunk/varia/src/main/org/jboss/security/srp/SRPServerInterface.java
trunk/varia/src/main/org/jboss/security/srp/SRPServerListener.java
trunk/varia/src/main/org/jboss/security/srp/SRPServerProxy.java
trunk/varia/src/main/org/jboss/security/srp/SRPServerSession.java
trunk/varia/src/main/org/jboss/security/srp/SRPService.java
trunk/varia/src/main/org/jboss/security/srp/SRPServiceMBean.java
trunk/varia/src/main/org/jboss/security/srp/SRPSessionKey.java
trunk/varia/src/main/org/jboss/security/srp/SRPVerifierStore.java
trunk/varia/src/main/org/jboss/security/srp/SRPVerifierStoreService.java
trunk/varia/src/main/org/jboss/security/srp/SRPVerifierStoreServiceMBean.java
trunk/varia/src/main/org/jboss/security/srp/SerialObjectStore.java
trunk/varia/src/main/org/jboss/security/srp/jaas/SRPCacheLoginModule.java
trunk/varia/src/main/org/jboss/security/srp/jaas/SRPLoginModule.java
trunk/varia/src/main/org/jboss/security/srp/jaas/SRPPrincipal.java
trunk/varia/src/main/org/jboss/services/binding/DuplicateServiceException.java
trunk/varia/src/main/org/jboss/services/binding/ElementServiceBindingValueSource.java
trunk/varia/src/main/org/jboss/services/binding/InetAddressServiceBindingValueSource.java
trunk/varia/src/main/org/jboss/services/binding/IntServiceBindingValueSource.java
trunk/varia/src/main/org/jboss/services/binding/NoSuchBindingException.java
trunk/varia/src/main/org/jboss/services/binding/ServiceBinding.java
trunk/varia/src/main/org/jboss/services/binding/ServiceBindingManager.java
trunk/varia/src/main/org/jboss/services/binding/ServiceBindingManagerMBean.java
trunk/varia/src/main/org/jboss/services/binding/ServiceBindingStore.java
trunk/varia/src/main/org/jboss/services/binding/ServiceBindingValueSource.java
trunk/varia/src/main/org/jboss/services/binding/StringServiceBindingValueSource.java
trunk/varia/src/main/org/jboss/services/binding/SystemPropertyBinder.java
trunk/varia/src/main/org/jboss/services/binding/SystemPropertyBinding.java
trunk/varia/src/main/org/jboss/services/binding/URLServiceBindingValueSource.java
trunk/varia/src/main/org/jboss/services/binding/impl/PojoServiceBindingStore.java
trunk/varia/src/main/org/jboss/services/binding/impl/ServiceBindingSet.java
trunk/varia/src/main/org/jboss/services/binding/impl/SimpleServiceBindingValueSourceImpl.java
trunk/varia/src/main/org/jboss/services/binding/impl/StringReplacementServiceBindingValueSourceConfig.java
trunk/varia/src/main/org/jboss/services/binding/impl/StringReplacementServiceBindingValueSourceImpl.java
trunk/varia/src/main/org/jboss/services/binding/impl/Util.java
trunk/varia/src/main/org/jboss/services/binding/impl/XSLTServiceBindingValueSourceConfig.java
trunk/varia/src/main/org/jboss/services/binding/impl/XSLTServiceBindingValueSourceImpl.java
trunk/varia/src/main/org/jboss/services/deployment/ContextHelper.java
trunk/varia/src/main/org/jboss/services/deployment/DeploymentManager.java
trunk/varia/src/main/org/jboss/services/deployment/DeploymentService.java
trunk/varia/src/main/org/jboss/services/deployment/DeploymentServiceMBean.java
trunk/varia/src/main/org/jboss/services/deployment/LibraryManager.java
trunk/varia/src/main/org/jboss/services/deployment/MBeanData.java
trunk/varia/src/main/org/jboss/services/deployment/metadata/ConfigInfo.java
trunk/varia/src/main/org/jboss/services/deployment/metadata/ConfigInfoBinding.java
trunk/varia/src/main/org/jboss/services/deployment/metadata/PropertyInfo.java
trunk/varia/src/main/org/jboss/services/deployment/metadata/TemplateInfo.java
trunk/varia/src/main/org/jboss/services/loggingmonitor/LoggingMonitor.java
trunk/varia/src/main/org/jboss/services/loggingmonitor/LoggingMonitorMBean.java
trunk/varia/src/main/org/jboss/services/loggingmonitor/LoggingMonitorTimerTask.java
trunk/varia/src/main/org/jboss/services/loggingmonitor/MonitoredMBean.java
trunk/varia/src/main/org/jboss/services/loggingmonitor/RolloverPeriod.java
trunk/varia/src/main/org/jboss/services/xml/JBossEntityResolverMgr.java
trunk/varia/src/main/org/jboss/services/xml/JBossEntityResolverMgrMBean.java
trunk/varia/src/main/org/jboss/tools/ClassVersionInfo.java
trunk/varia/src/main/org/jboss/tools/SerialVersionUID.java
trunk/varia/src/main/org/jboss/tools/license/ValidateLicenseHeaders.java
trunk/varia/src/main/org/jboss/varia/autonumber/AutoNumber.java
trunk/varia/src/main/org/jboss/varia/autonumber/AutoNumberEJB.java
trunk/varia/src/main/org/jboss/varia/autonumber/AutoNumberEJB2.java
trunk/varia/src/main/org/jboss/varia/autonumber/AutoNumberFactory.java
trunk/varia/src/main/org/jboss/varia/autonumber/AutoNumberHome.java
trunk/varia/src/main/org/jboss/varia/counter/CounterInterceptor.java
trunk/varia/src/main/org/jboss/varia/counter/CounterService.java
trunk/varia/src/main/org/jboss/varia/counter/CounterServiceMBean.java
trunk/varia/src/main/org/jboss/varia/deployment/BeanShellScript.java
trunk/varia/src/main/org/jboss/varia/deployment/BeanShellScriptClient.java
trunk/varia/src/main/org/jboss/varia/deployment/BeanShellSubDeployer.java
trunk/varia/src/main/org/jboss/varia/deployment/BeanShellSubDeployerMBean.java
trunk/varia/src/main/org/jboss/varia/deployment/FoeDeployer.java
trunk/varia/src/main/org/jboss/varia/deployment/FoeDeployerMBean.java
trunk/varia/src/main/org/jboss/varia/deployment/LegacyBeanShellDeployer.java
trunk/varia/src/main/org/jboss/varia/deployment/LegacyBeanShellScriptClient.java
trunk/varia/src/main/org/jboss/varia/deployment/LegacyBeanShellScriptDeployer.java
trunk/varia/src/main/org/jboss/varia/deployment/ScriptService.java
trunk/varia/src/main/org/jboss/varia/deployment/TestInterface.java
trunk/varia/src/main/org/jboss/varia/deployment/convertor/Convertor.java
trunk/varia/src/main/org/jboss/varia/deployment/convertor/JarTransformer.java
trunk/varia/src/main/org/jboss/varia/deployment/convertor/WebLogicConvertor.java
trunk/varia/src/main/org/jboss/varia/deployment/convertor/WebLogicConvertorMBean.java
trunk/varia/src/main/org/jboss/varia/deployment/convertor/XslTransformer.java
trunk/varia/src/main/org/jboss/varia/process/ChildProcessService.java
trunk/varia/src/main/org/jboss/varia/process/ChildProcessServiceMBean.java
trunk/varia/src/main/org/jboss/varia/property/PropertyEditorManagerService.java
trunk/varia/src/main/org/jboss/varia/property/PropertyEditorManagerServiceMBean.java
trunk/varia/src/main/org/jboss/varia/property/SystemPropertiesService.java
trunk/varia/src/main/org/jboss/varia/property/SystemPropertiesServiceMBean.java
trunk/varia/src/main/org/jboss/varia/scheduler/AbstractScheduleProvider.java
trunk/varia/src/main/org/jboss/varia/scheduler/AbstractScheduleProviderMBean.java
trunk/varia/src/main/org/jboss/varia/scheduler/DBScheduleProvider.java
trunk/varia/src/main/org/jboss/varia/scheduler/DBScheduleProviderMBean.java
trunk/varia/src/main/org/jboss/varia/scheduler/Schedulable.java
trunk/varia/src/main/org/jboss/varia/scheduler/ScheduleManager.java
trunk/varia/src/main/org/jboss/varia/scheduler/ScheduleManagerMBean.java
trunk/varia/src/main/org/jboss/varia/scheduler/Scheduler.java
trunk/varia/src/main/org/jboss/varia/scheduler/SchedulerMBean.java
trunk/varia/src/main/org/jboss/varia/scheduler/SingleScheduleProvider.java
trunk/varia/src/main/org/jboss/varia/scheduler/SingleScheduleProviderMBean.java
trunk/varia/src/main/org/jboss/varia/scheduler/TCLActions.java
trunk/varia/src/main/org/jboss/varia/scheduler/XMLScheduleProvider.java
trunk/varia/src/main/org/jboss/varia/scheduler/XMLScheduleProviderMBean.java
trunk/varia/src/main/org/jboss/varia/scheduler/example/SchedulableExample.java
trunk/varia/src/main/org/jboss/varia/scheduler/example/SchedulableMBeanExample.java
trunk/varia/src/main/org/jboss/varia/scheduler/example/SchedulableMBeanExampleMBean.java
trunk/varia/src/main/org/jboss/varia/stats/AbstractStatisticalItem.java
trunk/varia/src/main/org/jboss/varia/stats/CacheListener.java
trunk/varia/src/main/org/jboss/varia/stats/CacheListenerMBean.java
trunk/varia/src/main/org/jboss/varia/stats/DataSourceInterceptor.java
trunk/varia/src/main/org/jboss/varia/stats/DataSourceInterceptorJDK5.java
trunk/varia/src/main/org/jboss/varia/stats/DataSourceInterceptorJDK6.java
trunk/varia/src/main/org/jboss/varia/stats/DataSourceInterceptorMBean.java
trunk/varia/src/main/org/jboss/varia/stats/StatisticalItem.java
trunk/varia/src/main/org/jboss/varia/stats/StatisticsCollector.java
trunk/varia/src/main/org/jboss/varia/stats/StatisticsCollectorMBean.java
trunk/varia/src/main/org/jboss/varia/stats/TxReport.java
trunk/varia/src/main/org/jboss/varia/stats/TxStatistics.java
trunk/varia/src/main/org/jboss/varia/stats/TxStatisticsInterceptor.java
trunk/varia/src/main/org/jboss/varia/stats/report/CacheReportGenerator.java
trunk/varia/src/main/org/jboss/varia/stats/report/GeneralReportGenerator.java
trunk/varia/src/main/org/jboss/varia/stats/report/ReportGenerator.java
trunk/varia/src/main/org/jboss/varia/stats/report/ReportGeneratorMBean.java
trunk/varia/src/main/org/jboss/varia/stats/report/TableReportGenerator.java
trunk/varia/src/main/org/jboss/varia/threaddump/ThreadDumpBean.java
trunk/varia/src/test/org/jboss/test/SRPLoginTest.java
trunk/varia/src/test/org/jboss/test/SRPProtocolTestCase.java
trunk/varia/src/test/org/jboss/test/SRPServerImpl.java
trunk/varia/src/test/org/jboss/test/SimpleSRPServer.java
trunk/varia/src/test/org/jboss/test/TestJCEIntegration.java
trunk/varia/src/test/org/jboss/test/TestProtocol.java
trunk/varia/src/test/org/jboss/test/TstClient.java
trunk/varia/src/tests/org/jboss/test/services/binding/test/MockServiceBindingStore.java
trunk/varia/src/tests/org/jboss/test/services/binding/test/MockServiceBindingValueSource.java
trunk/varia/src/tests/org/jboss/test/services/binding/test/PojoServiceBindingStoreUnitTestCase.java
trunk/varia/src/tests/org/jboss/test/services/binding/test/ServiceBindingSetUnitTestCase.java
trunk/varia/src/tests/org/jboss/test/services/binding/test/ServiceBindingTestBase.java
trunk/varia/src/tests/org/jboss/test/services/binding/test/ServiceBindingUnitTestCase.java
trunk/varia/src/tests/org/jboss/test/services/binding/test/XSLTServiceBindingValueSourceUnitTestCase.java
Log:
JBAS-3916, use the right copyright header
Modified: trunk/varia/src/main/org/jboss/ant/JMX.java
===================================================================
--- trunk/varia/src/main/org/jboss/ant/JMX.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/ant/JMX.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.ant;
import java.beans.PropertyEditor;
Modified: trunk/varia/src/main/org/jboss/invocation/http/servlet/InvokerServlet.java
===================================================================
--- trunk/varia/src/main/org/jboss/invocation/http/servlet/InvokerServlet.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/invocation/http/servlet/InvokerServlet.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.invocation.http.servlet;
import java.io.IOException;
Modified: trunk/varia/src/main/org/jboss/invocation/http/servlet/NamingFactoryServlet.java
===================================================================
--- trunk/varia/src/main/org/jboss/invocation/http/servlet/NamingFactoryServlet.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/invocation/http/servlet/NamingFactoryServlet.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.invocation.http.servlet;
import java.io.IOException;
Modified: trunk/varia/src/main/org/jboss/invocation/http/servlet/ReadOnlyAccessFilter.java
===================================================================
--- trunk/varia/src/main/org/jboss/invocation/http/servlet/ReadOnlyAccessFilter.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/invocation/http/servlet/ReadOnlyAccessFilter.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt 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.
- */
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.invocation.http.servlet;
import java.io.IOException;
Modified: trunk/varia/src/main/org/jboss/jdbc/DerbyDatabase.java
===================================================================
--- trunk/varia/src/main/org/jboss/jdbc/DerbyDatabase.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/jdbc/DerbyDatabase.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.jdbc;
import java.sql.Connection;
Modified: trunk/varia/src/main/org/jboss/jdbc/DerbyDatabaseMBean.java
===================================================================
--- trunk/varia/src/main/org/jboss/jdbc/DerbyDatabaseMBean.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/jdbc/DerbyDatabaseMBean.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.jdbc;
/**
Modified: trunk/varia/src/main/org/jboss/jdbc/HypersonicDatabase.java
===================================================================
--- trunk/varia/src/main/org/jboss/jdbc/HypersonicDatabase.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/jdbc/HypersonicDatabase.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,8 +1,8 @@
/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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
Modified: trunk/varia/src/main/org/jboss/jdbc/HypersonicDatabaseMBean.java
===================================================================
--- trunk/varia/src/main/org/jboss/jdbc/HypersonicDatabaseMBean.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/jdbc/HypersonicDatabaseMBean.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,8 +1,8 @@
/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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
Modified: trunk/varia/src/main/org/jboss/jdo/castor/CastorJDOImpl.java
===================================================================
--- trunk/varia/src/main/org/jboss/jdo/castor/CastorJDOImpl.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/jdo/castor/CastorJDOImpl.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.jdo.castor;
import java.io.PrintWriter;
Modified: trunk/varia/src/main/org/jboss/jdo/castor/CastorJDOImplMBean.java
===================================================================
--- trunk/varia/src/main/org/jboss/jdo/castor/CastorJDOImplMBean.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/jdo/castor/CastorJDOImplMBean.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.jdo.castor;
/**
Modified: trunk/varia/src/main/org/jboss/jmx/adaptor/control/AddressPort.java
===================================================================
--- trunk/varia/src/main/org/jboss/jmx/adaptor/control/AddressPort.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/jmx/adaptor/control/AddressPort.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.jmx.adaptor.control;
import java.net.InetAddress;
Modified: trunk/varia/src/main/org/jboss/jmx/adaptor/control/AttrResultInfo.java
===================================================================
--- trunk/varia/src/main/org/jboss/jmx/adaptor/control/AttrResultInfo.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/jmx/adaptor/control/AttrResultInfo.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.jmx.adaptor.control;
import java.beans.PropertyEditor;
Modified: trunk/varia/src/main/org/jboss/jmx/adaptor/control/OpResultInfo.java
===================================================================
--- trunk/varia/src/main/org/jboss/jmx/adaptor/control/OpResultInfo.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/jmx/adaptor/control/OpResultInfo.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.jmx.adaptor.control;
/**
Modified: trunk/varia/src/main/org/jboss/jmx/adaptor/control/Server.java
===================================================================
--- trunk/varia/src/main/org/jboss/jmx/adaptor/control/Server.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/jmx/adaptor/control/Server.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.jmx.adaptor.control;
import java.beans.IntrospectionException;
Modified: trunk/varia/src/main/org/jboss/jmx/adaptor/html/ClusteredConsoleServlet.java
===================================================================
--- trunk/varia/src/main/org/jboss/jmx/adaptor/html/ClusteredConsoleServlet.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/jmx/adaptor/html/ClusteredConsoleServlet.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.jmx.adaptor.html;
import java.io.IOException;
Modified: trunk/varia/src/main/org/jboss/jmx/adaptor/html/HtmlAdaptorServlet.java
===================================================================
--- trunk/varia/src/main/org/jboss/jmx/adaptor/html/HtmlAdaptorServlet.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/jmx/adaptor/html/HtmlAdaptorServlet.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.jmx.adaptor.html;
import java.io.IOException;
Modified: trunk/varia/src/main/org/jboss/jmx/adaptor/html/JMXOpsAccessControlFilter.java
===================================================================
--- trunk/varia/src/main/org/jboss/jmx/adaptor/html/JMXOpsAccessControlFilter.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/jmx/adaptor/html/JMXOpsAccessControlFilter.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.jmx.adaptor.html;
import java.io.IOException;
Modified: trunk/varia/src/main/org/jboss/jmx/adaptor/model/DomainData.java
===================================================================
--- trunk/varia/src/main/org/jboss/jmx/adaptor/model/DomainData.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/jmx/adaptor/model/DomainData.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.jmx.adaptor.model;
import java.util.Arrays;
Modified: trunk/varia/src/main/org/jboss/jmx/adaptor/model/MBeanData.java
===================================================================
--- trunk/varia/src/main/org/jboss/jmx/adaptor/model/MBeanData.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/jmx/adaptor/model/MBeanData.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.jmx.adaptor.model;
import javax.management.MBeanInfo;
Modified: trunk/varia/src/main/org/jboss/jmx/adaptor/snmp/agent/AttributeMappingsBinding.java
===================================================================
--- trunk/varia/src/main/org/jboss/jmx/adaptor/snmp/agent/AttributeMappingsBinding.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/jmx/adaptor/snmp/agent/AttributeMappingsBinding.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,8 +1,8 @@
/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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
Modified: trunk/varia/src/main/org/jboss/jmx/adaptor/snmp/agent/ComparableSnmpObjectId.java
===================================================================
--- trunk/varia/src/main/org/jboss/jmx/adaptor/snmp/agent/ComparableSnmpObjectId.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/jmx/adaptor/snmp/agent/ComparableSnmpObjectId.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,8 +1,8 @@
/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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
Modified: trunk/varia/src/main/org/jboss/jmx/adaptor/snmp/agent/ReadOnlyException.java
===================================================================
--- trunk/varia/src/main/org/jboss/jmx/adaptor/snmp/agent/ReadOnlyException.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/jmx/adaptor/snmp/agent/ReadOnlyException.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,8 +1,8 @@
/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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
Modified: trunk/varia/src/main/org/jboss/jmx/adaptor/snmp/agent/Reconfigurable.java
===================================================================
--- trunk/varia/src/main/org/jboss/jmx/adaptor/snmp/agent/Reconfigurable.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/jmx/adaptor/snmp/agent/Reconfigurable.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,8 +1,8 @@
/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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
Modified: trunk/varia/src/main/org/jboss/jmx/adaptor/snmp/agent/RequestHandler.java
===================================================================
--- trunk/varia/src/main/org/jboss/jmx/adaptor/snmp/agent/RequestHandler.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/jmx/adaptor/snmp/agent/RequestHandler.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,8 +1,8 @@
/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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
Modified: trunk/varia/src/main/org/jboss/jmx/adaptor/snmp/agent/RequestHandlerImpl.java
===================================================================
--- trunk/varia/src/main/org/jboss/jmx/adaptor/snmp/agent/RequestHandlerImpl.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/jmx/adaptor/snmp/agent/RequestHandlerImpl.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,8 +1,8 @@
/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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
Modified: trunk/varia/src/main/org/jboss/jmx/adaptor/snmp/agent/RequestHandlerSupport.java
===================================================================
--- trunk/varia/src/main/org/jboss/jmx/adaptor/snmp/agent/RequestHandlerSupport.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/jmx/adaptor/snmp/agent/RequestHandlerSupport.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,8 +1,8 @@
/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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
Modified: trunk/varia/src/main/org/jboss/jmx/adaptor/snmp/agent/SnmpAgentServiceMBean.java
===================================================================
--- trunk/varia/src/main/org/jboss/jmx/adaptor/snmp/agent/SnmpAgentServiceMBean.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/jmx/adaptor/snmp/agent/SnmpAgentServiceMBean.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,8 +1,8 @@
/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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
Modified: trunk/varia/src/main/org/jboss/jmx/adaptor/snmp/config/attribute/AttributeMappings.java
===================================================================
--- trunk/varia/src/main/org/jboss/jmx/adaptor/snmp/config/attribute/AttributeMappings.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/jmx/adaptor/snmp/config/attribute/AttributeMappings.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,8 +1,8 @@
/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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
Modified: trunk/varia/src/main/org/jboss/jmx/adaptor/snmp/config/attribute/ManagedBean.java
===================================================================
--- trunk/varia/src/main/org/jboss/jmx/adaptor/snmp/config/attribute/ManagedBean.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/jmx/adaptor/snmp/config/attribute/ManagedBean.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,8 +1,8 @@
/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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
Modified: trunk/varia/src/main/org/jboss/jmx/adaptor/snmp/config/attribute/MappedAttribute.java
===================================================================
--- trunk/varia/src/main/org/jboss/jmx/adaptor/snmp/config/attribute/MappedAttribute.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/jmx/adaptor/snmp/config/attribute/MappedAttribute.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,8 +1,8 @@
/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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
Modified: trunk/varia/src/main/org/jboss/jmx/adaptor/snmp/config/manager/Manager.java
===================================================================
--- trunk/varia/src/main/org/jboss/jmx/adaptor/snmp/config/manager/Manager.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/jmx/adaptor/snmp/config/manager/Manager.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.jmx.adaptor.snmp.config.manager;
/**
Modified: trunk/varia/src/main/org/jboss/jmx/adaptor/snmp/config/notification/Mapping.java
===================================================================
--- trunk/varia/src/main/org/jboss/jmx/adaptor/snmp/config/notification/Mapping.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/jmx/adaptor/snmp/config/notification/Mapping.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.jmx.adaptor.snmp.config.notification;
/**
Modified: trunk/varia/src/main/org/jboss/jmx/adaptor/snmp/config/notification/VarBind.java
===================================================================
--- trunk/varia/src/main/org/jboss/jmx/adaptor/snmp/config/notification/VarBind.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/jmx/adaptor/snmp/config/notification/VarBind.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.jmx.adaptor.snmp.config.notification;
/**
Modified: trunk/varia/src/main/org/jboss/jmx/adaptor/snmp/config/notification/VarBindList.java
===================================================================
--- trunk/varia/src/main/org/jboss/jmx/adaptor/snmp/config/notification/VarBindList.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/jmx/adaptor/snmp/config/notification/VarBindList.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.jmx.adaptor.snmp.config.notification;
import java.util.ArrayList;
Modified: trunk/varia/src/main/org/jboss/jmx/adaptor/snmp/system/MIB2SystemGroupService.java
===================================================================
--- trunk/varia/src/main/org/jboss/jmx/adaptor/snmp/system/MIB2SystemGroupService.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/jmx/adaptor/snmp/system/MIB2SystemGroupService.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,8 +1,8 @@
/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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
Modified: trunk/varia/src/main/org/jboss/jmx/adaptor/snmp/system/MIB2SystemGroupServiceMBean.java
===================================================================
--- trunk/varia/src/main/org/jboss/jmx/adaptor/snmp/system/MIB2SystemGroupServiceMBean.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/jmx/adaptor/snmp/system/MIB2SystemGroupServiceMBean.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,8 +1,8 @@
/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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
Modified: trunk/varia/src/main/org/jboss/jmx/adaptor/snmp/test/NotificationProducerServiceMBean.java
===================================================================
--- trunk/varia/src/main/org/jboss/jmx/adaptor/snmp/test/NotificationProducerServiceMBean.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/jmx/adaptor/snmp/test/NotificationProducerServiceMBean.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.jmx.adaptor.snmp.test;
/**
Modified: trunk/varia/src/main/org/jboss/jmx/adaptor/snmp/trapd/TrapdServiceMBean.java
===================================================================
--- trunk/varia/src/main/org/jboss/jmx/adaptor/snmp/trapd/TrapdServiceMBean.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/jmx/adaptor/snmp/trapd/TrapdServiceMBean.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.jmx.adaptor.snmp.trapd;
/**
Modified: trunk/varia/src/main/org/jboss/jmx/examples/configuration/MBeanConfiguratorSupport.java
===================================================================
--- trunk/varia/src/main/org/jboss/jmx/examples/configuration/MBeanConfiguratorSupport.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/jmx/examples/configuration/MBeanConfiguratorSupport.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.jmx.examples.configuration;
import java.io.Serializable;
Modified: trunk/varia/src/main/org/jboss/jmx/examples/configuration/MBeanConfiguratorSupportMBean.java
===================================================================
--- trunk/varia/src/main/org/jboss/jmx/examples/configuration/MBeanConfiguratorSupportMBean.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/jmx/examples/configuration/MBeanConfiguratorSupportMBean.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.jmx.examples.configuration;
import org.jboss.services.binding.ServiceBindingManager;
Modified: trunk/varia/src/main/org/jboss/jmx/examples/configuration/SampleConfig.java
===================================================================
--- trunk/varia/src/main/org/jboss/jmx/examples/configuration/SampleConfig.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/jmx/examples/configuration/SampleConfig.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.jmx.examples.configuration;
import org.jboss.logging.Logger;
Modified: trunk/varia/src/main/org/jboss/jmx/examples/configuration/SampleConfigMBean.java
===================================================================
--- trunk/varia/src/main/org/jboss/jmx/examples/configuration/SampleConfigMBean.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/jmx/examples/configuration/SampleConfigMBean.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.jmx.examples.configuration;
/**
Modified: trunk/varia/src/main/org/jboss/jmx/examples/configuration/SampleMBeanConfigurator.java
===================================================================
--- trunk/varia/src/main/org/jboss/jmx/examples/configuration/SampleMBeanConfigurator.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/jmx/examples/configuration/SampleMBeanConfigurator.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,61 +1,61 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2008, 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.jmx.examples.configuration;
-
-import javax.management.Attribute;
-import javax.management.MBeanServer;
-import javax.management.ObjectName;
-
-/**
- * A SampleMBeanConfigurator.
- *
- * @author Brian Stansberry
- * @version $Revision$
- */
-public class SampleMBeanConfigurator extends MBeanConfiguratorSupport implements SampleMBeanConfiguratorMBean
-{
- private ObjectName sampleServiceObjectName;
-
- public ObjectName getSampleServiceObjectName()
- {
- return sampleServiceObjectName;
- }
-
- public void setSampleServiceObjectName(ObjectName sampleServiceObjectName)
- {
- this.sampleServiceObjectName = sampleServiceObjectName;
- }
-
-
- @Override
- public void mbeanRegistered(ObjectName objectName) throws Exception
- {
- if (objectName.equals(sampleServiceObjectName))
- {
- String value = getServiceBindingManager().getStringBinding(objectName.getCanonicalName(), null, "socket://${host}:${port}", "localhost", 9999);
- MBeanServer server = getServer();
- server.setAttribute(objectName, new Attribute("TestAttribute", value));
- }
- }
-
-}
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.jmx.examples.configuration;
+
+import javax.management.Attribute;
+import javax.management.MBeanServer;
+import javax.management.ObjectName;
+
+/**
+ * A SampleMBeanConfigurator.
+ *
+ * @author Brian Stansberry
+ * @version $Revision$
+ */
+public class SampleMBeanConfigurator extends MBeanConfiguratorSupport implements SampleMBeanConfiguratorMBean
+{
+ private ObjectName sampleServiceObjectName;
+
+ public ObjectName getSampleServiceObjectName()
+ {
+ return sampleServiceObjectName;
+ }
+
+ public void setSampleServiceObjectName(ObjectName sampleServiceObjectName)
+ {
+ this.sampleServiceObjectName = sampleServiceObjectName;
+ }
+
+
+ @Override
+ public void mbeanRegistered(ObjectName objectName) throws Exception
+ {
+ if (objectName.equals(sampleServiceObjectName))
+ {
+ String value = getServiceBindingManager().getStringBinding(objectName.getCanonicalName(), null, "socket://${host}:${port}", "localhost", 9999);
+ MBeanServer server = getServer();
+ server.setAttribute(objectName, new Attribute("TestAttribute", value));
+ }
+ }
+
+}
Modified: trunk/varia/src/main/org/jboss/jmx/examples/configuration/SampleMBeanConfiguratorMBean.java
===================================================================
--- trunk/varia/src/main/org/jboss/jmx/examples/configuration/SampleMBeanConfiguratorMBean.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/jmx/examples/configuration/SampleMBeanConfiguratorMBean.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,40 +1,40 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2008, 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.jmx.examples.configuration;
-
-import javax.management.ObjectName;
-
-/**
- * StandardMBean interface for SampleMBeanConfigurator.
- *
- * @author Brian Stansberry
- * @version $Revision$
- */
-public interface SampleMBeanConfiguratorMBean extends MBeanConfiguratorSupportMBean
-{
-
- public abstract ObjectName getSampleServiceObjectName();
-
- public abstract void setSampleServiceObjectName(ObjectName sampleServiceObjectName);
-
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.jmx.examples.configuration;
+
+import javax.management.ObjectName;
+
+/**
+ * StandardMBean interface for SampleMBeanConfigurator.
+ *
+ * @author Brian Stansberry
+ * @version $Revision$
+ */
+public interface SampleMBeanConfiguratorMBean extends MBeanConfiguratorSupportMBean
+{
+
+ public abstract ObjectName getSampleServiceObjectName();
+
+ public abstract void setSampleServiceObjectName(ObjectName sampleServiceObjectName);
+
}
\ No newline at end of file
Modified: trunk/varia/src/main/org/jboss/jmx/examples/configuration/SampleService.java
===================================================================
--- trunk/varia/src/main/org/jboss/jmx/examples/configuration/SampleService.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/jmx/examples/configuration/SampleService.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.jmx.examples.configuration;
import org.jboss.system.ServiceMBeanSupport;
Modified: trunk/varia/src/main/org/jboss/jmx/examples/configuration/SampleServiceMBean.java
===================================================================
--- trunk/varia/src/main/org/jboss/jmx/examples/configuration/SampleServiceMBean.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/jmx/examples/configuration/SampleServiceMBean.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.jmx.examples.configuration;
import org.jboss.system.ServiceMBean;
Modified: trunk/varia/src/main/org/jboss/jmx/examples/persistence/PersistentServiceExample.java
===================================================================
--- trunk/varia/src/main/org/jboss/jmx/examples/persistence/PersistentServiceExample.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/jmx/examples/persistence/PersistentServiceExample.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.jmx.examples.persistence;
import java.io.FileDescriptor;
Modified: trunk/varia/src/main/org/jboss/jmx/examples/persistence/PersistentServiceExampleMBean.java
===================================================================
--- trunk/varia/src/main/org/jboss/jmx/examples/persistence/PersistentServiceExampleMBean.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/jmx/examples/persistence/PersistentServiceExampleMBean.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.jmx.examples.persistence;
/**
Modified: trunk/varia/src/main/org/jboss/kernel/deployment/jboss/JBossBeanDeployer.java
===================================================================
--- trunk/varia/src/main/org/jboss/kernel/deployment/jboss/JBossBeanDeployer.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/kernel/deployment/jboss/JBossBeanDeployer.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.kernel.deployment.jboss;
import java.net.URL;
Modified: trunk/varia/src/main/org/jboss/kernel/deployment/jboss/JBossBeanDeployerMBean.java
===================================================================
--- trunk/varia/src/main/org/jboss/kernel/deployment/jboss/JBossBeanDeployerMBean.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/kernel/deployment/jboss/JBossBeanDeployerMBean.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.kernel.deployment.jboss;
import javax.management.ObjectName;
Modified: trunk/varia/src/main/org/jboss/kernel/deployment/jboss/JBossBeanDeployment.java
===================================================================
--- trunk/varia/src/main/org/jboss/kernel/deployment/jboss/JBossBeanDeployment.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/kernel/deployment/jboss/JBossBeanDeployment.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.kernel.deployment.jboss;
import org.jboss.dependency.spi.ControllerMode;
Modified: trunk/varia/src/main/org/jboss/kernel/deployment/jboss/JBossBeanDeploymentMBean.java
===================================================================
--- trunk/varia/src/main/org/jboss/kernel/deployment/jboss/JBossBeanDeploymentMBean.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/kernel/deployment/jboss/JBossBeanDeploymentMBean.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.kernel.deployment.jboss;
import org.jboss.system.ServiceMBean;
Modified: trunk/varia/src/main/org/jboss/mail/MailService.java
===================================================================
--- trunk/varia/src/main/org/jboss/mail/MailService.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/mail/MailService.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.mail;
import org.w3c.dom.Element;
Modified: trunk/varia/src/main/org/jboss/mail/MailServiceMBean.java
===================================================================
--- trunk/varia/src/main/org/jboss/mail/MailServiceMBean.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/mail/MailServiceMBean.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.mail;
/**
Modified: trunk/varia/src/main/org/jboss/mail/SessionObjectFactory.java
===================================================================
--- trunk/varia/src/main/org/jboss/mail/SessionObjectFactory.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/mail/SessionObjectFactory.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,81 +1,81 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2008, Red Hat Middleware LLC, and individual contributors
- * by the @authors tag. See the copyright.txt 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.mail;
-
-import java.util.Hashtable;
-import java.util.Properties;
-
-import javax.mail.Authenticator;
-import javax.mail.Session;
-import javax.naming.Context;
-import javax.naming.Name;
-import javax.naming.spi.ObjectFactory;
-
-/**
- * A jndi ObjectFactory implementation that creates a new Session from the
- * static class information on each getObjectInstance call.
- *
- * @author Scott.Stark at jboss.org
- * @version $Revision$
- */
-public class SessionObjectFactory implements ObjectFactory
-{
- private static Properties props;
- private static Authenticator auth;
- private static Session instance;
- private static boolean shareSessionInstance;
-
- static void setSessionFactoryInfo(Properties props, Authenticator auth)
- {
- SessionObjectFactory.props = props;
- SessionObjectFactory.auth = auth;
- }
-
- static void setShareSessionInstance(boolean shareSessionInstance)
- {
- SessionObjectFactory.shareSessionInstance = shareSessionInstance;
- }
-
- public Object getObjectInstance(Object obj, Name name, Context nameCtx,
- Hashtable<?, ?> environment) throws Exception
- {
- Session session = null;
- if(shareSessionInstance)
- {
- initSession();
- session = instance;
- }
- else
- {
- session = Session.getInstance(props, auth);
- }
- return session;
- }
-
- static synchronized void initSession()
- {
- if(instance == null)
- {
- instance = Session.getInstance(props, auth);
- }
- }
-}
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2008, Red Hat Middleware LLC, and individual contributors
+ * by the @authors tag. See the copyright.txt 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.mail;
+
+import java.util.Hashtable;
+import java.util.Properties;
+
+import javax.mail.Authenticator;
+import javax.mail.Session;
+import javax.naming.Context;
+import javax.naming.Name;
+import javax.naming.spi.ObjectFactory;
+
+/**
+ * A jndi ObjectFactory implementation that creates a new Session from the
+ * static class information on each getObjectInstance call.
+ *
+ * @author Scott.Stark at jboss.org
+ * @version $Revision$
+ */
+public class SessionObjectFactory implements ObjectFactory
+{
+ private static Properties props;
+ private static Authenticator auth;
+ private static Session instance;
+ private static boolean shareSessionInstance;
+
+ static void setSessionFactoryInfo(Properties props, Authenticator auth)
+ {
+ SessionObjectFactory.props = props;
+ SessionObjectFactory.auth = auth;
+ }
+
+ static void setShareSessionInstance(boolean shareSessionInstance)
+ {
+ SessionObjectFactory.shareSessionInstance = shareSessionInstance;
+ }
+
+ public Object getObjectInstance(Object obj, Name name, Context nameCtx,
+ Hashtable<?, ?> environment) throws Exception
+ {
+ Session session = null;
+ if(shareSessionInstance)
+ {
+ initSession();
+ session = instance;
+ }
+ else
+ {
+ session = Session.getInstance(props, auth);
+ }
+ return session;
+ }
+
+ static synchronized void initSession()
+ {
+ if(instance == null)
+ {
+ instance = Session.getInstance(props, auth);
+ }
+ }
+}
Modified: trunk/varia/src/main/org/jboss/monitor/JBossMonitor.java
===================================================================
--- trunk/varia/src/main/org/jboss/monitor/JBossMonitor.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/monitor/JBossMonitor.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.monitor;
import org.jboss.system.ServiceMBeanSupport;
Modified: trunk/varia/src/main/org/jboss/monitor/JBossMonitorMBean.java
===================================================================
--- trunk/varia/src/main/org/jboss/monitor/JBossMonitorMBean.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/monitor/JBossMonitorMBean.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.monitor;
import org.jboss.system.ServiceMBean;
Modified: trunk/varia/src/main/org/jboss/monitor/JBossMonitorNotification.java
===================================================================
--- trunk/varia/src/main/org/jboss/monitor/JBossMonitorNotification.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/monitor/JBossMonitorNotification.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.monitor;
import javax.management.Notification;
Modified: trunk/varia/src/main/org/jboss/monitor/SnapshotRecordingMonitor.java
===================================================================
--- trunk/varia/src/main/org/jboss/monitor/SnapshotRecordingMonitor.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/monitor/SnapshotRecordingMonitor.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.monitor;
import org.jboss.util.NestedRuntimeException;
Modified: trunk/varia/src/main/org/jboss/monitor/SnapshotRecordingMonitorMBean.java
===================================================================
--- trunk/varia/src/main/org/jboss/monitor/SnapshotRecordingMonitorMBean.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/monitor/SnapshotRecordingMonitorMBean.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.monitor;
import javax.management.ObjectName;
Modified: trunk/varia/src/main/org/jboss/monitor/StringThresholdMonitor.java
===================================================================
--- trunk/varia/src/main/org/jboss/monitor/StringThresholdMonitor.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/monitor/StringThresholdMonitor.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.monitor;
import org.jboss.system.ServiceMBeanSupport;
Modified: trunk/varia/src/main/org/jboss/monitor/StringThresholdMonitorMBean.java
===================================================================
--- trunk/varia/src/main/org/jboss/monitor/StringThresholdMonitorMBean.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/monitor/StringThresholdMonitorMBean.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.monitor;
import javax.management.ObjectName;
Modified: trunk/varia/src/main/org/jboss/monitor/StringThresholdNotification.java
===================================================================
--- trunk/varia/src/main/org/jboss/monitor/StringThresholdNotification.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/monitor/StringThresholdNotification.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.monitor;
import javax.management.Notification;
Modified: trunk/varia/src/main/org/jboss/monitor/ThresholdMonitor.java
===================================================================
--- trunk/varia/src/main/org/jboss/monitor/ThresholdMonitor.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/monitor/ThresholdMonitor.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.monitor;
import org.jboss.util.NestedRuntimeException;
Modified: trunk/varia/src/main/org/jboss/monitor/ThresholdMonitorMBean.java
===================================================================
--- trunk/varia/src/main/org/jboss/monitor/ThresholdMonitorMBean.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/monitor/ThresholdMonitorMBean.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.monitor;
import org.jboss.system.ServiceMBean;
Modified: trunk/varia/src/main/org/jboss/monitor/ThresholdNotification.java
===================================================================
--- trunk/varia/src/main/org/jboss/monitor/ThresholdNotification.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/monitor/ThresholdNotification.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.monitor;
import javax.management.Notification;
Modified: trunk/varia/src/main/org/jboss/monitor/alarm/Alarm.java
===================================================================
--- trunk/varia/src/main/org/jboss/monitor/alarm/Alarm.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/monitor/alarm/Alarm.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.monitor.alarm;
/**
Modified: trunk/varia/src/main/org/jboss/monitor/alarm/AlarmHelper.java
===================================================================
--- trunk/varia/src/main/org/jboss/monitor/alarm/AlarmHelper.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/monitor/alarm/AlarmHelper.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.monitor.alarm;
import java.util.HashMap;
Modified: trunk/varia/src/main/org/jboss/monitor/alarm/AlarmKey.java
===================================================================
--- trunk/varia/src/main/org/jboss/monitor/alarm/AlarmKey.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/monitor/alarm/AlarmKey.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.monitor.alarm;
import javax.management.ObjectName;
Modified: trunk/varia/src/main/org/jboss/monitor/alarm/AlarmManager.java
===================================================================
--- trunk/varia/src/main/org/jboss/monitor/alarm/AlarmManager.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/monitor/alarm/AlarmManager.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.monitor.alarm;
import java.util.HashMap;
Modified: trunk/varia/src/main/org/jboss/monitor/alarm/AlarmNotification.java
===================================================================
--- trunk/varia/src/main/org/jboss/monitor/alarm/AlarmNotification.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/monitor/alarm/AlarmNotification.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,8 +1,8 @@
/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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
Modified: trunk/varia/src/main/org/jboss/monitor/alarm/AlarmTable.java
===================================================================
--- trunk/varia/src/main/org/jboss/monitor/alarm/AlarmTable.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/monitor/alarm/AlarmTable.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.monitor.alarm;
import java.util.Collection;
Modified: trunk/varia/src/main/org/jboss/monitor/alarm/AlarmTableNotification.java
===================================================================
--- trunk/varia/src/main/org/jboss/monitor/alarm/AlarmTableNotification.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/monitor/alarm/AlarmTableNotification.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,8 +1,8 @@
/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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
Modified: trunk/varia/src/main/org/jboss/monitor/alarm/MBeanImplAccess.java
===================================================================
--- trunk/varia/src/main/org/jboss/monitor/alarm/MBeanImplAccess.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/monitor/alarm/MBeanImplAccess.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.monitor.alarm;
import javax.management.ObjectName;
Modified: trunk/varia/src/main/org/jboss/monitor/alerts/ConsoleAlertListener.java
===================================================================
--- trunk/varia/src/main/org/jboss/monitor/alerts/ConsoleAlertListener.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/monitor/alerts/ConsoleAlertListener.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.monitor.alerts;
import java.util.Map;
Modified: trunk/varia/src/main/org/jboss/monitor/alerts/ConsoleAlertListenerMBean.java
===================================================================
--- trunk/varia/src/main/org/jboss/monitor/alerts/ConsoleAlertListenerMBean.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/monitor/alerts/ConsoleAlertListenerMBean.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.monitor.alerts;
/**
Modified: trunk/varia/src/main/org/jboss/monitor/alerts/EmailAlertListener.java
===================================================================
--- trunk/varia/src/main/org/jboss/monitor/alerts/EmailAlertListener.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/monitor/alerts/EmailAlertListener.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.monitor.alerts;
import java.util.HashSet;
Modified: trunk/varia/src/main/org/jboss/monitor/alerts/EmailAlertListenerMBean.java
===================================================================
--- trunk/varia/src/main/org/jboss/monitor/alerts/EmailAlertListenerMBean.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/monitor/alerts/EmailAlertListenerMBean.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.monitor.alerts;
import javax.mail.internet.AddressException;
Modified: trunk/varia/src/main/org/jboss/monitor/alerts/JBossAlertListener.java
===================================================================
--- trunk/varia/src/main/org/jboss/monitor/alerts/JBossAlertListener.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/monitor/alerts/JBossAlertListener.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.monitor.alerts;
import org.jboss.system.ServiceMBeanSupport;
Modified: trunk/varia/src/main/org/jboss/monitor/alerts/JBossAlertListenerMBean.java
===================================================================
--- trunk/varia/src/main/org/jboss/monitor/alerts/JBossAlertListenerMBean.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/monitor/alerts/JBossAlertListenerMBean.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.monitor.alerts;
import org.jboss.system.ServiceMBean;
Modified: trunk/varia/src/main/org/jboss/monitor/services/ActiveAlarmTable.java
===================================================================
--- trunk/varia/src/main/org/jboss/monitor/services/ActiveAlarmTable.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/monitor/services/ActiveAlarmTable.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.monitor.services;
import javax.management.Notification;
Modified: trunk/varia/src/main/org/jboss/monitor/services/ActiveAlarmTableMBean.java
===================================================================
--- trunk/varia/src/main/org/jboss/monitor/services/ActiveAlarmTableMBean.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/monitor/services/ActiveAlarmTableMBean.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.monitor.services;
import javax.management.ObjectName;
Modified: trunk/varia/src/main/org/jboss/monitor/services/JMXNotificationAppender.java
===================================================================
--- trunk/varia/src/main/org/jboss/monitor/services/JMXNotificationAppender.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/monitor/services/JMXNotificationAppender.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.monitor.services;
import javax.management.ListenerNotFoundException;
Modified: trunk/varia/src/main/org/jboss/monitor/services/JMXNotificationAppenderMBean.java
===================================================================
--- trunk/varia/src/main/org/jboss/monitor/services/JMXNotificationAppenderMBean.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/monitor/services/JMXNotificationAppenderMBean.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.monitor.services;
import javax.management.ObjectName;
Modified: trunk/varia/src/main/org/jboss/monitor/services/MemoryMonitor.java
===================================================================
--- trunk/varia/src/main/org/jboss/monitor/services/MemoryMonitor.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/monitor/services/MemoryMonitor.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.monitor.services;
import org.jboss.system.ServiceMBeanSupport;
Modified: trunk/varia/src/main/org/jboss/monitor/services/MemoryMonitorMBean.java
===================================================================
--- trunk/varia/src/main/org/jboss/monitor/services/MemoryMonitorMBean.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/monitor/services/MemoryMonitorMBean.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.monitor.services;
import org.jboss.system.ServiceMBean;
Modified: trunk/varia/src/main/org/jboss/monitor/services/NotificationListener.java
===================================================================
--- trunk/varia/src/main/org/jboss/monitor/services/NotificationListener.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/monitor/services/NotificationListener.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.monitor.services;
import javax.management.Notification;
Modified: trunk/varia/src/main/org/jboss/monitor/services/NotificationListenerMBean.java
===================================================================
--- trunk/varia/src/main/org/jboss/monitor/services/NotificationListenerMBean.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/monitor/services/NotificationListenerMBean.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.monitor.services;
import javax.management.ObjectName;
Modified: trunk/varia/src/main/org/jboss/monitor/services/ScriptingListener.java
===================================================================
--- trunk/varia/src/main/org/jboss/monitor/services/ScriptingListener.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/monitor/services/ScriptingListener.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.monitor.services;
import java.util.LinkedList;
Modified: trunk/varia/src/main/org/jboss/monitor/services/ScriptingListenerMBean.java
===================================================================
--- trunk/varia/src/main/org/jboss/monitor/services/ScriptingListenerMBean.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/monitor/services/ScriptingListenerMBean.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.monitor.services;
import org.jboss.system.ListenerServiceMBean;
Modified: trunk/varia/src/main/org/jboss/monitor/services/TimerService.java
===================================================================
--- trunk/varia/src/main/org/jboss/monitor/services/TimerService.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/monitor/services/TimerService.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,8 +1,8 @@
/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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
Modified: trunk/varia/src/main/org/jboss/monitor/services/TimerServiceMBean.java
===================================================================
--- trunk/varia/src/main/org/jboss/monitor/services/TimerServiceMBean.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/monitor/services/TimerServiceMBean.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,8 +1,8 @@
/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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
Modified: trunk/varia/src/main/org/jboss/netboot/TrivialDavFilter.java
===================================================================
--- trunk/varia/src/main/org/jboss/netboot/TrivialDavFilter.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/netboot/TrivialDavFilter.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.netboot;
import java.io.IOException;
Modified: trunk/varia/src/main/org/jboss/security/identity/sso/AuthResponse.java
===================================================================
--- trunk/varia/src/main/org/jboss/security/identity/sso/AuthResponse.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/security/identity/sso/AuthResponse.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt 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.
- */
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.security.identity.sso;
import java.io.Serializable;
Modified: trunk/varia/src/main/org/jboss/security/identity/sso/JBossSingleSignOnProcessor.java
===================================================================
--- trunk/varia/src/main/org/jboss/security/identity/sso/JBossSingleSignOnProcessor.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/security/identity/sso/JBossSingleSignOnProcessor.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,8 +1,8 @@
/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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
Modified: trunk/varia/src/main/org/jboss/security/identity/sso/SSOException.java
===================================================================
--- trunk/varia/src/main/org/jboss/security/identity/sso/SSOException.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/security/identity/sso/SSOException.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt 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.
- */
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.security.identity.sso;
//$Id$
Modified: trunk/varia/src/main/org/jboss/security/identity/sso/SSOUser.java
===================================================================
--- trunk/varia/src/main/org/jboss/security/identity/sso/SSOUser.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/security/identity/sso/SSOUser.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt 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.
- */
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.security.identity.sso;
import java.io.Serializable;
Modified: trunk/varia/src/main/org/jboss/security/identity/sso/SingleSignOnProcessor.java
===================================================================
--- trunk/varia/src/main/org/jboss/security/identity/sso/SingleSignOnProcessor.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/security/identity/sso/SingleSignOnProcessor.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt 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.
- */
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.security.identity.sso;
//$Id$
Modified: trunk/varia/src/main/org/jboss/security/srp/SRPClientSession.java
===================================================================
--- trunk/varia/src/main/org/jboss/security/srp/SRPClientSession.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/security/srp/SRPClientSession.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.security.srp;
import java.math.BigInteger;
Modified: trunk/varia/src/main/org/jboss/security/srp/SRPConf.java
===================================================================
--- trunk/varia/src/main/org/jboss/security/srp/SRPConf.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/security/srp/SRPConf.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.security.srp;
import java.math.BigInteger;
Modified: trunk/varia/src/main/org/jboss/security/srp/SRPParameters.java
===================================================================
--- trunk/varia/src/main/org/jboss/security/srp/SRPParameters.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/security/srp/SRPParameters.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.security.srp;
import java.io.Serializable;
Modified: trunk/varia/src/main/org/jboss/security/srp/SRPPermission.java
===================================================================
--- trunk/varia/src/main/org/jboss/security/srp/SRPPermission.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/security/srp/SRPPermission.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.security.srp;
import java.security.BasicPermission;
Modified: trunk/varia/src/main/org/jboss/security/srp/SRPRemoteServer.java
===================================================================
--- trunk/varia/src/main/org/jboss/security/srp/SRPRemoteServer.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/security/srp/SRPRemoteServer.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.security.srp;
import java.io.IOException;
Modified: trunk/varia/src/main/org/jboss/security/srp/SRPRemoteServerInterface.java
===================================================================
--- trunk/varia/src/main/org/jboss/security/srp/SRPRemoteServerInterface.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/security/srp/SRPRemoteServerInterface.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.security.srp;
import java.rmi.Remote;
Modified: trunk/varia/src/main/org/jboss/security/srp/SRPServerInterface.java
===================================================================
--- trunk/varia/src/main/org/jboss/security/srp/SRPServerInterface.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/security/srp/SRPServerInterface.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.security.srp;
import java.rmi.RemoteException;
Modified: trunk/varia/src/main/org/jboss/security/srp/SRPServerListener.java
===================================================================
--- trunk/varia/src/main/org/jboss/security/srp/SRPServerListener.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/security/srp/SRPServerListener.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.security.srp;
/** A callback interface for SRP session events.
Modified: trunk/varia/src/main/org/jboss/security/srp/SRPServerProxy.java
===================================================================
--- trunk/varia/src/main/org/jboss/security/srp/SRPServerProxy.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/security/srp/SRPServerProxy.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.security.srp;
import java.io.Serializable;
Modified: trunk/varia/src/main/org/jboss/security/srp/SRPServerSession.java
===================================================================
--- trunk/varia/src/main/org/jboss/security/srp/SRPServerSession.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/security/srp/SRPServerSession.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.security.srp;
import java.io.Serializable;
Modified: trunk/varia/src/main/org/jboss/security/srp/SRPService.java
===================================================================
--- trunk/varia/src/main/org/jboss/security/srp/SRPService.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/security/srp/SRPService.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.security.srp;
import java.lang.reflect.Method;
Modified: trunk/varia/src/main/org/jboss/security/srp/SRPServiceMBean.java
===================================================================
--- trunk/varia/src/main/org/jboss/security/srp/SRPServiceMBean.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/security/srp/SRPServiceMBean.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.security.srp;
import org.jboss.invocation.Invocation;
Modified: trunk/varia/src/main/org/jboss/security/srp/SRPSessionKey.java
===================================================================
--- trunk/varia/src/main/org/jboss/security/srp/SRPSessionKey.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/security/srp/SRPSessionKey.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.security.srp;
import java.io.Serializable;
Modified: trunk/varia/src/main/org/jboss/security/srp/SRPVerifierStore.java
===================================================================
--- trunk/varia/src/main/org/jboss/security/srp/SRPVerifierStore.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/security/srp/SRPVerifierStore.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt 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.
- */
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.security.srp;
import java.io.IOException;
Modified: trunk/varia/src/main/org/jboss/security/srp/SRPVerifierStoreService.java
===================================================================
--- trunk/varia/src/main/org/jboss/security/srp/SRPVerifierStoreService.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/security/srp/SRPVerifierStoreService.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.security.srp;
import java.io.File;
Modified: trunk/varia/src/main/org/jboss/security/srp/SRPVerifierStoreServiceMBean.java
===================================================================
--- trunk/varia/src/main/org/jboss/security/srp/SRPVerifierStoreServiceMBean.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/security/srp/SRPVerifierStoreServiceMBean.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.security.srp;
import java.io.IOException;
Modified: trunk/varia/src/main/org/jboss/security/srp/SerialObjectStore.java
===================================================================
--- trunk/varia/src/main/org/jboss/security/srp/SerialObjectStore.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/security/srp/SerialObjectStore.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.security.srp;
import java.io.File;
Modified: trunk/varia/src/main/org/jboss/security/srp/jaas/SRPCacheLoginModule.java
===================================================================
--- trunk/varia/src/main/org/jboss/security/srp/jaas/SRPCacheLoginModule.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/security/srp/jaas/SRPCacheLoginModule.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.security.srp.jaas;
import java.security.Principal;
Modified: trunk/varia/src/main/org/jboss/security/srp/jaas/SRPLoginModule.java
===================================================================
--- trunk/varia/src/main/org/jboss/security/srp/jaas/SRPLoginModule.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/security/srp/jaas/SRPLoginModule.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.security.srp.jaas;
import java.rmi.Naming;
Modified: trunk/varia/src/main/org/jboss/security/srp/jaas/SRPPrincipal.java
===================================================================
--- trunk/varia/src/main/org/jboss/security/srp/jaas/SRPPrincipal.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/security/srp/jaas/SRPPrincipal.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.security.srp.jaas;
import org.jboss.security.SimplePrincipal;
Modified: trunk/varia/src/main/org/jboss/services/binding/DuplicateServiceException.java
===================================================================
--- trunk/varia/src/main/org/jboss/services/binding/DuplicateServiceException.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/services/binding/DuplicateServiceException.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.services.binding;
/**
Modified: trunk/varia/src/main/org/jboss/services/binding/ElementServiceBindingValueSource.java
===================================================================
--- trunk/varia/src/main/org/jboss/services/binding/ElementServiceBindingValueSource.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/services/binding/ElementServiceBindingValueSource.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,42 +1,42 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2008, 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.services.binding;
-
-import org.w3c.dom.Element;
-
-/**
- * A {@link ServiceBindingValueSource} that returns an Element.
- *
- * @author Brian Stansberry
- * @version $Revision$
- */
-public interface ElementServiceBindingValueSource extends ServiceBindingValueSource
-{
- /**
- * Returns the String to use for the binding value.
- *
- * @param binding the binding. Cannot be <code>null</code>
- * @return an String to use as the binding value. May return <code>null</code>.
- */
- Element getElementServiceBindingValue(ServiceBinding binding, Element input) throws Exception;
-}
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.services.binding;
+
+import org.w3c.dom.Element;
+
+/**
+ * A {@link ServiceBindingValueSource} that returns an Element.
+ *
+ * @author Brian Stansberry
+ * @version $Revision$
+ */
+public interface ElementServiceBindingValueSource extends ServiceBindingValueSource
+{
+ /**
+ * Returns the String to use for the binding value.
+ *
+ * @param binding the binding. Cannot be <code>null</code>
+ * @return an String to use as the binding value. May return <code>null</code>.
+ */
+ Element getElementServiceBindingValue(ServiceBinding binding, Element input) throws Exception;
+}
Modified: trunk/varia/src/main/org/jboss/services/binding/InetAddressServiceBindingValueSource.java
===================================================================
--- trunk/varia/src/main/org/jboss/services/binding/InetAddressServiceBindingValueSource.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/services/binding/InetAddressServiceBindingValueSource.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,43 +1,43 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2008, 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.services.binding;
-
-import java.net.InetAddress;
-
-/**
- * A {@link ServiceBindingValueSource} that returns an InetAddress. Typically used as
- * a source for a host binding value.
- *
- * @author Brian Stansberry
- * @version $Revision$
- */
-public interface InetAddressServiceBindingValueSource extends ServiceBindingValueSource
-{
- /**
- * Returns the InetAddress to use for the binding value.
- *
- * @param binding the binding. Cannot be <code>null</code>
- * @return an InetAddress to use as the binding value. May return <code>null</code>.
- */
- InetAddress getInetAddressServiceBindingValue(ServiceBinding binding) throws Exception;
-}
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.services.binding;
+
+import java.net.InetAddress;
+
+/**
+ * A {@link ServiceBindingValueSource} that returns an InetAddress. Typically used as
+ * a source for a host binding value.
+ *
+ * @author Brian Stansberry
+ * @version $Revision$
+ */
+public interface InetAddressServiceBindingValueSource extends ServiceBindingValueSource
+{
+ /**
+ * Returns the InetAddress to use for the binding value.
+ *
+ * @param binding the binding. Cannot be <code>null</code>
+ * @return an InetAddress to use as the binding value. May return <code>null</code>.
+ */
+ InetAddress getInetAddressServiceBindingValue(ServiceBinding binding) throws Exception;
+}
Modified: trunk/varia/src/main/org/jboss/services/binding/IntServiceBindingValueSource.java
===================================================================
--- trunk/varia/src/main/org/jboss/services/binding/IntServiceBindingValueSource.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/services/binding/IntServiceBindingValueSource.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,41 +1,41 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2008, 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.services.binding;
-
-/**
- * A {@link ServiceBindingValueSource} that returns an int. Typically used as
- * a source for a port binding value.
- *
- * @author Brian Stansberry
- * @version $Revision$
- */
-public interface IntServiceBindingValueSource extends ServiceBindingValueSource
-{
- /**
- * Returns the int to use for the binding value.
- *
- * @param binding the binding. Cannot be <code>null</code>
- * @return an int to use as the binding value
- */
- int getIntServiceBindingValue(ServiceBinding binding) throws Exception;
-}
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.services.binding;
+
+/**
+ * A {@link ServiceBindingValueSource} that returns an int. Typically used as
+ * a source for a port binding value.
+ *
+ * @author Brian Stansberry
+ * @version $Revision$
+ */
+public interface IntServiceBindingValueSource extends ServiceBindingValueSource
+{
+ /**
+ * Returns the int to use for the binding value.
+ *
+ * @param binding the binding. Cannot be <code>null</code>
+ * @return an int to use as the binding value
+ */
+ int getIntServiceBindingValue(ServiceBinding binding) throws Exception;
+}
Modified: trunk/varia/src/main/org/jboss/services/binding/NoSuchBindingException.java
===================================================================
--- trunk/varia/src/main/org/jboss/services/binding/NoSuchBindingException.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/services/binding/NoSuchBindingException.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,47 +1,47 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2008, 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.services.binding;
-
-/**
- * Exception thrown by {@link ServiceBindingManager} when no binding
- * can be found that matches a binding request.
- *
- * @author Brian Stansberry
- * @version $Revision$
- */
-public class NoSuchBindingException extends Exception
-{
-
- /** The serialVersionUID */
- private static final long serialVersionUID = -9055052272112983527L;
-
- public NoSuchBindingException(String serverName, String serviceName, String bindingName)
- {
- this("No binding " + bindingName + " found for service " + serviceName + " in set " + serverName);
- }
-
- public NoSuchBindingException(String msg)
- {
- super(msg);
- }
-}
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.services.binding;
+
+/**
+ * Exception thrown by {@link ServiceBindingManager} when no binding
+ * can be found that matches a binding request.
+ *
+ * @author Brian Stansberry
+ * @version $Revision$
+ */
+public class NoSuchBindingException extends Exception
+{
+
+ /** The serialVersionUID */
+ private static final long serialVersionUID = -9055052272112983527L;
+
+ public NoSuchBindingException(String serverName, String serviceName, String bindingName)
+ {
+ this("No binding " + bindingName + " found for service " + serviceName + " in set " + serverName);
+ }
+
+ public NoSuchBindingException(String msg)
+ {
+ super(msg);
+ }
+}
Modified: trunk/varia/src/main/org/jboss/services/binding/ServiceBinding.java
===================================================================
--- trunk/varia/src/main/org/jboss/services/binding/ServiceBinding.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/services/binding/ServiceBinding.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.services.binding;
import java.net.InetAddress;
Modified: trunk/varia/src/main/org/jboss/services/binding/ServiceBindingManager.java
===================================================================
--- trunk/varia/src/main/org/jboss/services/binding/ServiceBindingManager.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/services/binding/ServiceBindingManager.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.services.binding;
Modified: trunk/varia/src/main/org/jboss/services/binding/ServiceBindingManagerMBean.java
===================================================================
--- trunk/varia/src/main/org/jboss/services/binding/ServiceBindingManagerMBean.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/services/binding/ServiceBindingManagerMBean.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.services.binding;
Modified: trunk/varia/src/main/org/jboss/services/binding/ServiceBindingStore.java
===================================================================
--- trunk/varia/src/main/org/jboss/services/binding/ServiceBindingStore.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/services/binding/ServiceBindingStore.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,145 +1,145 @@
-/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.services.binding;
-
-import java.net.InetAddress;
-
-
-/** Interface for API to persist, read, and look up service configs
- *
- * @version $Revision: 37459 $
- * @author <a href="mailto:bitpushr at rochester.rr.com">Mike Finn</a>.
- * @author Scott.Stark at jboss.org
- * @author Brian Stansberry
- */
-public interface ServiceBindingStore
-{
- /** Obtain a ServiceBinding object for the given server instance, target
- * service and binidng name. This is called by the JBoss service configuration
- * layer to obtain service attribute binding overrides.
- *
- * @param serverName the name identifying the JBoss server instance in
- * which the service is running.
- * @param serviceName the name of the service
- * @param bindingName the name of the binding, or <code>null</code> to indicate
- * the default binding.
- * @return the ServiceBinding if one exists for the <serverName, serviceName, bindingName>
- * tuple.
- *
- * @throws NoSuchBindingException if no matching binding exists
- */
- ServiceBinding getServiceBinding(String serverName, String serviceName, String bindingName)
- throws NoSuchBindingException;
-
- /**
- * Add a ServiceBinding to the store. This is an optional method not used
- * by the JBoss service configuration layer.
- *
- * @param serverName the name identifying the JBoss server instance in
- * which the service is running.
- * @param serviceName the JMX ObjectName of the service
- * @param serviceConfig the configuration to add
- *
- * @throws DuplicateServiceException thrown if a configuration for the
- * <serverName, serviceName> pair already exists.
- */
- void addServiceBinding(String serverName, ServiceBinding binding)
- throws DuplicateServiceException;
-
- /**
- * Remove a service configuration from the store. This is an optonal method
- * not used by the JBoss service configuration layer.
- *
- * @param serverName the name identifying the JBoss server instance in
- * which the service is running.
- * @param serviceBinding the binding
- */
- void removeServiceBinding(String serverName, ServiceBinding binding);
-
- /**
- * Remove a service configuration from the store. This is an optonal method
- * not used by the JBoss service configuration layer.
- *
- * @param serverName the name identifying the JBoss server instance in
- * which the service is running.
- * @param serviceBinding the binding
- */
- void removeServiceBinding(String serverName, String serviceName, String bindingName);
-
- /**
- * Add a ServiceBinding to all binding sets in the store. For each binding
- * set, a new ServiceBinding is added whose serviceName and bindingName
- * properties match the passed binding. The new binding's hostName matches
- * the target set's {@link #getDefaultHostName(String) default host name}.
- * The new binding's port is derived by taking the port from the passed
- * binding and incrementing it by the target set's
- * {@link #getDefaultPortOffset(String) default port offset}.
- *
- * @param serviceName the JMX ObjectName of the service
- * @param serviceConfig the configuration to add
- *
- * @throws DuplicateServiceException thrown if a configuration for the
- * <serverName, serviceName> pair already exists.
- */
- void addServiceBinding(ServiceBinding binding)
- throws DuplicateServiceException;
-
- /**
- * Remove a service configuration from all binding sets in the store.
- *
- * @param serviceBinding the binding
- */
- void removeServiceBinding(ServiceBinding binding);
-
- /**
- * Remove a service configuration from all binding sets in the store.
- *
- * @param serviceBinding the binding
- */
- void removeServiceBinding(String serviceName, String bindingName);
-
- /**
- * Gets the offset from a base value that by default should be added to
- * port values for a given serverName.
- *
- * @param serverName the name of the binding set
- * @return the offset
- */
- int getDefaultPortOffset(String serverName);
-
- /**
- * Gets the default value to use as the host name for the given serverName.
- *
- * @param serverName the name of the binding set
- * @return the host name
- */
- String getDefaultHostName(String serverName);
-
- /**
- * Value of <code>InetAddress.getByHost({@link #getDefaultHostName(String) getDefaultHost(serverName)})</code>.
- *
- * @param serverName the name of the binding set
- * @return the host name
- */
- InetAddress getDefaultBindAddress(String serverName);
-
-}
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.services.binding;
+
+import java.net.InetAddress;
+
+
+/** Interface for API to persist, read, and look up service configs
+ *
+ * @version $Revision: 37459 $
+ * @author <a href="mailto:bitpushr at rochester.rr.com">Mike Finn</a>.
+ * @author Scott.Stark at jboss.org
+ * @author Brian Stansberry
+ */
+public interface ServiceBindingStore
+{
+ /** Obtain a ServiceBinding object for the given server instance, target
+ * service and binidng name. This is called by the JBoss service configuration
+ * layer to obtain service attribute binding overrides.
+ *
+ * @param serverName the name identifying the JBoss server instance in
+ * which the service is running.
+ * @param serviceName the name of the service
+ * @param bindingName the name of the binding, or <code>null</code> to indicate
+ * the default binding.
+ * @return the ServiceBinding if one exists for the <serverName, serviceName, bindingName>
+ * tuple.
+ *
+ * @throws NoSuchBindingException if no matching binding exists
+ */
+ ServiceBinding getServiceBinding(String serverName, String serviceName, String bindingName)
+ throws NoSuchBindingException;
+
+ /**
+ * Add a ServiceBinding to the store. This is an optional method not used
+ * by the JBoss service configuration layer.
+ *
+ * @param serverName the name identifying the JBoss server instance in
+ * which the service is running.
+ * @param serviceName the JMX ObjectName of the service
+ * @param serviceConfig the configuration to add
+ *
+ * @throws DuplicateServiceException thrown if a configuration for the
+ * <serverName, serviceName> pair already exists.
+ */
+ void addServiceBinding(String serverName, ServiceBinding binding)
+ throws DuplicateServiceException;
+
+ /**
+ * Remove a service configuration from the store. This is an optonal method
+ * not used by the JBoss service configuration layer.
+ *
+ * @param serverName the name identifying the JBoss server instance in
+ * which the service is running.
+ * @param serviceBinding the binding
+ */
+ void removeServiceBinding(String serverName, ServiceBinding binding);
+
+ /**
+ * Remove a service configuration from the store. This is an optonal method
+ * not used by the JBoss service configuration layer.
+ *
+ * @param serverName the name identifying the JBoss server instance in
+ * which the service is running.
+ * @param serviceBinding the binding
+ */
+ void removeServiceBinding(String serverName, String serviceName, String bindingName);
+
+ /**
+ * Add a ServiceBinding to all binding sets in the store. For each binding
+ * set, a new ServiceBinding is added whose serviceName and bindingName
+ * properties match the passed binding. The new binding's hostName matches
+ * the target set's {@link #getDefaultHostName(String) default host name}.
+ * The new binding's port is derived by taking the port from the passed
+ * binding and incrementing it by the target set's
+ * {@link #getDefaultPortOffset(String) default port offset}.
+ *
+ * @param serviceName the JMX ObjectName of the service
+ * @param serviceConfig the configuration to add
+ *
+ * @throws DuplicateServiceException thrown if a configuration for the
+ * <serverName, serviceName> pair already exists.
+ */
+ void addServiceBinding(ServiceBinding binding)
+ throws DuplicateServiceException;
+
+ /**
+ * Remove a service configuration from all binding sets in the store.
+ *
+ * @param serviceBinding the binding
+ */
+ void removeServiceBinding(ServiceBinding binding);
+
+ /**
+ * Remove a service configuration from all binding sets in the store.
+ *
+ * @param serviceBinding the binding
+ */
+ void removeServiceBinding(String serviceName, String bindingName);
+
+ /**
+ * Gets the offset from a base value that by default should be added to
+ * port values for a given serverName.
+ *
+ * @param serverName the name of the binding set
+ * @return the offset
+ */
+ int getDefaultPortOffset(String serverName);
+
+ /**
+ * Gets the default value to use as the host name for the given serverName.
+ *
+ * @param serverName the name of the binding set
+ * @return the host name
+ */
+ String getDefaultHostName(String serverName);
+
+ /**
+ * Value of <code>InetAddress.getByHost({@link #getDefaultHostName(String) getDefaultHost(serverName)})</code>.
+ *
+ * @param serverName the name of the binding set
+ * @return the host name
+ */
+ InetAddress getDefaultBindAddress(String serverName);
+
+}
Modified: trunk/varia/src/main/org/jboss/services/binding/ServiceBindingValueSource.java
===================================================================
--- trunk/varia/src/main/org/jboss/services/binding/ServiceBindingValueSource.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/services/binding/ServiceBindingValueSource.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,46 +1,46 @@
-/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.services.binding;
-
-
-/**
- * Source for a service binding value.
- *
- * @author Brian Stansberry
- */
-public interface ServiceBindingValueSource
-{
- /**
- * Returns a detyped binding value based on the provided binding
- * and detyped array of parameters.
- *
- * @param binding the binding. Cannot be <code>null</code>
- * @param params the parameters, or <code>null</code>
- *
- * @return the binding value. May return <code>null</code>
- *
- * @throws IllegalArgumentException if content of <code>params</code> is
- * not understood
- * @throws Exception if another exception occurs
- */
- public Object getServiceBindingValue(ServiceBinding binding, Object ... params) throws Exception;
-}
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.services.binding;
+
+
+/**
+ * Source for a service binding value.
+ *
+ * @author Brian Stansberry
+ */
+public interface ServiceBindingValueSource
+{
+ /**
+ * Returns a detyped binding value based on the provided binding
+ * and detyped array of parameters.
+ *
+ * @param binding the binding. Cannot be <code>null</code>
+ * @param params the parameters, or <code>null</code>
+ *
+ * @return the binding value. May return <code>null</code>
+ *
+ * @throws IllegalArgumentException if content of <code>params</code> is
+ * not understood
+ * @throws Exception if another exception occurs
+ */
+ public Object getServiceBindingValue(ServiceBinding binding, Object ... params) throws Exception;
+}
Modified: trunk/varia/src/main/org/jboss/services/binding/StringServiceBindingValueSource.java
===================================================================
--- trunk/varia/src/main/org/jboss/services/binding/StringServiceBindingValueSource.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/services/binding/StringServiceBindingValueSource.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,43 +1,43 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2008, 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.services.binding;
-
-
-/**
- * A {@link ServiceBindingValueSource} that returns a String.
- *
- * @author Brian Stansberry
- * @version $Revision$
- */
-public interface StringServiceBindingValueSource extends ServiceBindingValueSource
-{
- /**
- * Returns the String to use for the binding value.
- *
- * @param binding the binding. Cannot be <code>null</code>
- * @param originalValue an unprocessed value to which transformation can be applied
- *
- * @return an String to use as the binding value. May return <code>null</code>.
- */
- String getStringServiceBindingValue(ServiceBinding binding, String input) throws Exception;
-}
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.services.binding;
+
+
+/**
+ * A {@link ServiceBindingValueSource} that returns a String.
+ *
+ * @author Brian Stansberry
+ * @version $Revision$
+ */
+public interface StringServiceBindingValueSource extends ServiceBindingValueSource
+{
+ /**
+ * Returns the String to use for the binding value.
+ *
+ * @param binding the binding. Cannot be <code>null</code>
+ * @param originalValue an unprocessed value to which transformation can be applied
+ *
+ * @return an String to use as the binding value. May return <code>null</code>.
+ */
+ String getStringServiceBindingValue(ServiceBinding binding, String input) throws Exception;
+}
Modified: trunk/varia/src/main/org/jboss/services/binding/SystemPropertyBinder.java
===================================================================
--- trunk/varia/src/main/org/jboss/services/binding/SystemPropertyBinder.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/services/binding/SystemPropertyBinder.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,102 +1,102 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2008, 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.services.binding;
-
-import java.security.AccessController;
-import java.security.PrivilegedAction;
-import java.util.Set;
-
-/**
- * Defines system properties for a given set of {@link SystemPropertyBinding}s
- * in its {@link #start()} phase, and clears them in its {@link #stop()} phase.
- * <p>
- * Intent is this service would be used as a utility to convert
- * {@link ServiceBindingManager} values into system properties so other
- * services could consume them without being aware of
- * <code>ServiceBindingManager</code>.
- * <p/>
- *
- * @author Brian Stansberry
- * @version $Revision$
- */
-public class SystemPropertyBinder
-{
- private final Set<SystemPropertyBinding> bindings;
-
- public SystemPropertyBinder(Set<SystemPropertyBinding> bindings)
- {
- this.bindings = bindings;
- }
-
- public void start()
- {
- for (SystemPropertyBinding binding : bindings)
- {
- final String property = binding.getProperty();
- final String value = binding.getValue();
-
- if (System.getSecurityManager() == null)
- {
- System.setProperty(property, value);
- }
- else
- {
- AccessController.doPrivileged(new PrivilegedAction<Object>() {
-
- public Object run()
- {
- System.setProperty(property, value);
- return null;
- }
-
- });
- }
- }
-
- }
-
- public void stop()
- {
- for (SystemPropertyBinding binding : bindings)
- {
- final String property = binding.getProperty();
-
- if (System.getSecurityManager() == null)
- {
- System.clearProperty(property);
- }
- else
- {
- AccessController.doPrivileged(new PrivilegedAction<Object>() {
-
- public Object run()
- {
- System.clearProperty(property);
- return null;
- }
-
- });
- }
- }
- }
-}
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.services.binding;
+
+import java.security.AccessController;
+import java.security.PrivilegedAction;
+import java.util.Set;
+
+/**
+ * Defines system properties for a given set of {@link SystemPropertyBinding}s
+ * in its {@link #start()} phase, and clears them in its {@link #stop()} phase.
+ * <p>
+ * Intent is this service would be used as a utility to convert
+ * {@link ServiceBindingManager} values into system properties so other
+ * services could consume them without being aware of
+ * <code>ServiceBindingManager</code>.
+ * <p/>
+ *
+ * @author Brian Stansberry
+ * @version $Revision$
+ */
+public class SystemPropertyBinder
+{
+ private final Set<SystemPropertyBinding> bindings;
+
+ public SystemPropertyBinder(Set<SystemPropertyBinding> bindings)
+ {
+ this.bindings = bindings;
+ }
+
+ public void start()
+ {
+ for (SystemPropertyBinding binding : bindings)
+ {
+ final String property = binding.getProperty();
+ final String value = binding.getValue();
+
+ if (System.getSecurityManager() == null)
+ {
+ System.setProperty(property, value);
+ }
+ else
+ {
+ AccessController.doPrivileged(new PrivilegedAction<Object>() {
+
+ public Object run()
+ {
+ System.setProperty(property, value);
+ return null;
+ }
+
+ });
+ }
+ }
+
+ }
+
+ public void stop()
+ {
+ for (SystemPropertyBinding binding : bindings)
+ {
+ final String property = binding.getProperty();
+
+ if (System.getSecurityManager() == null)
+ {
+ System.clearProperty(property);
+ }
+ else
+ {
+ AccessController.doPrivileged(new PrivilegedAction<Object>() {
+
+ public Object run()
+ {
+ System.clearProperty(property);
+ return null;
+ }
+
+ });
+ }
+ }
+ }
+}
Modified: trunk/varia/src/main/org/jboss/services/binding/SystemPropertyBinding.java
===================================================================
--- trunk/varia/src/main/org/jboss/services/binding/SystemPropertyBinding.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/services/binding/SystemPropertyBinding.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,73 +1,73 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2008, 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.services.binding;
-
-import java.net.InetAddress;
-import java.net.URL;
-
-/**
- * Encapsulates the key and value for a system property. Basic function is to
- * perform type conversions in its constructor for values returned by
- * {@link ServiceBindingManager} so {@link SystemPropertyBinder} can bind the
- * values.
- *
- * @author Brian Stansberry
- * @version $Revision$
- */
-public class SystemPropertyBinding
-{
- private final String property;
- private final String value;
-
- public SystemPropertyBinding(String property, int value)
- {
- this(property, String.valueOf(value));
- }
-
- public SystemPropertyBinding(String property, InetAddress value)
- {
- this(property, value.getHostAddress());
- }
-
- public SystemPropertyBinding(String property, URL value)
- {
- this(property, value.toExternalForm());
- }
-
- public SystemPropertyBinding(String property, String value)
- {
- this.property = property;
- this.value = value;
- }
-
- public String getProperty()
- {
- return property;
- }
- public String getValue()
- {
- return value;
- }
-
-
-}
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.services.binding;
+
+import java.net.InetAddress;
+import java.net.URL;
+
+/**
+ * Encapsulates the key and value for a system property. Basic function is to
+ * perform type conversions in its constructor for values returned by
+ * {@link ServiceBindingManager} so {@link SystemPropertyBinder} can bind the
+ * values.
+ *
+ * @author Brian Stansberry
+ * @version $Revision$
+ */
+public class SystemPropertyBinding
+{
+ private final String property;
+ private final String value;
+
+ public SystemPropertyBinding(String property, int value)
+ {
+ this(property, String.valueOf(value));
+ }
+
+ public SystemPropertyBinding(String property, InetAddress value)
+ {
+ this(property, value.getHostAddress());
+ }
+
+ public SystemPropertyBinding(String property, URL value)
+ {
+ this(property, value.toExternalForm());
+ }
+
+ public SystemPropertyBinding(String property, String value)
+ {
+ this.property = property;
+ this.value = value;
+ }
+
+ public String getProperty()
+ {
+ return property;
+ }
+ public String getValue()
+ {
+ return value;
+ }
+
+
+}
Modified: trunk/varia/src/main/org/jboss/services/binding/URLServiceBindingValueSource.java
===================================================================
--- trunk/varia/src/main/org/jboss/services/binding/URLServiceBindingValueSource.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/services/binding/URLServiceBindingValueSource.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,60 +1,60 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2008, 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.services.binding;
-
-import java.net.URL;
-
-/**
- * A {@link ServiceBindingValueSource} that returns a URL or a String
- * representation of one.
- * <p>
- * Typical usage is in file transformation operations, where a given
- * the content of a given <code>input</code> URL or classpath resource is read,
- * transformed, written to a temp file, and the URL of the temp file returned.
- *
- * @author Brian Stansberry
- * @version $Revision$
- */
-public interface URLServiceBindingValueSource extends ServiceBindingValueSource
-{
- /**
- * Returns the URL to use for the binding value.
- *
- * @param binding the binding. Cannot be <code>null</code>
- * @param input the URL to use as input data
- *
- * @return a URL to use as the binding value. Will not return <code>null</code>.
- */
- URL getURLServiceBindingValue(ServiceBinding binding, URL input) throws Exception;
-
- /**
- * Returns a String representation of a URL path to use for the binding value.
- *
- * @param binding the binding. Cannot be <code>null</code>
- * @param input either a String representation of a URL or a value that
- * can be passed to {@link ClassLoader#getResourceAsStream(String)}
- *
- * @return a filesystem path to use as the binding value. May return <code>null</code>.
- */
- String getResourceServiceBindingValue(ServiceBinding binding, String input) throws Exception;
-}
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.services.binding;
+
+import java.net.URL;
+
+/**
+ * A {@link ServiceBindingValueSource} that returns a URL or a String
+ * representation of one.
+ * <p>
+ * Typical usage is in file transformation operations, where a given
+ * the content of a given <code>input</code> URL or classpath resource is read,
+ * transformed, written to a temp file, and the URL of the temp file returned.
+ *
+ * @author Brian Stansberry
+ * @version $Revision$
+ */
+public interface URLServiceBindingValueSource extends ServiceBindingValueSource
+{
+ /**
+ * Returns the URL to use for the binding value.
+ *
+ * @param binding the binding. Cannot be <code>null</code>
+ * @param input the URL to use as input data
+ *
+ * @return a URL to use as the binding value. Will not return <code>null</code>.
+ */
+ URL getURLServiceBindingValue(ServiceBinding binding, URL input) throws Exception;
+
+ /**
+ * Returns a String representation of a URL path to use for the binding value.
+ *
+ * @param binding the binding. Cannot be <code>null</code>
+ * @param input either a String representation of a URL or a value that
+ * can be passed to {@link ClassLoader#getResourceAsStream(String)}
+ *
+ * @return a filesystem path to use as the binding value. May return <code>null</code>.
+ */
+ String getResourceServiceBindingValue(ServiceBinding binding, String input) throws Exception;
+}
Modified: trunk/varia/src/main/org/jboss/services/binding/impl/PojoServiceBindingStore.java
===================================================================
--- trunk/varia/src/main/org/jboss/services/binding/impl/PojoServiceBindingStore.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/services/binding/impl/PojoServiceBindingStore.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,228 +1,228 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2008, 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.services.binding.impl;
-
-import java.net.InetAddress;
-import java.net.UnknownHostException;
-import java.util.HashMap;
-import java.util.Map;
-import java.util.concurrent.ConcurrentHashMap;
-import java.util.concurrent.ConcurrentMap;
-
-import org.jboss.services.binding.DuplicateServiceException;
-import org.jboss.services.binding.NoSuchBindingException;
-import org.jboss.services.binding.ServiceBinding;
-import org.jboss.services.binding.ServiceBindingStore;
-
-/**
- * A PojoServiceBindingStore.
- *
- * @author Brian Stansberry
- * @version $Revision$
- */
-public class PojoServiceBindingStore implements ServiceBindingStore
-{
- private static final Object VALUE = new Object();
-
- private final ConcurrentMap<ServiceBindingKey, ServiceBinding> bindings =
- new ConcurrentHashMap<ServiceBindingKey, ServiceBinding>(16, (float) .75, 4);
-
- private final ConcurrentMap<String, Object> bindingSetNames =
- new ConcurrentHashMap<String, Object>(16, (float) .75, 4);
-
- private final Map<String, String> defaultHostNames = new HashMap<String, String>();
-
- private final Map<String, InetAddress> defaultBindAddresses = new HashMap<String, InetAddress>();
-
- private final Map<String, Integer> defaultPortOffsets = new HashMap<String, Integer>();
-
- public PojoServiceBindingStore(Map<String, ServiceBindingSet> configSets)
- throws DuplicateServiceException
- {
- if (configSets == null)
- throw new IllegalArgumentException("configSets is null");
-
- for (Map.Entry<String, ServiceBindingSet> entry : configSets.entrySet())
- {
- String serverName = entry.getKey();
-
- bindingSetNames.put(serverName, VALUE);
-
- ServiceBindingSet bindingSet = entry.getValue();
-
- defaultHostNames.put(serverName, bindingSet.getDefaultHostName());
- defaultBindAddresses.put(serverName, bindingSet.getDefaultBindAddress());
- defaultPortOffsets.put(serverName, bindingSet.getPortOffset());
-
- for (ServiceBinding binding : bindingSet)
- {
- addServiceBinding(serverName, binding);
- }
- }
- }
-
- public void addServiceBinding(String serverName, ServiceBinding binding) throws DuplicateServiceException
- {
- validateServerName(serverName);
- Object oldBinding = bindings.putIfAbsent(new ServiceBindingKey(serverName, binding), binding);
- if (oldBinding != null)
- {
- throw new DuplicateServiceException(serverName, binding);
- }
- }
-
- public ServiceBinding getServiceBinding(String serverName, String serviceName, String bindingName)
- throws NoSuchBindingException
- {
- ServiceBinding binding = bindings.get(new ServiceBindingKey(serverName, serviceName, bindingName));
- if (binding == null)
- {
- throw new NoSuchBindingException(serverName, serviceName, bindingName);
- }
- return binding;
- }
-
- public void removeServiceBinding(String serverName, ServiceBinding binding)
- {
- validateServerName(serverName);
- bindings.remove(new ServiceBindingKey(serverName, binding));
- }
-
- public void removeServiceBinding(String serverName, String serviceName, String bindingName)
- {
- validateServerName(serverName);
- bindings.remove(new ServiceBindingKey(serverName, serviceName, bindingName));
- }
-
- public void addServiceBinding(ServiceBinding binding) throws DuplicateServiceException
- {
- for (String serverName : bindingSetNames.keySet())
- {
- int port = binding.getPort() + getDefaultPortOffset(serverName);
- String hostName = binding.getHostName();
- if (hostName == null)
- hostName = getDefaultHostName(serverName);
-
- try
- {
- addServiceBinding(serverName, new ServiceBinding(binding.getServiceName(), binding.getBindingName(), hostName, port));
- }
- catch (UnknownHostException e)
- {
- throw new IllegalStateException("Cannot convert " + hostName + " into an InetAddress");
- }
- }
- }
-
- public void removeServiceBinding(ServiceBinding binding)
- {
- for (String serverName : bindingSetNames.keySet())
- {
- removeServiceBinding(serverName, binding);
- }
- }
-
- public void removeServiceBinding(String serviceName, String bindingName)
- {
- for (String serverName : bindingSetNames.keySet())
- {
- removeServiceBinding(serverName, serviceName, bindingName);
- }
- }
-
- public InetAddress getDefaultBindAddress(String serverName)
- {
- validateServerName(serverName);
- return defaultBindAddresses.get(serverName);
- }
-
- public String getDefaultHostName(String serverName)
- {
- validateServerName(serverName);
- return defaultHostNames.get(serverName);
- }
-
- public int getDefaultPortOffset(String serverName)
- {
- validateServerName(serverName);
- return defaultPortOffsets.get(serverName).intValue();
- }
-
- private void validateServerName(String serverName)
- {
- if (bindingSetNames.containsKey(serverName) == false)
- throw new IllegalArgumentException("unknown serverName " +serverName);
- }
-
- private static class ServiceBindingKey
- {
- private final String serverName;
- private final String serviceName;
- private final String bindingName;
-
- private ServiceBindingKey(String serverName, ServiceBinding binding)
- {
- this(serverName, binding.getServiceName(), binding.getBindingName());
- }
-
- private ServiceBindingKey(String serverName, String serviceName, String bindingName)
- {
- assert serverName != null : "serverName is null";
- assert serviceName != null : "serviceName is null";
-
- this.serverName = serverName;
- this.serviceName = ServiceBinding.canonicalizeServiceName(serviceName);
- this.bindingName = bindingName;
- }
-
- @Override
- public boolean equals(Object obj)
- {
- if (obj instanceof ServiceBindingKey)
- {
- ServiceBindingKey other = (ServiceBindingKey) obj;
- return (this.serverName.equals(other.serverName)
- && this.serviceName.equals(other.serviceName)
- && safeEquals(this.bindingName, other.bindingName));
- }
- return false;
- }
-
- @Override
- public int hashCode()
- {
- int result = 17;
- result += 23 * this.serverName.hashCode();
- result += 23 * this.serviceName.hashCode();
- result += 23 * (this.bindingName == null ? 0 : this.bindingName.hashCode());
- return result;
- }
-
- private boolean safeEquals(Object a, Object b)
- {
- return (a == b || (a != null && a.equals(b)));
- }
-
- }
-
-}
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.services.binding.impl;
+
+import java.net.InetAddress;
+import java.net.UnknownHostException;
+import java.util.HashMap;
+import java.util.Map;
+import java.util.concurrent.ConcurrentHashMap;
+import java.util.concurrent.ConcurrentMap;
+
+import org.jboss.services.binding.DuplicateServiceException;
+import org.jboss.services.binding.NoSuchBindingException;
+import org.jboss.services.binding.ServiceBinding;
+import org.jboss.services.binding.ServiceBindingStore;
+
+/**
+ * A PojoServiceBindingStore.
+ *
+ * @author Brian Stansberry
+ * @version $Revision$
+ */
+public class PojoServiceBindingStore implements ServiceBindingStore
+{
+ private static final Object VALUE = new Object();
+
+ private final ConcurrentMap<ServiceBindingKey, ServiceBinding> bindings =
+ new ConcurrentHashMap<ServiceBindingKey, ServiceBinding>(16, (float) .75, 4);
+
+ private final ConcurrentMap<String, Object> bindingSetNames =
+ new ConcurrentHashMap<String, Object>(16, (float) .75, 4);
+
+ private final Map<String, String> defaultHostNames = new HashMap<String, String>();
+
+ private final Map<String, InetAddress> defaultBindAddresses = new HashMap<String, InetAddress>();
+
+ private final Map<String, Integer> defaultPortOffsets = new HashMap<String, Integer>();
+
+ public PojoServiceBindingStore(Map<String, ServiceBindingSet> configSets)
+ throws DuplicateServiceException
+ {
+ if (configSets == null)
+ throw new IllegalArgumentException("configSets is null");
+
+ for (Map.Entry<String, ServiceBindingSet> entry : configSets.entrySet())
+ {
+ String serverName = entry.getKey();
+
+ bindingSetNames.put(serverName, VALUE);
+
+ ServiceBindingSet bindingSet = entry.getValue();
+
+ defaultHostNames.put(serverName, bindingSet.getDefaultHostName());
+ defaultBindAddresses.put(serverName, bindingSet.getDefaultBindAddress());
+ defaultPortOffsets.put(serverName, bindingSet.getPortOffset());
+
+ for (ServiceBinding binding : bindingSet)
+ {
+ addServiceBinding(serverName, binding);
+ }
+ }
+ }
+
+ public void addServiceBinding(String serverName, ServiceBinding binding) throws DuplicateServiceException
+ {
+ validateServerName(serverName);
+ Object oldBinding = bindings.putIfAbsent(new ServiceBindingKey(serverName, binding), binding);
+ if (oldBinding != null)
+ {
+ throw new DuplicateServiceException(serverName, binding);
+ }
+ }
+
+ public ServiceBinding getServiceBinding(String serverName, String serviceName, String bindingName)
+ throws NoSuchBindingException
+ {
+ ServiceBinding binding = bindings.get(new ServiceBindingKey(serverName, serviceName, bindingName));
+ if (binding == null)
+ {
+ throw new NoSuchBindingException(serverName, serviceName, bindingName);
+ }
+ return binding;
+ }
+
+ public void removeServiceBinding(String serverName, ServiceBinding binding)
+ {
+ validateServerName(serverName);
+ bindings.remove(new ServiceBindingKey(serverName, binding));
+ }
+
+ public void removeServiceBinding(String serverName, String serviceName, String bindingName)
+ {
+ validateServerName(serverName);
+ bindings.remove(new ServiceBindingKey(serverName, serviceName, bindingName));
+ }
+
+ public void addServiceBinding(ServiceBinding binding) throws DuplicateServiceException
+ {
+ for (String serverName : bindingSetNames.keySet())
+ {
+ int port = binding.getPort() + getDefaultPortOffset(serverName);
+ String hostName = binding.getHostName();
+ if (hostName == null)
+ hostName = getDefaultHostName(serverName);
+
+ try
+ {
+ addServiceBinding(serverName, new ServiceBinding(binding.getServiceName(), binding.getBindingName(), hostName, port));
+ }
+ catch (UnknownHostException e)
+ {
+ throw new IllegalStateException("Cannot convert " + hostName + " into an InetAddress");
+ }
+ }
+ }
+
+ public void removeServiceBinding(ServiceBinding binding)
+ {
+ for (String serverName : bindingSetNames.keySet())
+ {
+ removeServiceBinding(serverName, binding);
+ }
+ }
+
+ public void removeServiceBinding(String serviceName, String bindingName)
+ {
+ for (String serverName : bindingSetNames.keySet())
+ {
+ removeServiceBinding(serverName, serviceName, bindingName);
+ }
+ }
+
+ public InetAddress getDefaultBindAddress(String serverName)
+ {
+ validateServerName(serverName);
+ return defaultBindAddresses.get(serverName);
+ }
+
+ public String getDefaultHostName(String serverName)
+ {
+ validateServerName(serverName);
+ return defaultHostNames.get(serverName);
+ }
+
+ public int getDefaultPortOffset(String serverName)
+ {
+ validateServerName(serverName);
+ return defaultPortOffsets.get(serverName).intValue();
+ }
+
+ private void validateServerName(String serverName)
+ {
+ if (bindingSetNames.containsKey(serverName) == false)
+ throw new IllegalArgumentException("unknown serverName " +serverName);
+ }
+
+ private static class ServiceBindingKey
+ {
+ private final String serverName;
+ private final String serviceName;
+ private final String bindingName;
+
+ private ServiceBindingKey(String serverName, ServiceBinding binding)
+ {
+ this(serverName, binding.getServiceName(), binding.getBindingName());
+ }
+
+ private ServiceBindingKey(String serverName, String serviceName, String bindingName)
+ {
+ assert serverName != null : "serverName is null";
+ assert serviceName != null : "serviceName is null";
+
+ this.serverName = serverName;
+ this.serviceName = ServiceBinding.canonicalizeServiceName(serviceName);
+ this.bindingName = bindingName;
+ }
+
+ @Override
+ public boolean equals(Object obj)
+ {
+ if (obj instanceof ServiceBindingKey)
+ {
+ ServiceBindingKey other = (ServiceBindingKey) obj;
+ return (this.serverName.equals(other.serverName)
+ && this.serviceName.equals(other.serviceName)
+ && safeEquals(this.bindingName, other.bindingName));
+ }
+ return false;
+ }
+
+ @Override
+ public int hashCode()
+ {
+ int result = 17;
+ result += 23 * this.serverName.hashCode();
+ result += 23 * this.serviceName.hashCode();
+ result += 23 * (this.bindingName == null ? 0 : this.bindingName.hashCode());
+ return result;
+ }
+
+ private boolean safeEquals(Object a, Object b)
+ {
+ return (a == b || (a != null && a.equals(b)));
+ }
+
+ }
+
+}
Modified: trunk/varia/src/main/org/jboss/services/binding/impl/ServiceBindingSet.java
===================================================================
--- trunk/varia/src/main/org/jboss/services/binding/impl/ServiceBindingSet.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/services/binding/impl/ServiceBindingSet.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,106 +1,106 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2008, 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.services.binding.impl;
-
-import java.net.InetAddress;
-import java.net.UnknownHostException;
-import java.util.HashSet;
-import java.util.Set;
-
-import org.jboss.services.binding.ServiceBinding;
-
-/**
- * Set<ServiceBinding> that populates itself by taking a base set
- * and duplicating its binding with a fixed offset to each port value.
- *
- * @author Brian Stansberry
- * @version $Revision$
- */
-public class ServiceBindingSet extends HashSet<ServiceBinding>
-{
- /** The serialVersionUID */
- private static final long serialVersionUID = 765380451233486038L;
-
- private final String defaultHostName;
- private final InetAddress defaultBindAddress;
- private final int portOffset;
-
- public ServiceBindingSet(Set<ServiceBinding> base) throws UnknownHostException
- {
- this(base, 0, null, null);
- }
-
- public ServiceBindingSet(Set<ServiceBinding> base, int offset) throws UnknownHostException
- {
- this(base, offset, null, null);
- }
-
- public ServiceBindingSet(Set<ServiceBinding> base, int offset, String defaultHostName) throws UnknownHostException
- {
- this(base, offset, null, defaultHostName);
- }
-
- public ServiceBindingSet(Set<ServiceBinding> base, int offset, Set<ServiceBinding> overrides, String defaultHostName) throws UnknownHostException
- {
- super(getOffsetBindings(base, offset));
- if (overrides != null)
- {
- // HashSet.add() is not a replace operation, so must remove first
- for (ServiceBinding binding : overrides)
- {
- remove(binding);
- add(binding);
- }
- }
-
- this.defaultHostName = defaultHostName;
- this.defaultBindAddress = defaultHostName == null ? null : InetAddress.getByName(defaultHostName);
- this.portOffset = offset;
- }
-
- private static Set<ServiceBinding> getOffsetBindings(Set<ServiceBinding> base, int offset) throws UnknownHostException
- {
- Set<ServiceBinding> altered = new HashSet<ServiceBinding>(base.size());
- for (ServiceBinding binding : base)
- {
- altered.add(binding.getOffsetBinding(offset));
- }
- return altered;
- }
-
- public String getDefaultHostName()
- {
- return defaultHostName;
- }
-
- public InetAddress getDefaultBindAddress()
- {
- return defaultBindAddress;
- }
-
- public int getPortOffset()
- {
- return portOffset;
- }
-
-}
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.services.binding.impl;
+
+import java.net.InetAddress;
+import java.net.UnknownHostException;
+import java.util.HashSet;
+import java.util.Set;
+
+import org.jboss.services.binding.ServiceBinding;
+
+/**
+ * Set<ServiceBinding> that populates itself by taking a base set
+ * and duplicating its binding with a fixed offset to each port value.
+ *
+ * @author Brian Stansberry
+ * @version $Revision$
+ */
+public class ServiceBindingSet extends HashSet<ServiceBinding>
+{
+ /** The serialVersionUID */
+ private static final long serialVersionUID = 765380451233486038L;
+
+ private final String defaultHostName;
+ private final InetAddress defaultBindAddress;
+ private final int portOffset;
+
+ public ServiceBindingSet(Set<ServiceBinding> base) throws UnknownHostException
+ {
+ this(base, 0, null, null);
+ }
+
+ public ServiceBindingSet(Set<ServiceBinding> base, int offset) throws UnknownHostException
+ {
+ this(base, offset, null, null);
+ }
+
+ public ServiceBindingSet(Set<ServiceBinding> base, int offset, String defaultHostName) throws UnknownHostException
+ {
+ this(base, offset, null, defaultHostName);
+ }
+
+ public ServiceBindingSet(Set<ServiceBinding> base, int offset, Set<ServiceBinding> overrides, String defaultHostName) throws UnknownHostException
+ {
+ super(getOffsetBindings(base, offset));
+ if (overrides != null)
+ {
+ // HashSet.add() is not a replace operation, so must remove first
+ for (ServiceBinding binding : overrides)
+ {
+ remove(binding);
+ add(binding);
+ }
+ }
+
+ this.defaultHostName = defaultHostName;
+ this.defaultBindAddress = defaultHostName == null ? null : InetAddress.getByName(defaultHostName);
+ this.portOffset = offset;
+ }
+
+ private static Set<ServiceBinding> getOffsetBindings(Set<ServiceBinding> base, int offset) throws UnknownHostException
+ {
+ Set<ServiceBinding> altered = new HashSet<ServiceBinding>(base.size());
+ for (ServiceBinding binding : base)
+ {
+ altered.add(binding.getOffsetBinding(offset));
+ }
+ return altered;
+ }
+
+ public String getDefaultHostName()
+ {
+ return defaultHostName;
+ }
+
+ public InetAddress getDefaultBindAddress()
+ {
+ return defaultBindAddress;
+ }
+
+ public int getPortOffset()
+ {
+ return portOffset;
+ }
+
+}
Modified: trunk/varia/src/main/org/jboss/services/binding/impl/SimpleServiceBindingValueSourceImpl.java
===================================================================
--- trunk/varia/src/main/org/jboss/services/binding/impl/SimpleServiceBindingValueSourceImpl.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/services/binding/impl/SimpleServiceBindingValueSourceImpl.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,72 +1,72 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2008, 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.services.binding.impl;
-
-import java.net.InetAddress;
-
-import org.jboss.services.binding.InetAddressServiceBindingValueSource;
-import org.jboss.services.binding.IntServiceBindingValueSource;
-import org.jboss.services.binding.ServiceBinding;
-
-/**
- * ServiceBindingValueSource that returns the given binding's
- * {@link ServiceBinding#getBindAddress() bind address} and
- * {@link ServiceBinding#getPort() port}.
- *
- * @author Brian Stansberry
- * @version $Revision$
- */
-public class SimpleServiceBindingValueSourceImpl
- implements
- IntServiceBindingValueSource,
- InetAddressServiceBindingValueSource
-{
-
- /**
- * @return <code>binding.{@link ServiceBinding#getPort() getPort()}</code>
- */
- public int getIntServiceBindingValue(ServiceBinding binding)
- {
- return binding.getPort();
- }
-
- /**
- * @return <code>binding.{@link ServiceBinding#getBindAddress() getBindAddress()}</code>
- */
- public InetAddress getInetAddressServiceBindingValue(ServiceBinding binding)
- {
- return binding.getBindAddress();
- }
-
- /**
- * @return <code>new Integer(binding.{@link ServiceBinding#getPort() getPort()})</code>
- */
- public Object getServiceBindingValue(ServiceBinding binding, Object... params) throws Exception
- {
- if (params != null && params.length > 0)
- throw new IllegalArgumentException(getClass().getSimpleName() + ".getServiceBindingValue() does not accept argument 'params'");
-
- return new Integer(getIntServiceBindingValue(binding));
- }
-
-}
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.services.binding.impl;
+
+import java.net.InetAddress;
+
+import org.jboss.services.binding.InetAddressServiceBindingValueSource;
+import org.jboss.services.binding.IntServiceBindingValueSource;
+import org.jboss.services.binding.ServiceBinding;
+
+/**
+ * ServiceBindingValueSource that returns the given binding's
+ * {@link ServiceBinding#getBindAddress() bind address} and
+ * {@link ServiceBinding#getPort() port}.
+ *
+ * @author Brian Stansberry
+ * @version $Revision$
+ */
+public class SimpleServiceBindingValueSourceImpl
+ implements
+ IntServiceBindingValueSource,
+ InetAddressServiceBindingValueSource
+{
+
+ /**
+ * @return <code>binding.{@link ServiceBinding#getPort() getPort()}</code>
+ */
+ public int getIntServiceBindingValue(ServiceBinding binding)
+ {
+ return binding.getPort();
+ }
+
+ /**
+ * @return <code>binding.{@link ServiceBinding#getBindAddress() getBindAddress()}</code>
+ */
+ public InetAddress getInetAddressServiceBindingValue(ServiceBinding binding)
+ {
+ return binding.getBindAddress();
+ }
+
+ /**
+ * @return <code>new Integer(binding.{@link ServiceBinding#getPort() getPort()})</code>
+ */
+ public Object getServiceBindingValue(ServiceBinding binding, Object... params) throws Exception
+ {
+ if (params != null && params.length > 0)
+ throw new IllegalArgumentException(getClass().getSimpleName() + ".getServiceBindingValue() does not accept argument 'params'");
+
+ return new Integer(getIntServiceBindingValue(binding));
+ }
+
+}
Modified: trunk/varia/src/main/org/jboss/services/binding/impl/StringReplacementServiceBindingValueSourceConfig.java
===================================================================
--- trunk/varia/src/main/org/jboss/services/binding/impl/StringReplacementServiceBindingValueSourceConfig.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/services/binding/impl/StringReplacementServiceBindingValueSourceConfig.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,61 +1,61 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2008, 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.services.binding.impl;
-
-
-/**
- * A StringReplacementServiceBindingValueSourceConfig.
- *
- * @author Brian Stansberry
- * @version $Revision$
- */
-public class StringReplacementServiceBindingValueSourceConfig
-{
- public static final String DEFAULT_HOST_MARKER = "${host}";
- public static final String DEFAULT_PORT_MARKER = "${port}";
-
- private String portMarker;
- private String hostMarker;
-
- public StringReplacementServiceBindingValueSourceConfig()
- {
- this(DEFAULT_HOST_MARKER, DEFAULT_PORT_MARKER);
- }
-
- public StringReplacementServiceBindingValueSourceConfig(String hostMarker, String portMarker)
- {
- this.hostMarker = (hostMarker == null ? DEFAULT_HOST_MARKER : hostMarker);
- this.portMarker = (portMarker == null ? DEFAULT_PORT_MARKER : portMarker);
- }
-
- public String getPortMarker()
- {
- return portMarker;
- }
-
- public String getHostMarker()
- {
- return hostMarker;
- }
-
-}
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.services.binding.impl;
+
+
+/**
+ * A StringReplacementServiceBindingValueSourceConfig.
+ *
+ * @author Brian Stansberry
+ * @version $Revision$
+ */
+public class StringReplacementServiceBindingValueSourceConfig
+{
+ public static final String DEFAULT_HOST_MARKER = "${host}";
+ public static final String DEFAULT_PORT_MARKER = "${port}";
+
+ private String portMarker;
+ private String hostMarker;
+
+ public StringReplacementServiceBindingValueSourceConfig()
+ {
+ this(DEFAULT_HOST_MARKER, DEFAULT_PORT_MARKER);
+ }
+
+ public StringReplacementServiceBindingValueSourceConfig(String hostMarker, String portMarker)
+ {
+ this.hostMarker = (hostMarker == null ? DEFAULT_HOST_MARKER : hostMarker);
+ this.portMarker = (portMarker == null ? DEFAULT_PORT_MARKER : portMarker);
+ }
+
+ public String getPortMarker()
+ {
+ return portMarker;
+ }
+
+ public String getHostMarker()
+ {
+ return hostMarker;
+ }
+
+}
Modified: trunk/varia/src/main/org/jboss/services/binding/impl/StringReplacementServiceBindingValueSourceImpl.java
===================================================================
--- trunk/varia/src/main/org/jboss/services/binding/impl/StringReplacementServiceBindingValueSourceImpl.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/services/binding/impl/StringReplacementServiceBindingValueSourceImpl.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,159 +1,159 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2008, 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.services.binding.impl;
-
-import java.beans.PropertyEditor;
-import java.beans.PropertyEditorManager;
-import java.net.URL;
-
-import org.jboss.services.binding.ElementServiceBindingValueSource;
-import org.jboss.services.binding.ServiceBinding;
-import org.jboss.services.binding.StringServiceBindingValueSource;
-import org.jboss.services.binding.URLServiceBindingValueSource;
-import org.w3c.dom.Element;
-
-/**
- * A StringReplacementServiceBindingValueSourceImpl.
- *
- * @author Brian Stansberry
- * @version $Revision$
- */
-public class StringReplacementServiceBindingValueSourceImpl
- implements StringServiceBindingValueSource, ElementServiceBindingValueSource, URLServiceBindingValueSource
-{
-
- public String getStringServiceBindingValue(ServiceBinding binding, String input) throws Exception
- {
- if (input == null)
- {
- return binding.getHostName();
- }
-
- StringReplacementServiceBindingValueSourceConfig config = getConfig(binding);
- return replaceHostAndPort(input, binding.getHostName(), binding.getPort(), config.getHostMarker(), config.getPortMarker());
- }
-
-
- public Element getElementServiceBindingValue(ServiceBinding binding, Element input) throws Exception
- {
- if (input == null)
- throw new IllegalArgumentException("input cannot be null");
-
- PropertyEditor editor = PropertyEditorManager.findEditor(Element.class);
- if (editor == null)
- throw new IllegalStateException("Cannot find PropertyEditor for type Element");
-
- StringReplacementServiceBindingValueSourceConfig config = getConfig(binding);
-
- editor.setValue(input);
- String text = editor.getAsText();
- text = replaceHostAndPort(text, binding.getHostName(), binding.getPort(), config.getHostMarker(), config.getPortMarker());
- editor.setAsText(text);
- return (Element) editor.getValue();
- }
-
- public String getResourceServiceBindingValue(ServiceBinding binding, String input) throws Exception
- {
- if (input == null)
- throw new IllegalArgumentException("input cannot be null");
-
- StringReplacementServiceBindingValueSourceConfig config = getConfig(binding);
-
- String content = Util.getContentAsString(input);
- String transformed = replaceHostAndPort(content, binding.getHostName(), binding.getPort(), config.getHostMarker(), config.getPortMarker());
- return Util.writeToTempFile(transformed).getAbsolutePath();
- }
-
-
- public URL getURLServiceBindingValue(ServiceBinding binding, URL input) throws Exception
- {
- if (input == null)
- throw new IllegalArgumentException("input cannot be null");
-
- StringReplacementServiceBindingValueSourceConfig config = getConfig(binding);
-
- String content = Util.getContentAsString(input);
- String transformed = replaceHostAndPort(content, binding.getHostName(), binding.getPort(), config.getHostMarker(), config.getPortMarker());
- return Util.writeToTempFile(transformed).toURL();
- }
-
- public Object getServiceBindingValue(ServiceBinding binding, Object... params) throws Exception
- {
- if (params == null)
- {
- return getStringServiceBindingValue(binding, null);
- }
-
- if (params.length != 1)
- {
- throw new IllegalArgumentException(getClass().getSimpleName() + ".getServiceBindingValue() requires a single-value 'params'");
- }
-
- if (params[0] instanceof String)
- {
- return getStringServiceBindingValue(binding, (String) params[0]);
- }
- else if (params[0] instanceof Element)
- {
- return getElementServiceBindingValue(binding, (Element) params[0]);
- }
- else if (params[0] instanceof URL)
- {
- return getURLServiceBindingValue(binding, (URL) params[0]);
- }
-
- throw new IllegalArgumentException(getClass().getSimpleName() + ".getServiceBindingValue() requires a single-value 'params' of type String, Element or URL");
- }
-
-
-
- // ---------------------------------------------------------------- Private
-
-
- private StringReplacementServiceBindingValueSourceConfig getConfig(ServiceBinding binding)
- {
- Object configSource = binding.getServiceBindingValueSourceConfig();
- if (configSource instanceof StringReplacementServiceBindingValueSourceConfig)
- {
- return (StringReplacementServiceBindingValueSourceConfig) configSource;
- }
- else
- {
- return new StringReplacementServiceBindingValueSourceConfig();
- }
- }
-
- private String replaceHostAndPort(String text, String host, int port, String hostMarker, String portMarker)
- {
- if( text == null )
- return null;
-
- if( host == null )
- host = "localhost";
- String portStr = String.valueOf(port);
-
- text = text.replace(hostMarker, host);
- return text.replace(portMarker, portStr);
- }
-
-}
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.services.binding.impl;
+
+import java.beans.PropertyEditor;
+import java.beans.PropertyEditorManager;
+import java.net.URL;
+
+import org.jboss.services.binding.ElementServiceBindingValueSource;
+import org.jboss.services.binding.ServiceBinding;
+import org.jboss.services.binding.StringServiceBindingValueSource;
+import org.jboss.services.binding.URLServiceBindingValueSource;
+import org.w3c.dom.Element;
+
+/**
+ * A StringReplacementServiceBindingValueSourceImpl.
+ *
+ * @author Brian Stansberry
+ * @version $Revision$
+ */
+public class StringReplacementServiceBindingValueSourceImpl
+ implements StringServiceBindingValueSource, ElementServiceBindingValueSource, URLServiceBindingValueSource
+{
+
+ public String getStringServiceBindingValue(ServiceBinding binding, String input) throws Exception
+ {
+ if (input == null)
+ {
+ return binding.getHostName();
+ }
+
+ StringReplacementServiceBindingValueSourceConfig config = getConfig(binding);
+ return replaceHostAndPort(input, binding.getHostName(), binding.getPort(), config.getHostMarker(), config.getPortMarker());
+ }
+
+
+ public Element getElementServiceBindingValue(ServiceBinding binding, Element input) throws Exception
+ {
+ if (input == null)
+ throw new IllegalArgumentException("input cannot be null");
+
+ PropertyEditor editor = PropertyEditorManager.findEditor(Element.class);
+ if (editor == null)
+ throw new IllegalStateException("Cannot find PropertyEditor for type Element");
+
+ StringReplacementServiceBindingValueSourceConfig config = getConfig(binding);
+
+ editor.setValue(input);
+ String text = editor.getAsText();
+ text = replaceHostAndPort(text, binding.getHostName(), binding.getPort(), config.getHostMarker(), config.getPortMarker());
+ editor.setAsText(text);
+ return (Element) editor.getValue();
+ }
+
+ public String getResourceServiceBindingValue(ServiceBinding binding, String input) throws Exception
+ {
+ if (input == null)
+ throw new IllegalArgumentException("input cannot be null");
+
+ StringReplacementServiceBindingValueSourceConfig config = getConfig(binding);
+
+ String content = Util.getContentAsString(input);
+ String transformed = replaceHostAndPort(content, binding.getHostName(), binding.getPort(), config.getHostMarker(), config.getPortMarker());
+ return Util.writeToTempFile(transformed).getAbsolutePath();
+ }
+
+
+ public URL getURLServiceBindingValue(ServiceBinding binding, URL input) throws Exception
+ {
+ if (input == null)
+ throw new IllegalArgumentException("input cannot be null");
+
+ StringReplacementServiceBindingValueSourceConfig config = getConfig(binding);
+
+ String content = Util.getContentAsString(input);
+ String transformed = replaceHostAndPort(content, binding.getHostName(), binding.getPort(), config.getHostMarker(), config.getPortMarker());
+ return Util.writeToTempFile(transformed).toURL();
+ }
+
+ public Object getServiceBindingValue(ServiceBinding binding, Object... params) throws Exception
+ {
+ if (params == null)
+ {
+ return getStringServiceBindingValue(binding, null);
+ }
+
+ if (params.length != 1)
+ {
+ throw new IllegalArgumentException(getClass().getSimpleName() + ".getServiceBindingValue() requires a single-value 'params'");
+ }
+
+ if (params[0] instanceof String)
+ {
+ return getStringServiceBindingValue(binding, (String) params[0]);
+ }
+ else if (params[0] instanceof Element)
+ {
+ return getElementServiceBindingValue(binding, (Element) params[0]);
+ }
+ else if (params[0] instanceof URL)
+ {
+ return getURLServiceBindingValue(binding, (URL) params[0]);
+ }
+
+ throw new IllegalArgumentException(getClass().getSimpleName() + ".getServiceBindingValue() requires a single-value 'params' of type String, Element or URL");
+ }
+
+
+
+ // ---------------------------------------------------------------- Private
+
+
+ private StringReplacementServiceBindingValueSourceConfig getConfig(ServiceBinding binding)
+ {
+ Object configSource = binding.getServiceBindingValueSourceConfig();
+ if (configSource instanceof StringReplacementServiceBindingValueSourceConfig)
+ {
+ return (StringReplacementServiceBindingValueSourceConfig) configSource;
+ }
+ else
+ {
+ return new StringReplacementServiceBindingValueSourceConfig();
+ }
+ }
+
+ private String replaceHostAndPort(String text, String host, int port, String hostMarker, String portMarker)
+ {
+ if( text == null )
+ return null;
+
+ if( host == null )
+ host = "localhost";
+ String portStr = String.valueOf(port);
+
+ text = text.replace(hostMarker, host);
+ return text.replace(portMarker, portStr);
+ }
+
+}
Modified: trunk/varia/src/main/org/jboss/services/binding/impl/Util.java
===================================================================
--- trunk/varia/src/main/org/jboss/services/binding/impl/Util.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/services/binding/impl/Util.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,180 +1,180 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2008, 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.services.binding.impl;
-
-import java.io.File;
-import java.io.FileOutputStream;
-import java.io.IOException;
-import java.io.InputStream;
-import java.io.InputStreamReader;
-import java.io.OutputStreamWriter;
-import java.io.StringWriter;
-import java.net.MalformedURLException;
-import java.net.URL;
-import java.net.URLConnection;
-
-import org.jboss.bootstrap.spi.ServerConfig;
-import org.jboss.services.binding.ServiceBinding;
-import org.jboss.services.binding.ServiceBindingValueSource;
-
-/**
- * Utilities used by service binding manager components.
- *
- * @author Brian Stansberry
- * @version $Revision$
- */
-public class Util
-{
-
- public static InputStream getInputStream(URL url) throws IOException
- {
- URLConnection conn = url.openConnection();
- conn.connect();
- return conn.getInputStream();
- }
-
- public static InputStream getInputStream(String resource) throws IOException
- {
- try
- {
- URL url = new URL(resource);
- return getInputStream(url);
- }
- catch (MalformedURLException mue)
- {
- ClassLoader cl = Thread.currentThread().getContextClassLoader();
- return cl.getResourceAsStream(resource);
- }
- }
-
- public static InputStreamReader getInputStreamReader(URL url) throws IOException
- {
- return new InputStreamReader(getInputStream(url));
- }
-
- public static InputStreamReader getInputStreamReader(String resource) throws IOException
- {
- try
- {
- URL url = new URL(resource);
- return getInputStreamReader(url);
- }
- catch (MalformedURLException mue)
- {
- ClassLoader cl = Thread.currentThread().getContextClassLoader();
- InputStream is = cl.getResourceAsStream(resource);
- if (is == null)
- throw new IllegalArgumentException("No resource " + resource + " found");
- return new InputStreamReader(is);
- }
- }
-
- public static String getContentAsString(URL url) throws IOException
- {
- InputStreamReader isr = getInputStreamReader(url);
- return getContentAsString(isr);
- }
-
- public static String getContentAsString(String resource) throws IOException
- {
- InputStreamReader isr = getInputStreamReader(resource);
- return getContentAsString(isr);
- }
-
- public static File writeToTempFile(String content) throws IOException
- {
- File targetFile = Util.createTempFile();
- OutputStreamWriter osw = null;
- try
- {
- osw = new OutputStreamWriter(new FileOutputStream(targetFile));
- osw.write(content);
-
- return targetFile;
- }
- finally
- {
- if (osw != null)
- osw.close();
- }
- }
-
- private static String getContentAsString(InputStreamReader isr) throws IOException
- {
- try
- {
- StringWriter writer = new StringWriter();
- char[] buf = new char[1024];
- int read;
- while((read = isr.read(buf, 0, buf.length)) != -1)
- {
- writer.write(buf, 0, read);
- }
- return writer.toString();
- }
- finally
- {
- isr.close();
- }
- }
-
- public static File createTempFile() throws IOException
- {
- String tmpName = System.getProperty(ServerConfig.SERVER_TEMP_DIR);
- File tempDirectory = new File(tmpName);
- File targetFile = File.createTempFile("service-binding", ".tmp", tempDirectory);
- targetFile.deleteOnExit();
-
- return targetFile;
- }
-
- public static <T> T getBindingValue(ServiceBindingValueSource source, ServiceBinding binding, Class<T> expectedType) throws Exception
- {
- Object[] params = null;
- Object obj = source.getServiceBindingValue(binding, params);
- if (expectedType.isAssignableFrom(obj.getClass()))
- {
- return expectedType.cast(obj);
- }
- else
- {
- throw new IllegalStateException("Incompatible value source for " + binding + " -- must return " + expectedType.getSimpleName());
- }
- }
-
- public static <T> T getBindingValueWithInput(ServiceBindingValueSource source, ServiceBinding binding, Object input, Class<T> expectedType) throws Exception
- {
- Object obj = source.getServiceBindingValue(binding, input);
- if (expectedType.isAssignableFrom(obj.getClass()))
- {
- return expectedType.cast(obj);
- }
- else
- {
- throw new IllegalStateException("Incompatible value source for " + binding + " -- must return " + expectedType.getSimpleName());
- }
- }
-
- /** Prevent instantiation */
- private Util() {}
-}
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.services.binding.impl;
+
+import java.io.File;
+import java.io.FileOutputStream;
+import java.io.IOException;
+import java.io.InputStream;
+import java.io.InputStreamReader;
+import java.io.OutputStreamWriter;
+import java.io.StringWriter;
+import java.net.MalformedURLException;
+import java.net.URL;
+import java.net.URLConnection;
+
+import org.jboss.bootstrap.spi.ServerConfig;
+import org.jboss.services.binding.ServiceBinding;
+import org.jboss.services.binding.ServiceBindingValueSource;
+
+/**
+ * Utilities used by service binding manager components.
+ *
+ * @author Brian Stansberry
+ * @version $Revision$
+ */
+public class Util
+{
+
+ public static InputStream getInputStream(URL url) throws IOException
+ {
+ URLConnection conn = url.openConnection();
+ conn.connect();
+ return conn.getInputStream();
+ }
+
+ public static InputStream getInputStream(String resource) throws IOException
+ {
+ try
+ {
+ URL url = new URL(resource);
+ return getInputStream(url);
+ }
+ catch (MalformedURLException mue)
+ {
+ ClassLoader cl = Thread.currentThread().getContextClassLoader();
+ return cl.getResourceAsStream(resource);
+ }
+ }
+
+ public static InputStreamReader getInputStreamReader(URL url) throws IOException
+ {
+ return new InputStreamReader(getInputStream(url));
+ }
+
+ public static InputStreamReader getInputStreamReader(String resource) throws IOException
+ {
+ try
+ {
+ URL url = new URL(resource);
+ return getInputStreamReader(url);
+ }
+ catch (MalformedURLException mue)
+ {
+ ClassLoader cl = Thread.currentThread().getContextClassLoader();
+ InputStream is = cl.getResourceAsStream(resource);
+ if (is == null)
+ throw new IllegalArgumentException("No resource " + resource + " found");
+ return new InputStreamReader(is);
+ }
+ }
+
+ public static String getContentAsString(URL url) throws IOException
+ {
+ InputStreamReader isr = getInputStreamReader(url);
+ return getContentAsString(isr);
+ }
+
+ public static String getContentAsString(String resource) throws IOException
+ {
+ InputStreamReader isr = getInputStreamReader(resource);
+ return getContentAsString(isr);
+ }
+
+ public static File writeToTempFile(String content) throws IOException
+ {
+ File targetFile = Util.createTempFile();
+ OutputStreamWriter osw = null;
+ try
+ {
+ osw = new OutputStreamWriter(new FileOutputStream(targetFile));
+ osw.write(content);
+
+ return targetFile;
+ }
+ finally
+ {
+ if (osw != null)
+ osw.close();
+ }
+ }
+
+ private static String getContentAsString(InputStreamReader isr) throws IOException
+ {
+ try
+ {
+ StringWriter writer = new StringWriter();
+ char[] buf = new char[1024];
+ int read;
+ while((read = isr.read(buf, 0, buf.length)) != -1)
+ {
+ writer.write(buf, 0, read);
+ }
+ return writer.toString();
+ }
+ finally
+ {
+ isr.close();
+ }
+ }
+
+ public static File createTempFile() throws IOException
+ {
+ String tmpName = System.getProperty(ServerConfig.SERVER_TEMP_DIR);
+ File tempDirectory = new File(tmpName);
+ File targetFile = File.createTempFile("service-binding", ".tmp", tempDirectory);
+ targetFile.deleteOnExit();
+
+ return targetFile;
+ }
+
+ public static <T> T getBindingValue(ServiceBindingValueSource source, ServiceBinding binding, Class<T> expectedType) throws Exception
+ {
+ Object[] params = null;
+ Object obj = source.getServiceBindingValue(binding, params);
+ if (expectedType.isAssignableFrom(obj.getClass()))
+ {
+ return expectedType.cast(obj);
+ }
+ else
+ {
+ throw new IllegalStateException("Incompatible value source for " + binding + " -- must return " + expectedType.getSimpleName());
+ }
+ }
+
+ public static <T> T getBindingValueWithInput(ServiceBindingValueSource source, ServiceBinding binding, Object input, Class<T> expectedType) throws Exception
+ {
+ Object obj = source.getServiceBindingValue(binding, input);
+ if (expectedType.isAssignableFrom(obj.getClass()))
+ {
+ return expectedType.cast(obj);
+ }
+ else
+ {
+ throw new IllegalStateException("Incompatible value source for " + binding + " -- must return " + expectedType.getSimpleName());
+ }
+ }
+
+ /** Prevent instantiation */
+ private Util() {}
+}
Modified: trunk/varia/src/main/org/jboss/services/binding/impl/XSLTServiceBindingValueSourceConfig.java
===================================================================
--- trunk/varia/src/main/org/jboss/services/binding/impl/XSLTServiceBindingValueSourceConfig.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/services/binding/impl/XSLTServiceBindingValueSourceConfig.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,66 +1,66 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2008, 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.services.binding.impl;
-
-import java.util.Collections;
-import java.util.HashMap;
-import java.util.Map;
-
-/**
- * Configuration object for a ServiceBindingValueSource that uses
- * XSL Transformation.
- *
- * @author Brian Stansberry
- * @version $Revision$
- */
-public class XSLTServiceBindingValueSourceConfig
-{
- private final String xslt;
- private final HashMap<String, String> additionalAttributes = new HashMap<String, String>();
-
- public XSLTServiceBindingValueSourceConfig(String xslt)
- {
- this(xslt, null);
- }
-
- public XSLTServiceBindingValueSourceConfig(String xslt, Map<String, String> additionalAttributes)
- {
- if (xslt == null)
- throw new IllegalArgumentException("xslt is null");
- this.xslt = xslt;
-
- if (additionalAttributes != null)
- this.additionalAttributes.putAll(additionalAttributes);
- }
-
- public String getXslt()
- {
- return xslt;
- }
-
- public Map<String, String> getAdditionalAttributes()
- {
- return Collections.unmodifiableMap(additionalAttributes);
- }
-
-}
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.services.binding.impl;
+
+import java.util.Collections;
+import java.util.HashMap;
+import java.util.Map;
+
+/**
+ * Configuration object for a ServiceBindingValueSource that uses
+ * XSL Transformation.
+ *
+ * @author Brian Stansberry
+ * @version $Revision$
+ */
+public class XSLTServiceBindingValueSourceConfig
+{
+ private final String xslt;
+ private final HashMap<String, String> additionalAttributes = new HashMap<String, String>();
+
+ public XSLTServiceBindingValueSourceConfig(String xslt)
+ {
+ this(xslt, null);
+ }
+
+ public XSLTServiceBindingValueSourceConfig(String xslt, Map<String, String> additionalAttributes)
+ {
+ if (xslt == null)
+ throw new IllegalArgumentException("xslt is null");
+ this.xslt = xslt;
+
+ if (additionalAttributes != null)
+ this.additionalAttributes.putAll(additionalAttributes);
+ }
+
+ public String getXslt()
+ {
+ return xslt;
+ }
+
+ public Map<String, String> getAdditionalAttributes()
+ {
+ return Collections.unmodifiableMap(additionalAttributes);
+ }
+
+}
Modified: trunk/varia/src/main/org/jboss/services/binding/impl/XSLTServiceBindingValueSourceImpl.java
===================================================================
--- trunk/varia/src/main/org/jboss/services/binding/impl/XSLTServiceBindingValueSourceImpl.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/services/binding/impl/XSLTServiceBindingValueSourceImpl.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,206 +1,206 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2008, 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.services.binding.impl;
-
-import java.beans.PropertyEditor;
-import java.beans.PropertyEditorManager;
-import java.io.File;
-import java.io.FileOutputStream;
-import java.io.OutputStreamWriter;
-import java.io.Reader;
-import java.io.StringReader;
-import java.io.StringWriter;
-import java.io.Writer;
-import java.net.URL;
-import java.util.Map;
-
-import javax.xml.transform.Result;
-import javax.xml.transform.Source;
-import javax.xml.transform.Transformer;
-import javax.xml.transform.TransformerConfigurationException;
-import javax.xml.transform.TransformerException;
-import javax.xml.transform.TransformerFactory;
-import javax.xml.transform.TransformerFactoryConfigurationError;
-import javax.xml.transform.stream.StreamResult;
-import javax.xml.transform.stream.StreamSource;
-
-import org.jboss.services.binding.ElementServiceBindingValueSource;
-import org.jboss.services.binding.ServiceBinding;
-import org.jboss.services.binding.URLServiceBindingValueSource;
-import org.jboss.util.StringPropertyReplacer;
-import org.w3c.dom.Element;
-
-/**
- * A XSLTServiceBindingValueSourceImpl.
- *
- * @author Brian Stansberry
- * @version $Revision$
- */
-public class XSLTServiceBindingValueSourceImpl implements URLServiceBindingValueSource, ElementServiceBindingValueSource
-{
-
- public String getResourceServiceBindingValue(ServiceBinding binding, String input) throws Exception
- {
- if (input == null)
- throw new IllegalArgumentException("input cannot be null");
-
- XSLTServiceBindingValueSourceConfig config = getConfig(binding);
-
- Reader reader = null;
- Writer writer = null;
- try
- {
- reader = Util.getInputStreamReader(input);
-
- File targetFile = Util.createTempFile();
- writer = new OutputStreamWriter(new FileOutputStream(targetFile));
-
- doXslTransform(binding, config, reader, writer);
-
- return targetFile.getAbsolutePath();
- }
- finally
- {
- if (reader != null)
- reader.close();
- if (writer != null)
- writer.close();
- }
- }
-
- public URL getURLServiceBindingValue(ServiceBinding binding, URL input) throws Exception
- {
- if (input == null)
- throw new IllegalArgumentException("input cannot be null");
-
- XSLTServiceBindingValueSourceConfig config = getConfig(binding);
-
- Reader reader = null;
- Writer writer = null;
- try
- {
- reader = Util.getInputStreamReader(input);
-
- File targetFile = Util.createTempFile();
- writer = new OutputStreamWriter(new FileOutputStream(targetFile));
-
- doXslTransform(binding, config, reader, writer);
-
- return targetFile.toURL();
- }
- finally
- {
- if (reader != null)
- reader.close();
- if (writer != null)
- writer.close();
- }
- }
-
- public Element getElementServiceBindingValue(ServiceBinding binding, Element input) throws Exception
- {
- if (input == null)
- throw new IllegalArgumentException("input cannot be null");
-
- PropertyEditor editor = PropertyEditorManager.findEditor(Element.class);
- if (editor == null)
- throw new IllegalStateException("Cannot find PropertyEditor for type Element");
-
- editor.setValue(input);
- Reader reader = new StringReader(editor.getAsText());
- Writer writer = new StringWriter();
-
- doXslTransform(binding, getConfig(binding), reader, writer);
-
- editor.setAsText(writer.toString());
- return (Element) editor.getValue();
- }
-
- public Object getServiceBindingValue(ServiceBinding binding, Object... params) throws Exception
- {
- if (params == null || params.length != 1)
- {
- throw new IllegalArgumentException(getClass().getSimpleName() + ".getServiceBindingValue() requires a single-value 'params'");
- }
-
- if (params[0] instanceof String)
- {
- return getResourceServiceBindingValue(binding, (String) params[0]);
- }
- else if (params[0] instanceof Element)
- {
- return getElementServiceBindingValue(binding, (Element) params[0]);
- }
- else if (params[0] instanceof URL)
- {
- return getURLServiceBindingValue(binding, (URL) params[0]);
- }
-
- throw new IllegalArgumentException(getClass().getSimpleName() + ".getServiceBindingValue() requires a single-value 'params' of type String, Element or URL");
- }
-
- private XSLTServiceBindingValueSourceConfig getConfig(ServiceBinding binding)
- {
- Object config = binding.getServiceBindingValueSourceConfig();
- if (config instanceof XSLTServiceBindingValueSourceConfig)
- {
- return (XSLTServiceBindingValueSourceConfig) config;
- }
- else if (config == null)
- {
- throw new IllegalStateException("No config object bound to " + binding);
- }
- throw new IllegalStateException("Incompatible config object of type " +
- config.getClass() + " bound to " + binding +
- " -- must use " + XSLTServiceBindingValueSourceConfig.class.getName());
- }
-
- private void doXslTransform(ServiceBinding binding, XSLTServiceBindingValueSourceConfig config,
- Reader reader, Writer writer) throws TransformerException
- {
- Source xmlSource = new StreamSource(reader);
- Result xmlResult = new StreamResult(writer);
- Source xslSource = new StreamSource(new StringReader(config.getXslt()));
-
- TransformerFactory factory = TransformerFactory.newInstance();
- Transformer transformer = factory.newTransformer(xslSource);
-
- transformer.setParameter("port", new Integer(binding.getPort()));
- String host = binding.getHostName();
- if (host != null)
- {
- transformer.setParameter("host", host);
- }
-
- // Check for any arbitrary attributes
- Map<String, String> attributes = config.getAdditionalAttributes();
- for(Map.Entry<String, String> entry : attributes.entrySet())
- {
- String attrValue = StringPropertyReplacer.replaceProperties(entry.getValue());
- transformer.setParameter(entry.getKey(), attrValue);
- }
-
- transformer.transform(xmlSource, xmlResult);
- }
-
-}
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.services.binding.impl;
+
+import java.beans.PropertyEditor;
+import java.beans.PropertyEditorManager;
+import java.io.File;
+import java.io.FileOutputStream;
+import java.io.OutputStreamWriter;
+import java.io.Reader;
+import java.io.StringReader;
+import java.io.StringWriter;
+import java.io.Writer;
+import java.net.URL;
+import java.util.Map;
+
+import javax.xml.transform.Result;
+import javax.xml.transform.Source;
+import javax.xml.transform.Transformer;
+import javax.xml.transform.TransformerConfigurationException;
+import javax.xml.transform.TransformerException;
+import javax.xml.transform.TransformerFactory;
+import javax.xml.transform.TransformerFactoryConfigurationError;
+import javax.xml.transform.stream.StreamResult;
+import javax.xml.transform.stream.StreamSource;
+
+import org.jboss.services.binding.ElementServiceBindingValueSource;
+import org.jboss.services.binding.ServiceBinding;
+import org.jboss.services.binding.URLServiceBindingValueSource;
+import org.jboss.util.StringPropertyReplacer;
+import org.w3c.dom.Element;
+
+/**
+ * A XSLTServiceBindingValueSourceImpl.
+ *
+ * @author Brian Stansberry
+ * @version $Revision$
+ */
+public class XSLTServiceBindingValueSourceImpl implements URLServiceBindingValueSource, ElementServiceBindingValueSource
+{
+
+ public String getResourceServiceBindingValue(ServiceBinding binding, String input) throws Exception
+ {
+ if (input == null)
+ throw new IllegalArgumentException("input cannot be null");
+
+ XSLTServiceBindingValueSourceConfig config = getConfig(binding);
+
+ Reader reader = null;
+ Writer writer = null;
+ try
+ {
+ reader = Util.getInputStreamReader(input);
+
+ File targetFile = Util.createTempFile();
+ writer = new OutputStreamWriter(new FileOutputStream(targetFile));
+
+ doXslTransform(binding, config, reader, writer);
+
+ return targetFile.getAbsolutePath();
+ }
+ finally
+ {
+ if (reader != null)
+ reader.close();
+ if (writer != null)
+ writer.close();
+ }
+ }
+
+ public URL getURLServiceBindingValue(ServiceBinding binding, URL input) throws Exception
+ {
+ if (input == null)
+ throw new IllegalArgumentException("input cannot be null");
+
+ XSLTServiceBindingValueSourceConfig config = getConfig(binding);
+
+ Reader reader = null;
+ Writer writer = null;
+ try
+ {
+ reader = Util.getInputStreamReader(input);
+
+ File targetFile = Util.createTempFile();
+ writer = new OutputStreamWriter(new FileOutputStream(targetFile));
+
+ doXslTransform(binding, config, reader, writer);
+
+ return targetFile.toURL();
+ }
+ finally
+ {
+ if (reader != null)
+ reader.close();
+ if (writer != null)
+ writer.close();
+ }
+ }
+
+ public Element getElementServiceBindingValue(ServiceBinding binding, Element input) throws Exception
+ {
+ if (input == null)
+ throw new IllegalArgumentException("input cannot be null");
+
+ PropertyEditor editor = PropertyEditorManager.findEditor(Element.class);
+ if (editor == null)
+ throw new IllegalStateException("Cannot find PropertyEditor for type Element");
+
+ editor.setValue(input);
+ Reader reader = new StringReader(editor.getAsText());
+ Writer writer = new StringWriter();
+
+ doXslTransform(binding, getConfig(binding), reader, writer);
+
+ editor.setAsText(writer.toString());
+ return (Element) editor.getValue();
+ }
+
+ public Object getServiceBindingValue(ServiceBinding binding, Object... params) throws Exception
+ {
+ if (params == null || params.length != 1)
+ {
+ throw new IllegalArgumentException(getClass().getSimpleName() + ".getServiceBindingValue() requires a single-value 'params'");
+ }
+
+ if (params[0] instanceof String)
+ {
+ return getResourceServiceBindingValue(binding, (String) params[0]);
+ }
+ else if (params[0] instanceof Element)
+ {
+ return getElementServiceBindingValue(binding, (Element) params[0]);
+ }
+ else if (params[0] instanceof URL)
+ {
+ return getURLServiceBindingValue(binding, (URL) params[0]);
+ }
+
+ throw new IllegalArgumentException(getClass().getSimpleName() + ".getServiceBindingValue() requires a single-value 'params' of type String, Element or URL");
+ }
+
+ private XSLTServiceBindingValueSourceConfig getConfig(ServiceBinding binding)
+ {
+ Object config = binding.getServiceBindingValueSourceConfig();
+ if (config instanceof XSLTServiceBindingValueSourceConfig)
+ {
+ return (XSLTServiceBindingValueSourceConfig) config;
+ }
+ else if (config == null)
+ {
+ throw new IllegalStateException("No config object bound to " + binding);
+ }
+ throw new IllegalStateException("Incompatible config object of type " +
+ config.getClass() + " bound to " + binding +
+ " -- must use " + XSLTServiceBindingValueSourceConfig.class.getName());
+ }
+
+ private void doXslTransform(ServiceBinding binding, XSLTServiceBindingValueSourceConfig config,
+ Reader reader, Writer writer) throws TransformerException
+ {
+ Source xmlSource = new StreamSource(reader);
+ Result xmlResult = new StreamResult(writer);
+ Source xslSource = new StreamSource(new StringReader(config.getXslt()));
+
+ TransformerFactory factory = TransformerFactory.newInstance();
+ Transformer transformer = factory.newTransformer(xslSource);
+
+ transformer.setParameter("port", new Integer(binding.getPort()));
+ String host = binding.getHostName();
+ if (host != null)
+ {
+ transformer.setParameter("host", host);
+ }
+
+ // Check for any arbitrary attributes
+ Map<String, String> attributes = config.getAdditionalAttributes();
+ for(Map.Entry<String, String> entry : attributes.entrySet())
+ {
+ String attrValue = StringPropertyReplacer.replaceProperties(entry.getValue());
+ transformer.setParameter(entry.getKey(), attrValue);
+ }
+
+ transformer.transform(xmlSource, xmlResult);
+ }
+
+}
Modified: trunk/varia/src/main/org/jboss/services/deployment/ContextHelper.java
===================================================================
--- trunk/varia/src/main/org/jboss/services/deployment/ContextHelper.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/services/deployment/ContextHelper.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.services.deployment;
import org.jboss.logging.Logger;
Modified: trunk/varia/src/main/org/jboss/services/deployment/DeploymentManager.java
===================================================================
--- trunk/varia/src/main/org/jboss/services/deployment/DeploymentManager.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/services/deployment/DeploymentManager.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.services.deployment;
import java.io.BufferedWriter;
Modified: trunk/varia/src/main/org/jboss/services/deployment/DeploymentService.java
===================================================================
--- trunk/varia/src/main/org/jboss/services/deployment/DeploymentService.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/services/deployment/DeploymentService.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.services.deployment;
import java.net.URL;
Modified: trunk/varia/src/main/org/jboss/services/deployment/DeploymentServiceMBean.java
===================================================================
--- trunk/varia/src/main/org/jboss/services/deployment/DeploymentServiceMBean.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/services/deployment/DeploymentServiceMBean.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.services.deployment;
import java.net.URL;
Modified: trunk/varia/src/main/org/jboss/services/deployment/LibraryManager.java
===================================================================
--- trunk/varia/src/main/org/jboss/services/deployment/LibraryManager.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/services/deployment/LibraryManager.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.services.deployment;
import java.io.File;
Modified: trunk/varia/src/main/org/jboss/services/deployment/MBeanData.java
===================================================================
--- trunk/varia/src/main/org/jboss/services/deployment/MBeanData.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/services/deployment/MBeanData.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.services.deployment;
import java.io.Serializable;
Modified: trunk/varia/src/main/org/jboss/services/deployment/metadata/ConfigInfo.java
===================================================================
--- trunk/varia/src/main/org/jboss/services/deployment/metadata/ConfigInfo.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/services/deployment/metadata/ConfigInfo.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.services.deployment.metadata;
import java.io.Serializable;
Modified: trunk/varia/src/main/org/jboss/services/deployment/metadata/ConfigInfoBinding.java
===================================================================
--- trunk/varia/src/main/org/jboss/services/deployment/metadata/ConfigInfoBinding.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/services/deployment/metadata/ConfigInfoBinding.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.services.deployment.metadata;
import java.beans.PropertyEditor;
Modified: trunk/varia/src/main/org/jboss/services/deployment/metadata/PropertyInfo.java
===================================================================
--- trunk/varia/src/main/org/jboss/services/deployment/metadata/PropertyInfo.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/services/deployment/metadata/PropertyInfo.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.services.deployment.metadata;
import java.io.Serializable;
Modified: trunk/varia/src/main/org/jboss/services/deployment/metadata/TemplateInfo.java
===================================================================
--- trunk/varia/src/main/org/jboss/services/deployment/metadata/TemplateInfo.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/services/deployment/metadata/TemplateInfo.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.services.deployment.metadata;
import java.io.Serializable;
Modified: trunk/varia/src/main/org/jboss/services/loggingmonitor/LoggingMonitor.java
===================================================================
--- trunk/varia/src/main/org/jboss/services/loggingmonitor/LoggingMonitor.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/services/loggingmonitor/LoggingMonitor.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.services.loggingmonitor;
import java.util.Timer;
Modified: trunk/varia/src/main/org/jboss/services/loggingmonitor/LoggingMonitorMBean.java
===================================================================
--- trunk/varia/src/main/org/jboss/services/loggingmonitor/LoggingMonitorMBean.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/services/loggingmonitor/LoggingMonitorMBean.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.services.loggingmonitor;
import javax.management.MalformedObjectNameException;
Modified: trunk/varia/src/main/org/jboss/services/loggingmonitor/LoggingMonitorTimerTask.java
===================================================================
--- trunk/varia/src/main/org/jboss/services/loggingmonitor/LoggingMonitorTimerTask.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/services/loggingmonitor/LoggingMonitorTimerTask.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.services.loggingmonitor;
import java.util.TimerTask;
Modified: trunk/varia/src/main/org/jboss/services/loggingmonitor/MonitoredMBean.java
===================================================================
--- trunk/varia/src/main/org/jboss/services/loggingmonitor/MonitoredMBean.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/services/loggingmonitor/MonitoredMBean.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.services.loggingmonitor;
import javax.management.JMException;
Modified: trunk/varia/src/main/org/jboss/services/loggingmonitor/RolloverPeriod.java
===================================================================
--- trunk/varia/src/main/org/jboss/services/loggingmonitor/RolloverPeriod.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/services/loggingmonitor/RolloverPeriod.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.services.loggingmonitor;
import java.util.HashMap;
Modified: trunk/varia/src/main/org/jboss/services/xml/JBossEntityResolverMgr.java
===================================================================
--- trunk/varia/src/main/org/jboss/services/xml/JBossEntityResolverMgr.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/services/xml/JBossEntityResolverMgr.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.services.xml;
import java.util.Map;
Modified: trunk/varia/src/main/org/jboss/services/xml/JBossEntityResolverMgrMBean.java
===================================================================
--- trunk/varia/src/main/org/jboss/services/xml/JBossEntityResolverMgrMBean.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/services/xml/JBossEntityResolverMgrMBean.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.services.xml;
import java.util.Properties;
Modified: trunk/varia/src/main/org/jboss/tools/ClassVersionInfo.java
===================================================================
--- trunk/varia/src/main/org/jboss/tools/ClassVersionInfo.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/tools/ClassVersionInfo.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.tools;
import java.io.ObjectStreamClass;
Modified: trunk/varia/src/main/org/jboss/tools/SerialVersionUID.java
===================================================================
--- trunk/varia/src/main/org/jboss/tools/SerialVersionUID.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/tools/SerialVersionUID.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.tools;
import java.io.File;
Modified: trunk/varia/src/main/org/jboss/tools/license/ValidateLicenseHeaders.java
===================================================================
--- trunk/varia/src/main/org/jboss/tools/license/ValidateLicenseHeaders.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/tools/license/ValidateLicenseHeaders.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.tools.license;
import java.io.File;
Modified: trunk/varia/src/main/org/jboss/varia/autonumber/AutoNumber.java
===================================================================
--- trunk/varia/src/main/org/jboss/varia/autonumber/AutoNumber.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/varia/autonumber/AutoNumber.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.varia.autonumber;
import javax.ejb.EJBObject;
Modified: trunk/varia/src/main/org/jboss/varia/autonumber/AutoNumberEJB.java
===================================================================
--- trunk/varia/src/main/org/jboss/varia/autonumber/AutoNumberEJB.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/varia/autonumber/AutoNumberEJB.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.varia.autonumber;
import javax.ejb.EntityBean;
Modified: trunk/varia/src/main/org/jboss/varia/autonumber/AutoNumberEJB2.java
===================================================================
--- trunk/varia/src/main/org/jboss/varia/autonumber/AutoNumberEJB2.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/varia/autonumber/AutoNumberEJB2.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.varia.autonumber;
import javax.ejb.EntityBean;
Modified: trunk/varia/src/main/org/jboss/varia/autonumber/AutoNumberFactory.java
===================================================================
--- trunk/varia/src/main/org/jboss/varia/autonumber/AutoNumberFactory.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/varia/autonumber/AutoNumberFactory.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.varia.autonumber;
import javax.naming.InitialContext;
Modified: trunk/varia/src/main/org/jboss/varia/autonumber/AutoNumberHome.java
===================================================================
--- trunk/varia/src/main/org/jboss/varia/autonumber/AutoNumberHome.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/varia/autonumber/AutoNumberHome.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.varia.autonumber;
import javax.ejb.EJBHome;
Modified: trunk/varia/src/main/org/jboss/varia/counter/CounterInterceptor.java
===================================================================
--- trunk/varia/src/main/org/jboss/varia/counter/CounterInterceptor.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/varia/counter/CounterInterceptor.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.varia.counter;
import java.util.Map;
Modified: trunk/varia/src/main/org/jboss/varia/counter/CounterService.java
===================================================================
--- trunk/varia/src/main/org/jboss/varia/counter/CounterService.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/varia/counter/CounterService.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.varia.counter;
import java.text.DecimalFormat;
Modified: trunk/varia/src/main/org/jboss/varia/counter/CounterServiceMBean.java
===================================================================
--- trunk/varia/src/main/org/jboss/varia/counter/CounterServiceMBean.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/varia/counter/CounterServiceMBean.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.varia.counter;
/**
Modified: trunk/varia/src/main/org/jboss/varia/deployment/BeanShellScript.java
===================================================================
--- trunk/varia/src/main/org/jboss/varia/deployment/BeanShellScript.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/varia/deployment/BeanShellScript.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.varia.deployment;
import java.io.InputStream;
Modified: trunk/varia/src/main/org/jboss/varia/deployment/BeanShellScriptClient.java
===================================================================
--- trunk/varia/src/main/org/jboss/varia/deployment/BeanShellScriptClient.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/varia/deployment/BeanShellScriptClient.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2006, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.varia.deployment;
import org.jboss.deployers.spi.DeploymentException;
Modified: trunk/varia/src/main/org/jboss/varia/deployment/BeanShellSubDeployer.java
===================================================================
--- trunk/varia/src/main/org/jboss/varia/deployment/BeanShellSubDeployer.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/varia/deployment/BeanShellSubDeployer.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.varia.deployment;
import java.io.File;
Modified: trunk/varia/src/main/org/jboss/varia/deployment/BeanShellSubDeployerMBean.java
===================================================================
--- trunk/varia/src/main/org/jboss/varia/deployment/BeanShellSubDeployerMBean.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/varia/deployment/BeanShellSubDeployerMBean.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.varia.deployment;
import java.net.URL;
Modified: trunk/varia/src/main/org/jboss/varia/deployment/FoeDeployer.java
===================================================================
--- trunk/varia/src/main/org/jboss/varia/deployment/FoeDeployer.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/varia/deployment/FoeDeployer.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.varia.deployment;
import java.io.File;
Modified: trunk/varia/src/main/org/jboss/varia/deployment/FoeDeployerMBean.java
===================================================================
--- trunk/varia/src/main/org/jboss/varia/deployment/FoeDeployerMBean.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/varia/deployment/FoeDeployerMBean.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.varia.deployment;
/**
Modified: trunk/varia/src/main/org/jboss/varia/deployment/LegacyBeanShellDeployer.java
===================================================================
--- trunk/varia/src/main/org/jboss/varia/deployment/LegacyBeanShellDeployer.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/varia/deployment/LegacyBeanShellDeployer.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2006, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.varia.deployment;
import org.jboss.deployers.vfs.spi.deployer.AbstractVFSParsingDeployer;
Modified: trunk/varia/src/main/org/jboss/varia/deployment/LegacyBeanShellScriptClient.java
===================================================================
--- trunk/varia/src/main/org/jboss/varia/deployment/LegacyBeanShellScriptClient.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/varia/deployment/LegacyBeanShellScriptClient.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2006, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.varia.deployment;
import java.io.InputStream;
Modified: trunk/varia/src/main/org/jboss/varia/deployment/LegacyBeanShellScriptDeployer.java
===================================================================
--- trunk/varia/src/main/org/jboss/varia/deployment/LegacyBeanShellScriptDeployer.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/varia/deployment/LegacyBeanShellScriptDeployer.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2006, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.varia.deployment;
import java.util.Arrays;
Modified: trunk/varia/src/main/org/jboss/varia/deployment/ScriptService.java
===================================================================
--- trunk/varia/src/main/org/jboss/varia/deployment/ScriptService.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/varia/deployment/ScriptService.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.varia.deployment;
import org.jboss.system.ServiceMBeanSupport;
Modified: trunk/varia/src/main/org/jboss/varia/deployment/TestInterface.java
===================================================================
--- trunk/varia/src/main/org/jboss/varia/deployment/TestInterface.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/varia/deployment/TestInterface.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.varia.deployment;
/**
Modified: trunk/varia/src/main/org/jboss/varia/deployment/convertor/Convertor.java
===================================================================
--- trunk/varia/src/main/org/jboss/varia/deployment/convertor/Convertor.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/varia/deployment/convertor/Convertor.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.varia.deployment.convertor;
import java.io.File;
Modified: trunk/varia/src/main/org/jboss/varia/deployment/convertor/JarTransformer.java
===================================================================
--- trunk/varia/src/main/org/jboss/varia/deployment/convertor/JarTransformer.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/varia/deployment/convertor/JarTransformer.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.varia.deployment.convertor;
import java.io.ByteArrayInputStream;
Modified: trunk/varia/src/main/org/jboss/varia/deployment/convertor/WebLogicConvertor.java
===================================================================
--- trunk/varia/src/main/org/jboss/varia/deployment/convertor/WebLogicConvertor.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/varia/deployment/convertor/WebLogicConvertor.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.varia.deployment.convertor;
import java.io.File;
Modified: trunk/varia/src/main/org/jboss/varia/deployment/convertor/WebLogicConvertorMBean.java
===================================================================
--- trunk/varia/src/main/org/jboss/varia/deployment/convertor/WebLogicConvertorMBean.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/varia/deployment/convertor/WebLogicConvertorMBean.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.varia.deployment.convertor;
/**
Modified: trunk/varia/src/main/org/jboss/varia/deployment/convertor/XslTransformer.java
===================================================================
--- trunk/varia/src/main/org/jboss/varia/deployment/convertor/XslTransformer.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/varia/deployment/convertor/XslTransformer.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.varia.deployment.convertor;
import java.net.URL;
Modified: trunk/varia/src/main/org/jboss/varia/process/ChildProcessService.java
===================================================================
--- trunk/varia/src/main/org/jboss/varia/process/ChildProcessService.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/varia/process/ChildProcessService.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.varia.process;
import java.util.Properties;
Modified: trunk/varia/src/main/org/jboss/varia/process/ChildProcessServiceMBean.java
===================================================================
--- trunk/varia/src/main/org/jboss/varia/process/ChildProcessServiceMBean.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/varia/process/ChildProcessServiceMBean.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.varia.process;
/**
Modified: trunk/varia/src/main/org/jboss/varia/property/PropertyEditorManagerService.java
===================================================================
--- trunk/varia/src/main/org/jboss/varia/property/PropertyEditorManagerService.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/varia/property/PropertyEditorManagerService.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,8 +1,8 @@
/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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
Modified: trunk/varia/src/main/org/jboss/varia/property/PropertyEditorManagerServiceMBean.java
===================================================================
--- trunk/varia/src/main/org/jboss/varia/property/PropertyEditorManagerServiceMBean.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/varia/property/PropertyEditorManagerServiceMBean.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,8 +1,8 @@
/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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
Modified: trunk/varia/src/main/org/jboss/varia/property/SystemPropertiesService.java
===================================================================
--- trunk/varia/src/main/org/jboss/varia/property/SystemPropertiesService.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/varia/property/SystemPropertiesService.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.varia.property;
import java.io.IOException;
Modified: trunk/varia/src/main/org/jboss/varia/property/SystemPropertiesServiceMBean.java
===================================================================
--- trunk/varia/src/main/org/jboss/varia/property/SystemPropertiesServiceMBean.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/varia/property/SystemPropertiesServiceMBean.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.varia.property;
/**
Modified: trunk/varia/src/main/org/jboss/varia/scheduler/AbstractScheduleProvider.java
===================================================================
--- trunk/varia/src/main/org/jboss/varia/scheduler/AbstractScheduleProvider.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/varia/scheduler/AbstractScheduleProvider.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,8 +1,8 @@
/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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
Modified: trunk/varia/src/main/org/jboss/varia/scheduler/AbstractScheduleProviderMBean.java
===================================================================
--- trunk/varia/src/main/org/jboss/varia/scheduler/AbstractScheduleProviderMBean.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/varia/scheduler/AbstractScheduleProviderMBean.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,8 +1,8 @@
/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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
Modified: trunk/varia/src/main/org/jboss/varia/scheduler/DBScheduleProvider.java
===================================================================
--- trunk/varia/src/main/org/jboss/varia/scheduler/DBScheduleProvider.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/varia/scheduler/DBScheduleProvider.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.varia.scheduler;
import java.security.InvalidParameterException;
Modified: trunk/varia/src/main/org/jboss/varia/scheduler/DBScheduleProviderMBean.java
===================================================================
--- trunk/varia/src/main/org/jboss/varia/scheduler/DBScheduleProviderMBean.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/varia/scheduler/DBScheduleProviderMBean.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.varia.scheduler;
/**
Modified: trunk/varia/src/main/org/jboss/varia/scheduler/Schedulable.java
===================================================================
--- trunk/varia/src/main/org/jboss/varia/scheduler/Schedulable.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/varia/scheduler/Schedulable.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.varia.scheduler;
import java.util.Date;
Modified: trunk/varia/src/main/org/jboss/varia/scheduler/ScheduleManager.java
===================================================================
--- trunk/varia/src/main/org/jboss/varia/scheduler/ScheduleManager.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/varia/scheduler/ScheduleManager.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,8 +1,8 @@
/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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
Modified: trunk/varia/src/main/org/jboss/varia/scheduler/ScheduleManagerMBean.java
===================================================================
--- trunk/varia/src/main/org/jboss/varia/scheduler/ScheduleManagerMBean.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/varia/scheduler/ScheduleManagerMBean.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,8 +1,8 @@
/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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
Modified: trunk/varia/src/main/org/jboss/varia/scheduler/Scheduler.java
===================================================================
--- trunk/varia/src/main/org/jboss/varia/scheduler/Scheduler.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/varia/scheduler/Scheduler.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,8 +1,8 @@
/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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
Modified: trunk/varia/src/main/org/jboss/varia/scheduler/SchedulerMBean.java
===================================================================
--- trunk/varia/src/main/org/jboss/varia/scheduler/SchedulerMBean.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/varia/scheduler/SchedulerMBean.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,8 +1,8 @@
/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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
Modified: trunk/varia/src/main/org/jboss/varia/scheduler/SingleScheduleProvider.java
===================================================================
--- trunk/varia/src/main/org/jboss/varia/scheduler/SingleScheduleProvider.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/varia/scheduler/SingleScheduleProvider.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,8 +1,8 @@
/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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
Modified: trunk/varia/src/main/org/jboss/varia/scheduler/SingleScheduleProviderMBean.java
===================================================================
--- trunk/varia/src/main/org/jboss/varia/scheduler/SingleScheduleProviderMBean.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/varia/scheduler/SingleScheduleProviderMBean.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,8 +1,8 @@
/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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
Modified: trunk/varia/src/main/org/jboss/varia/scheduler/TCLActions.java
===================================================================
--- trunk/varia/src/main/org/jboss/varia/scheduler/TCLActions.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/varia/scheduler/TCLActions.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.varia.scheduler;
import java.security.PrivilegedAction;
Modified: trunk/varia/src/main/org/jboss/varia/scheduler/XMLScheduleProvider.java
===================================================================
--- trunk/varia/src/main/org/jboss/varia/scheduler/XMLScheduleProvider.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/varia/scheduler/XMLScheduleProvider.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.varia.scheduler;
import java.security.InvalidParameterException;
Modified: trunk/varia/src/main/org/jboss/varia/scheduler/XMLScheduleProviderMBean.java
===================================================================
--- trunk/varia/src/main/org/jboss/varia/scheduler/XMLScheduleProviderMBean.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/varia/scheduler/XMLScheduleProviderMBean.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.varia.scheduler;
/**
Modified: trunk/varia/src/main/org/jboss/varia/scheduler/example/SchedulableExample.java
===================================================================
--- trunk/varia/src/main/org/jboss/varia/scheduler/example/SchedulableExample.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/varia/scheduler/example/SchedulableExample.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.varia.scheduler.example;
import java.util.Date;
Modified: trunk/varia/src/main/org/jboss/varia/scheduler/example/SchedulableMBeanExample.java
===================================================================
--- trunk/varia/src/main/org/jboss/varia/scheduler/example/SchedulableMBeanExample.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/varia/scheduler/example/SchedulableMBeanExample.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.varia.scheduler.example;
import java.security.InvalidParameterException;
Modified: trunk/varia/src/main/org/jboss/varia/scheduler/example/SchedulableMBeanExampleMBean.java
===================================================================
--- trunk/varia/src/main/org/jboss/varia/scheduler/example/SchedulableMBeanExampleMBean.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/varia/scheduler/example/SchedulableMBeanExampleMBean.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.varia.scheduler.example;
/**
Modified: trunk/varia/src/main/org/jboss/varia/stats/AbstractStatisticalItem.java
===================================================================
--- trunk/varia/src/main/org/jboss/varia/stats/AbstractStatisticalItem.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/varia/stats/AbstractStatisticalItem.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.varia.stats;
Modified: trunk/varia/src/main/org/jboss/varia/stats/CacheListener.java
===================================================================
--- trunk/varia/src/main/org/jboss/varia/stats/CacheListener.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/varia/stats/CacheListener.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.varia.stats;
import org.jboss.ejb.plugins.cmp.jdbc2.schema.Cache;
Modified: trunk/varia/src/main/org/jboss/varia/stats/CacheListenerMBean.java
===================================================================
--- trunk/varia/src/main/org/jboss/varia/stats/CacheListenerMBean.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/varia/stats/CacheListenerMBean.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.varia.stats;
/**
Modified: trunk/varia/src/main/org/jboss/varia/stats/DataSourceInterceptor.java
===================================================================
--- trunk/varia/src/main/org/jboss/varia/stats/DataSourceInterceptor.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/varia/stats/DataSourceInterceptor.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.varia.stats;
import org.jboss.system.ServiceMBeanSupport;
Modified: trunk/varia/src/main/org/jboss/varia/stats/DataSourceInterceptorJDK5.java
===================================================================
--- trunk/varia/src/main/org/jboss/varia/stats/DataSourceInterceptorJDK5.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/varia/stats/DataSourceInterceptorJDK5.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,733 +1,733 @@
-/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.varia.stats;
-
-import java.sql.SQLException;
-import java.sql.Connection;
-import java.sql.DatabaseMetaData;
-import java.sql.SQLWarning;
-import java.sql.Statement;
-import java.sql.CallableStatement;
-import java.sql.PreparedStatement;
-import java.sql.ResultSet;
-import java.sql.Array;
-import java.sql.Blob;
-import java.sql.Clob;
-import java.sql.Date;
-import java.sql.Ref;
-import java.sql.ResultSetMetaData;
-import java.sql.Time;
-import java.sql.Timestamp;
-
-import java.sql.Savepoint;
-import java.sql.ParameterMetaData;
-
-import java.io.PrintWriter;
-import java.io.InputStream;
-import java.io.Reader;
-import java.util.Map;
-import java.util.Calendar;
-import java.math.BigDecimal;
-import java.net.URL;
-
-/**
- * @author <a href="mailto:alex at jboss.org">Alexey Loubyansky</a>
- * @version <tt>$Revision: 37459 $</tt>
- * @@jmx:mbean name="jboss.stats:name=DataSourceInterceptor"
- * extends="org.jboss.system.ServiceMBean"
- */
-public class DataSourceInterceptorJDK5 extends DataSourceInterceptor
-{
-
- public Connection getConnection() throws SQLException
- {
- return new ConnectionInterceptor(target.getConnection());
- }
-
- public Connection getConnection(String username, String password) throws SQLException
- {
- return new ConnectionInterceptor(target.getConnection());
- }
-
- // Inner
-
- public class ConnectionInterceptor
- implements Connection
- {
- private final Connection target;
-
- public ConnectionInterceptor(Connection target)
- {
- this.target = target;
- }
-
-
- public int getHoldability() throws SQLException
- {
- return target.getHoldability();
- }
-
-
- public int getTransactionIsolation() throws SQLException
- {
- return target.getTransactionIsolation();
- }
-
- public void clearWarnings() throws SQLException
- {
- target.clearWarnings();
- }
-
- public void close() throws SQLException
- {
- target.close();
- }
-
- public void commit() throws SQLException
- {
- target.commit();
- }
-
- public void rollback() throws SQLException
- {
- target.rollback();
- }
-
- public boolean getAutoCommit() throws SQLException
- {
- return target.getAutoCommit();
- }
-
- public boolean isClosed() throws SQLException
- {
- return target.isClosed();
- }
-
- public boolean isReadOnly() throws SQLException
- {
- return target.isReadOnly();
- }
-
-
- public void setHoldability(int holdability) throws SQLException
- {
- target.setHoldability(holdability);
- }
-
-
- public void setTransactionIsolation(int level) throws SQLException
- {
- target.setTransactionIsolation(level);
- }
-
- public void setAutoCommit(boolean autoCommit) throws SQLException
- {
- target.setAutoCommit(autoCommit);
- }
-
- public void setReadOnly(boolean readOnly) throws SQLException
- {
- target.setReadOnly(readOnly);
- }
-
- public String getCatalog() throws SQLException
- {
- return target.getCatalog();
- }
-
- public void setCatalog(String catalog) throws SQLException
- {
- target.setCatalog(catalog);
- }
-
- public DatabaseMetaData getMetaData() throws SQLException
- {
- return target.getMetaData();
- }
-
- public SQLWarning getWarnings() throws SQLException
- {
- return target.getWarnings();
- }
-
-
- public Savepoint setSavepoint() throws SQLException
- {
- return target.setSavepoint();
- }
-
-
-
- public void releaseSavepoint(Savepoint savepoint) throws SQLException
- {
- target.releaseSavepoint(savepoint);
- }
-
-
-
- public void rollback(Savepoint savepoint) throws SQLException
- {
- target.rollback(savepoint);
- }
-
-
- public Statement createStatement() throws SQLException
- {
- return new StatementInterceptor(this, target.createStatement());
- }
-
- public Statement createStatement(int resultSetType, int resultSetConcurrency) throws SQLException
- {
- return new StatementInterceptor(this, target.createStatement(resultSetType, resultSetConcurrency));
- }
-
-
- public Statement createStatement(int resultSetType, int resultSetConcurrency, int resultSetHoldability)
- throws SQLException
- {
- return new StatementInterceptor(this,
- target.createStatement(resultSetType, resultSetConcurrency, resultSetHoldability));
- }
-
-
- public Map getTypeMap() throws SQLException
- {
- return target.getTypeMap();
- }
-
- public void setTypeMap(Map map) throws SQLException
- {
- target.setTypeMap(map);
- }
-
- public String nativeSQL(String sql) throws SQLException
- {
- return target.nativeSQL(sql);
- }
-
- public CallableStatement prepareCall(String sql) throws SQLException
- {
- return target.prepareCall(sql);
- }
-
- public CallableStatement prepareCall(String sql, int resultSetType, int resultSetConcurrency)
- throws SQLException
- {
- return target.prepareCall(sql, resultSetType, resultSetConcurrency);
- }
-
-
- public CallableStatement prepareCall(String sql,
- int resultSetType,
- int resultSetConcurrency,
- int resultSetHoldability) throws SQLException
- {
- return target.prepareCall(sql, resultSetType, resultSetConcurrency, resultSetHoldability);
- }
-
-
- public PreparedStatement prepareStatement(String sql) throws SQLException
- {
- logSql(sql);
- return new PreparedStatementInterceptor(this, target.prepareStatement(sql));
- }
-
-
- public PreparedStatement prepareStatement(String sql, int autoGeneratedKeys) throws SQLException
- {
- logSql(sql);
- return new PreparedStatementInterceptor(this, target.prepareStatement(sql, autoGeneratedKeys));
- }
-
-
- public PreparedStatement prepareStatement(String sql, int resultSetType, int resultSetConcurrency)
- throws SQLException
- {
- logSql(sql);
- return new PreparedStatementInterceptor(this,
- target.prepareStatement(sql, resultSetType, resultSetConcurrency));
- }
-
-
- public PreparedStatement prepareStatement(String sql,
- int resultSetType,
- int resultSetConcurrency,
- int resultSetHoldability) throws SQLException
- {
- logSql(sql);
- return new PreparedStatementInterceptor(this,
- target.prepareStatement(sql, resultSetType, resultSetConcurrency, resultSetHoldability));
- }
-
-
-
- public PreparedStatement prepareStatement(String sql, int columnIndexes[]) throws SQLException
- {
- logSql(sql);
- return new PreparedStatementInterceptor(this, target.prepareStatement(sql, columnIndexes));
- }
-
-
-
- public Savepoint setSavepoint(String name) throws SQLException
- {
- return target.setSavepoint(name);
- }
-
-
-
- public PreparedStatement prepareStatement(String sql, String columnNames[]) throws SQLException
- {
- logSql(sql);
- return new PreparedStatementInterceptor(this, target.prepareStatement(sql, columnNames));
- }
-
- }
-
- public class StatementInterceptor
- implements Statement
- {
- private final Connection con;
- private final Statement target;
-
- public StatementInterceptor(Connection con, Statement target)
- {
- this.con = con;
- this.target = target;
- }
-
- public int getFetchDirection() throws SQLException
- {
- return target.getFetchDirection();
- }
-
- public int getFetchSize() throws SQLException
- {
- return target.getFetchSize();
- }
-
- public int getMaxFieldSize() throws SQLException
- {
- return target.getMaxFieldSize();
- }
-
- public int getMaxRows() throws SQLException
- {
- return target.getMaxRows();
- }
-
- public int getQueryTimeout() throws SQLException
- {
- return target.getQueryTimeout();
- }
-
- public int getResultSetConcurrency() throws SQLException
- {
- return target.getResultSetConcurrency();
- }
-
-
- public int getResultSetHoldability() throws SQLException
- {
- return target.getResultSetHoldability();
- }
-
-
- public int getResultSetType() throws SQLException
- {
- return target.getResultSetType();
- }
-
- public int getUpdateCount() throws SQLException
- {
- return target.getUpdateCount();
- }
-
- public void cancel() throws SQLException
- {
- target.cancel();
- }
-
- public void clearBatch() throws SQLException
- {
- target.clearBatch();
- }
-
- public void clearWarnings() throws SQLException
- {
- target.clearWarnings();
- }
-
- public void close() throws SQLException
- {
- target.close();
- }
-
- public boolean getMoreResults() throws SQLException
- {
- return target.getMoreResults();
- }
-
- public int[] executeBatch() throws SQLException
- {
- return target.executeBatch();
- }
-
- public void setFetchDirection(int direction) throws SQLException
- {
- target.setFetchDirection(direction);
- }
-
- public void setFetchSize(int rows) throws SQLException
- {
- target.setFetchSize(rows);
- }
-
- public void setMaxFieldSize(int max) throws SQLException
- {
- target.setMaxFieldSize(max);
- }
-
- public void setMaxRows(int max) throws SQLException
- {
- target.setMaxRows(max);
- }
-
- public void setQueryTimeout(int seconds) throws SQLException
- {
- target.setQueryTimeout(seconds);
- }
-
-
- public boolean getMoreResults(int current) throws SQLException
- {
- return target.getMoreResults(current);
- }
-
-
- public void setEscapeProcessing(boolean enable) throws SQLException
- {
- target.setEscapeProcessing(enable);
- }
-
- public int executeUpdate(String sql) throws SQLException
- {
- logSql(sql);
- return target.executeUpdate(sql);
- }
-
- public void addBatch(String sql) throws SQLException
- {
- logSql(sql);
- target.addBatch(sql);
- }
-
- public void setCursorName(String name) throws SQLException
- {
- target.setCursorName(name);
- }
-
- public boolean execute(String sql) throws SQLException
- {
- logSql(sql);
- return target.execute(sql);
- }
-
-
- public int executeUpdate(String sql, int autoGeneratedKeys) throws SQLException
- {
- logSql(sql);
- return target.executeUpdate(sql, autoGeneratedKeys);
- }
-
-
-
- public boolean execute(String sql, int autoGeneratedKeys) throws SQLException
- {
- logSql(sql);
- return target.execute(sql, autoGeneratedKeys);
- }
-
-
-
- public int executeUpdate(String sql, int columnIndexes[]) throws SQLException
- {
- logSql(sql);
- return target.executeUpdate(sql, columnIndexes);
- }
-
-
-
- public boolean execute(String sql, int columnIndexes[]) throws SQLException
- {
- logSql(sql);
- return target.execute(sql, columnIndexes);
- }
-
-
- public Connection getConnection() throws SQLException
- {
- return con;
- }
-
-
- public ResultSet getGeneratedKeys() throws SQLException
- {
- return target.getGeneratedKeys();
- }
-
-
- public ResultSet getResultSet() throws SQLException
- {
- return target.getResultSet();
- }
-
- public SQLWarning getWarnings() throws SQLException
- {
- return target.getWarnings();
- }
-
-
- public int executeUpdate(String sql, String columnNames[]) throws SQLException
- {
- logSql(sql);
- return target.executeUpdate(sql, columnNames);
- }
-
-
-
- public boolean execute(String sql, String columnNames[]) throws SQLException
- {
- logSql(sql);
- return target.execute(sql, columnNames);
- }
-
-
- public ResultSet executeQuery(String sql) throws SQLException
- {
- logSql(sql);
- return target.executeQuery(sql);
- }
- }
-
- public class PreparedStatementInterceptor
- extends StatementInterceptor
- implements PreparedStatement
- {
- private final PreparedStatement target;
-
- public PreparedStatementInterceptor(Connection con, PreparedStatement target)
- {
- super(con, target);
- this.target = target;
- }
-
- public int executeUpdate() throws SQLException
- {
- return target.executeUpdate();
- }
-
- public void addBatch() throws SQLException
- {
- target.addBatch();
- }
-
- public void clearParameters() throws SQLException
- {
- target.clearParameters();
- }
-
- public boolean execute() throws SQLException
- {
- return target.execute();
- }
-
- public void setByte(int parameterIndex, byte x) throws SQLException
- {
- target.setByte(parameterIndex, x);
- }
-
- public void setDouble(int parameterIndex, double x) throws SQLException
- {
- target.setDouble(parameterIndex, x);
- }
-
- public void setFloat(int parameterIndex, float x) throws SQLException
- {
- target.setFloat(parameterIndex, x);
- }
-
- public void setInt(int parameterIndex, int x) throws SQLException
- {
- target.setInt(parameterIndex, x);
- }
-
- public void setNull(int parameterIndex, int sqlType) throws SQLException
- {
- target.setNull(parameterIndex, sqlType);
- }
-
- public void setLong(int parameterIndex, long x) throws SQLException
- {
- target.setLong(parameterIndex, x);
- }
-
- public void setShort(int parameterIndex, short x) throws SQLException
- {
- target.setShort(parameterIndex, x);
- }
-
- public void setBoolean(int parameterIndex, boolean x) throws SQLException
- {
- target.setBoolean(parameterIndex, x);
- }
-
- public void setBytes(int parameterIndex, byte x[]) throws SQLException
- {
- target.setBytes(parameterIndex, x);
- }
-
- public void setAsciiStream(int parameterIndex, InputStream x, int length) throws SQLException
- {
- target.setAsciiStream(parameterIndex, x, length);
- }
-
- public void setBinaryStream(int parameterIndex, InputStream x, int length) throws SQLException
- {
- target.setBinaryStream(parameterIndex, x, length);
- }
-
- public void setUnicodeStream(int parameterIndex, InputStream x, int length) throws SQLException
- {
- target.setUnicodeStream(parameterIndex, x, length);
- }
-
- public void setCharacterStream(int parameterIndex, Reader reader, int length) throws SQLException
- {
- target.setCharacterStream(parameterIndex, reader, length);
- }
-
- public void setObject(int parameterIndex, Object x) throws SQLException
- {
- target.setObject(parameterIndex, x);
- }
-
- public void setObject(int parameterIndex, Object x, int targetSqlType) throws SQLException
- {
- target.setObject(parameterIndex, x, targetSqlType);
- }
-
- public void setObject(int parameterIndex, Object x, int targetSqlType, int scale) throws SQLException
- {
- target.setObject(parameterIndex, x, targetSqlType, scale);
- }
-
- public void setNull(int paramIndex, int sqlType, String typeName) throws SQLException
- {
- target.setNull(paramIndex, sqlType, typeName);
- }
-
- public void setString(int parameterIndex, String x) throws SQLException
- {
- target.setString(parameterIndex, x);
- }
-
- public void setBigDecimal(int parameterIndex, BigDecimal x) throws SQLException
- {
- target.setBigDecimal(parameterIndex, x);
- }
-
-
- public void setURL(int parameterIndex, URL x) throws SQLException
- {
- target.setURL(parameterIndex, x);
- }
-
-
- public void setArray(int i, Array x) throws SQLException
- {
- target.setArray(i, x);
- }
-
- public void setBlob(int i, Blob x) throws SQLException
- {
- target.setBlob(i, x);
- }
-
- public void setClob(int i, Clob x) throws SQLException
- {
- target.setClob(i, x);
- }
-
- public void setDate(int parameterIndex, Date x) throws SQLException
- {
- target.setDate(parameterIndex, x);
- }
-
-
- public ParameterMetaData getParameterMetaData() throws SQLException
- {
- return target.getParameterMetaData();
- }
-
-
- public void setRef(int i, Ref x) throws SQLException
- {
- target.setRef(i, x);
- }
-
- public ResultSet executeQuery() throws SQLException
- {
- return target.executeQuery();
- }
-
- public ResultSetMetaData getMetaData() throws SQLException
- {
- return target.getMetaData();
- }
-
- public void setTime(int parameterIndex, Time x) throws SQLException
- {
- target.setTime(parameterIndex, x);
- }
-
- public void setTimestamp(int parameterIndex, Timestamp x) throws SQLException
- {
- target.setTimestamp(parameterIndex, x);
- }
-
- public void setDate(int parameterIndex, Date x, Calendar cal) throws SQLException
- {
- target.setDate(parameterIndex, x, cal);
- }
-
- public void setTime(int parameterIndex, Time x, Calendar cal) throws SQLException
- {
- target.setTime(parameterIndex, x, cal);
- }
-
- public void setTimestamp(int parameterIndex, Timestamp x, Calendar cal) throws SQLException
- {
- target.setTimestamp(parameterIndex, x, cal);
- }
- }
-}
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.varia.stats;
+
+import java.sql.SQLException;
+import java.sql.Connection;
+import java.sql.DatabaseMetaData;
+import java.sql.SQLWarning;
+import java.sql.Statement;
+import java.sql.CallableStatement;
+import java.sql.PreparedStatement;
+import java.sql.ResultSet;
+import java.sql.Array;
+import java.sql.Blob;
+import java.sql.Clob;
+import java.sql.Date;
+import java.sql.Ref;
+import java.sql.ResultSetMetaData;
+import java.sql.Time;
+import java.sql.Timestamp;
+
+import java.sql.Savepoint;
+import java.sql.ParameterMetaData;
+
+import java.io.PrintWriter;
+import java.io.InputStream;
+import java.io.Reader;
+import java.util.Map;
+import java.util.Calendar;
+import java.math.BigDecimal;
+import java.net.URL;
+
+/**
+ * @author <a href="mailto:alex at jboss.org">Alexey Loubyansky</a>
+ * @version <tt>$Revision: 37459 $</tt>
+ * @@jmx:mbean name="jboss.stats:name=DataSourceInterceptor"
+ * extends="org.jboss.system.ServiceMBean"
+ */
+public class DataSourceInterceptorJDK5 extends DataSourceInterceptor
+{
+
+ public Connection getConnection() throws SQLException
+ {
+ return new ConnectionInterceptor(target.getConnection());
+ }
+
+ public Connection getConnection(String username, String password) throws SQLException
+ {
+ return new ConnectionInterceptor(target.getConnection());
+ }
+
+ // Inner
+
+ public class ConnectionInterceptor
+ implements Connection
+ {
+ private final Connection target;
+
+ public ConnectionInterceptor(Connection target)
+ {
+ this.target = target;
+ }
+
+
+ public int getHoldability() throws SQLException
+ {
+ return target.getHoldability();
+ }
+
+
+ public int getTransactionIsolation() throws SQLException
+ {
+ return target.getTransactionIsolation();
+ }
+
+ public void clearWarnings() throws SQLException
+ {
+ target.clearWarnings();
+ }
+
+ public void close() throws SQLException
+ {
+ target.close();
+ }
+
+ public void commit() throws SQLException
+ {
+ target.commit();
+ }
+
+ public void rollback() throws SQLException
+ {
+ target.rollback();
+ }
+
+ public boolean getAutoCommit() throws SQLException
+ {
+ return target.getAutoCommit();
+ }
+
+ public boolean isClosed() throws SQLException
+ {
+ return target.isClosed();
+ }
+
+ public boolean isReadOnly() throws SQLException
+ {
+ return target.isReadOnly();
+ }
+
+
+ public void setHoldability(int holdability) throws SQLException
+ {
+ target.setHoldability(holdability);
+ }
+
+
+ public void setTransactionIsolation(int level) throws SQLException
+ {
+ target.setTransactionIsolation(level);
+ }
+
+ public void setAutoCommit(boolean autoCommit) throws SQLException
+ {
+ target.setAutoCommit(autoCommit);
+ }
+
+ public void setReadOnly(boolean readOnly) throws SQLException
+ {
+ target.setReadOnly(readOnly);
+ }
+
+ public String getCatalog() throws SQLException
+ {
+ return target.getCatalog();
+ }
+
+ public void setCatalog(String catalog) throws SQLException
+ {
+ target.setCatalog(catalog);
+ }
+
+ public DatabaseMetaData getMetaData() throws SQLException
+ {
+ return target.getMetaData();
+ }
+
+ public SQLWarning getWarnings() throws SQLException
+ {
+ return target.getWarnings();
+ }
+
+
+ public Savepoint setSavepoint() throws SQLException
+ {
+ return target.setSavepoint();
+ }
+
+
+
+ public void releaseSavepoint(Savepoint savepoint) throws SQLException
+ {
+ target.releaseSavepoint(savepoint);
+ }
+
+
+
+ public void rollback(Savepoint savepoint) throws SQLException
+ {
+ target.rollback(savepoint);
+ }
+
+
+ public Statement createStatement() throws SQLException
+ {
+ return new StatementInterceptor(this, target.createStatement());
+ }
+
+ public Statement createStatement(int resultSetType, int resultSetConcurrency) throws SQLException
+ {
+ return new StatementInterceptor(this, target.createStatement(resultSetType, resultSetConcurrency));
+ }
+
+
+ public Statement createStatement(int resultSetType, int resultSetConcurrency, int resultSetHoldability)
+ throws SQLException
+ {
+ return new StatementInterceptor(this,
+ target.createStatement(resultSetType, resultSetConcurrency, resultSetHoldability));
+ }
+
+
+ public Map getTypeMap() throws SQLException
+ {
+ return target.getTypeMap();
+ }
+
+ public void setTypeMap(Map map) throws SQLException
+ {
+ target.setTypeMap(map);
+ }
+
+ public String nativeSQL(String sql) throws SQLException
+ {
+ return target.nativeSQL(sql);
+ }
+
+ public CallableStatement prepareCall(String sql) throws SQLException
+ {
+ return target.prepareCall(sql);
+ }
+
+ public CallableStatement prepareCall(String sql, int resultSetType, int resultSetConcurrency)
+ throws SQLException
+ {
+ return target.prepareCall(sql, resultSetType, resultSetConcurrency);
+ }
+
+
+ public CallableStatement prepareCall(String sql,
+ int resultSetType,
+ int resultSetConcurrency,
+ int resultSetHoldability) throws SQLException
+ {
+ return target.prepareCall(sql, resultSetType, resultSetConcurrency, resultSetHoldability);
+ }
+
+
+ public PreparedStatement prepareStatement(String sql) throws SQLException
+ {
+ logSql(sql);
+ return new PreparedStatementInterceptor(this, target.prepareStatement(sql));
+ }
+
+
+ public PreparedStatement prepareStatement(String sql, int autoGeneratedKeys) throws SQLException
+ {
+ logSql(sql);
+ return new PreparedStatementInterceptor(this, target.prepareStatement(sql, autoGeneratedKeys));
+ }
+
+
+ public PreparedStatement prepareStatement(String sql, int resultSetType, int resultSetConcurrency)
+ throws SQLException
+ {
+ logSql(sql);
+ return new PreparedStatementInterceptor(this,
+ target.prepareStatement(sql, resultSetType, resultSetConcurrency));
+ }
+
+
+ public PreparedStatement prepareStatement(String sql,
+ int resultSetType,
+ int resultSetConcurrency,
+ int resultSetHoldability) throws SQLException
+ {
+ logSql(sql);
+ return new PreparedStatementInterceptor(this,
+ target.prepareStatement(sql, resultSetType, resultSetConcurrency, resultSetHoldability));
+ }
+
+
+
+ public PreparedStatement prepareStatement(String sql, int columnIndexes[]) throws SQLException
+ {
+ logSql(sql);
+ return new PreparedStatementInterceptor(this, target.prepareStatement(sql, columnIndexes));
+ }
+
+
+
+ public Savepoint setSavepoint(String name) throws SQLException
+ {
+ return target.setSavepoint(name);
+ }
+
+
+
+ public PreparedStatement prepareStatement(String sql, String columnNames[]) throws SQLException
+ {
+ logSql(sql);
+ return new PreparedStatementInterceptor(this, target.prepareStatement(sql, columnNames));
+ }
+
+ }
+
+ public class StatementInterceptor
+ implements Statement
+ {
+ private final Connection con;
+ private final Statement target;
+
+ public StatementInterceptor(Connection con, Statement target)
+ {
+ this.con = con;
+ this.target = target;
+ }
+
+ public int getFetchDirection() throws SQLException
+ {
+ return target.getFetchDirection();
+ }
+
+ public int getFetchSize() throws SQLException
+ {
+ return target.getFetchSize();
+ }
+
+ public int getMaxFieldSize() throws SQLException
+ {
+ return target.getMaxFieldSize();
+ }
+
+ public int getMaxRows() throws SQLException
+ {
+ return target.getMaxRows();
+ }
+
+ public int getQueryTimeout() throws SQLException
+ {
+ return target.getQueryTimeout();
+ }
+
+ public int getResultSetConcurrency() throws SQLException
+ {
+ return target.getResultSetConcurrency();
+ }
+
+
+ public int getResultSetHoldability() throws SQLException
+ {
+ return target.getResultSetHoldability();
+ }
+
+
+ public int getResultSetType() throws SQLException
+ {
+ return target.getResultSetType();
+ }
+
+ public int getUpdateCount() throws SQLException
+ {
+ return target.getUpdateCount();
+ }
+
+ public void cancel() throws SQLException
+ {
+ target.cancel();
+ }
+
+ public void clearBatch() throws SQLException
+ {
+ target.clearBatch();
+ }
+
+ public void clearWarnings() throws SQLException
+ {
+ target.clearWarnings();
+ }
+
+ public void close() throws SQLException
+ {
+ target.close();
+ }
+
+ public boolean getMoreResults() throws SQLException
+ {
+ return target.getMoreResults();
+ }
+
+ public int[] executeBatch() throws SQLException
+ {
+ return target.executeBatch();
+ }
+
+ public void setFetchDirection(int direction) throws SQLException
+ {
+ target.setFetchDirection(direction);
+ }
+
+ public void setFetchSize(int rows) throws SQLException
+ {
+ target.setFetchSize(rows);
+ }
+
+ public void setMaxFieldSize(int max) throws SQLException
+ {
+ target.setMaxFieldSize(max);
+ }
+
+ public void setMaxRows(int max) throws SQLException
+ {
+ target.setMaxRows(max);
+ }
+
+ public void setQueryTimeout(int seconds) throws SQLException
+ {
+ target.setQueryTimeout(seconds);
+ }
+
+
+ public boolean getMoreResults(int current) throws SQLException
+ {
+ return target.getMoreResults(current);
+ }
+
+
+ public void setEscapeProcessing(boolean enable) throws SQLException
+ {
+ target.setEscapeProcessing(enable);
+ }
+
+ public int executeUpdate(String sql) throws SQLException
+ {
+ logSql(sql);
+ return target.executeUpdate(sql);
+ }
+
+ public void addBatch(String sql) throws SQLException
+ {
+ logSql(sql);
+ target.addBatch(sql);
+ }
+
+ public void setCursorName(String name) throws SQLException
+ {
+ target.setCursorName(name);
+ }
+
+ public boolean execute(String sql) throws SQLException
+ {
+ logSql(sql);
+ return target.execute(sql);
+ }
+
+
+ public int executeUpdate(String sql, int autoGeneratedKeys) throws SQLException
+ {
+ logSql(sql);
+ return target.executeUpdate(sql, autoGeneratedKeys);
+ }
+
+
+
+ public boolean execute(String sql, int autoGeneratedKeys) throws SQLException
+ {
+ logSql(sql);
+ return target.execute(sql, autoGeneratedKeys);
+ }
+
+
+
+ public int executeUpdate(String sql, int columnIndexes[]) throws SQLException
+ {
+ logSql(sql);
+ return target.executeUpdate(sql, columnIndexes);
+ }
+
+
+
+ public boolean execute(String sql, int columnIndexes[]) throws SQLException
+ {
+ logSql(sql);
+ return target.execute(sql, columnIndexes);
+ }
+
+
+ public Connection getConnection() throws SQLException
+ {
+ return con;
+ }
+
+
+ public ResultSet getGeneratedKeys() throws SQLException
+ {
+ return target.getGeneratedKeys();
+ }
+
+
+ public ResultSet getResultSet() throws SQLException
+ {
+ return target.getResultSet();
+ }
+
+ public SQLWarning getWarnings() throws SQLException
+ {
+ return target.getWarnings();
+ }
+
+
+ public int executeUpdate(String sql, String columnNames[]) throws SQLException
+ {
+ logSql(sql);
+ return target.executeUpdate(sql, columnNames);
+ }
+
+
+
+ public boolean execute(String sql, String columnNames[]) throws SQLException
+ {
+ logSql(sql);
+ return target.execute(sql, columnNames);
+ }
+
+
+ public ResultSet executeQuery(String sql) throws SQLException
+ {
+ logSql(sql);
+ return target.executeQuery(sql);
+ }
+ }
+
+ public class PreparedStatementInterceptor
+ extends StatementInterceptor
+ implements PreparedStatement
+ {
+ private final PreparedStatement target;
+
+ public PreparedStatementInterceptor(Connection con, PreparedStatement target)
+ {
+ super(con, target);
+ this.target = target;
+ }
+
+ public int executeUpdate() throws SQLException
+ {
+ return target.executeUpdate();
+ }
+
+ public void addBatch() throws SQLException
+ {
+ target.addBatch();
+ }
+
+ public void clearParameters() throws SQLException
+ {
+ target.clearParameters();
+ }
+
+ public boolean execute() throws SQLException
+ {
+ return target.execute();
+ }
+
+ public void setByte(int parameterIndex, byte x) throws SQLException
+ {
+ target.setByte(parameterIndex, x);
+ }
+
+ public void setDouble(int parameterIndex, double x) throws SQLException
+ {
+ target.setDouble(parameterIndex, x);
+ }
+
+ public void setFloat(int parameterIndex, float x) throws SQLException
+ {
+ target.setFloat(parameterIndex, x);
+ }
+
+ public void setInt(int parameterIndex, int x) throws SQLException
+ {
+ target.setInt(parameterIndex, x);
+ }
+
+ public void setNull(int parameterIndex, int sqlType) throws SQLException
+ {
+ target.setNull(parameterIndex, sqlType);
+ }
+
+ public void setLong(int parameterIndex, long x) throws SQLException
+ {
+ target.setLong(parameterIndex, x);
+ }
+
+ public void setShort(int parameterIndex, short x) throws SQLException
+ {
+ target.setShort(parameterIndex, x);
+ }
+
+ public void setBoolean(int parameterIndex, boolean x) throws SQLException
+ {
+ target.setBoolean(parameterIndex, x);
+ }
+
+ public void setBytes(int parameterIndex, byte x[]) throws SQLException
+ {
+ target.setBytes(parameterIndex, x);
+ }
+
+ public void setAsciiStream(int parameterIndex, InputStream x, int length) throws SQLException
+ {
+ target.setAsciiStream(parameterIndex, x, length);
+ }
+
+ public void setBinaryStream(int parameterIndex, InputStream x, int length) throws SQLException
+ {
+ target.setBinaryStream(parameterIndex, x, length);
+ }
+
+ public void setUnicodeStream(int parameterIndex, InputStream x, int length) throws SQLException
+ {
+ target.setUnicodeStream(parameterIndex, x, length);
+ }
+
+ public void setCharacterStream(int parameterIndex, Reader reader, int length) throws SQLException
+ {
+ target.setCharacterStream(parameterIndex, reader, length);
+ }
+
+ public void setObject(int parameterIndex, Object x) throws SQLException
+ {
+ target.setObject(parameterIndex, x);
+ }
+
+ public void setObject(int parameterIndex, Object x, int targetSqlType) throws SQLException
+ {
+ target.setObject(parameterIndex, x, targetSqlType);
+ }
+
+ public void setObject(int parameterIndex, Object x, int targetSqlType, int scale) throws SQLException
+ {
+ target.setObject(parameterIndex, x, targetSqlType, scale);
+ }
+
+ public void setNull(int paramIndex, int sqlType, String typeName) throws SQLException
+ {
+ target.setNull(paramIndex, sqlType, typeName);
+ }
+
+ public void setString(int parameterIndex, String x) throws SQLException
+ {
+ target.setString(parameterIndex, x);
+ }
+
+ public void setBigDecimal(int parameterIndex, BigDecimal x) throws SQLException
+ {
+ target.setBigDecimal(parameterIndex, x);
+ }
+
+
+ public void setURL(int parameterIndex, URL x) throws SQLException
+ {
+ target.setURL(parameterIndex, x);
+ }
+
+
+ public void setArray(int i, Array x) throws SQLException
+ {
+ target.setArray(i, x);
+ }
+
+ public void setBlob(int i, Blob x) throws SQLException
+ {
+ target.setBlob(i, x);
+ }
+
+ public void setClob(int i, Clob x) throws SQLException
+ {
+ target.setClob(i, x);
+ }
+
+ public void setDate(int parameterIndex, Date x) throws SQLException
+ {
+ target.setDate(parameterIndex, x);
+ }
+
+
+ public ParameterMetaData getParameterMetaData() throws SQLException
+ {
+ return target.getParameterMetaData();
+ }
+
+
+ public void setRef(int i, Ref x) throws SQLException
+ {
+ target.setRef(i, x);
+ }
+
+ public ResultSet executeQuery() throws SQLException
+ {
+ return target.executeQuery();
+ }
+
+ public ResultSetMetaData getMetaData() throws SQLException
+ {
+ return target.getMetaData();
+ }
+
+ public void setTime(int parameterIndex, Time x) throws SQLException
+ {
+ target.setTime(parameterIndex, x);
+ }
+
+ public void setTimestamp(int parameterIndex, Timestamp x) throws SQLException
+ {
+ target.setTimestamp(parameterIndex, x);
+ }
+
+ public void setDate(int parameterIndex, Date x, Calendar cal) throws SQLException
+ {
+ target.setDate(parameterIndex, x, cal);
+ }
+
+ public void setTime(int parameterIndex, Time x, Calendar cal) throws SQLException
+ {
+ target.setTime(parameterIndex, x, cal);
+ }
+
+ public void setTimestamp(int parameterIndex, Timestamp x, Calendar cal) throws SQLException
+ {
+ target.setTimestamp(parameterIndex, x, cal);
+ }
+ }
+}
Modified: trunk/varia/src/main/org/jboss/varia/stats/DataSourceInterceptorJDK6.java
===================================================================
--- trunk/varia/src/main/org/jboss/varia/stats/DataSourceInterceptorJDK6.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/varia/stats/DataSourceInterceptorJDK6.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,928 +1,928 @@
-/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.varia.stats;
-
-import java.sql.SQLException;
-import java.sql.Connection;
-import java.sql.DatabaseMetaData;
-import java.sql.SQLWarning;
-import java.sql.Statement;
-import java.sql.CallableStatement;
-import java.sql.SQLClientInfoException;
-import java.sql.PreparedStatement;
-import java.sql.ResultSet;
-import java.sql.Array;
-import java.sql.Blob;
-import java.sql.Clob;
-import java.sql.NClob;
-import java.sql.Date;
-import java.sql.Ref;
-import java.sql.ResultSetMetaData;
-import java.sql.RowId;
-import java.sql.Struct;
-import java.sql.SQLXML;
-import java.sql.Time;
-import java.sql.Timestamp;
-
-import java.sql.Savepoint;
-import java.sql.ParameterMetaData;
-
-import java.io.PrintWriter;
-import java.io.InputStream;
-import java.io.Reader;
-import java.util.Map;
-import java.util.Calendar;
-import java.util.Properties;
-import java.math.BigDecimal;
-import java.net.URL;
-
-/**
- * @author <a href="mailto:alex at jboss.org">Alexey Loubyansky</a>
- * @version <tt>$Revision: 37459 $</tt>
- * @@jmx:mbean name="jboss.stats:name=DataSourceInterceptor"
- * extends="org.jboss.system.ServiceMBean"
- */
-public class DataSourceInterceptorJDK6 extends DataSourceInterceptor
-{
-
- public <T>T unwrap(Class<T> iface) throws SQLException
- {
- return target.unwrap(iface);
- }
-
- public boolean isWrapperFor(Class<?> iface) throws SQLException
- {
- return target.isWrapperFor(iface);
- }
-
- public Connection getConnection() throws SQLException
- {
- return new ConnectionInterceptor(target.getConnection());
- }
-
- public Connection getConnection(String username, String password) throws SQLException
- {
- return new ConnectionInterceptor(target.getConnection());
- }
-
- // Inner
-
- public class ConnectionInterceptor
- implements Connection
- {
- private final Connection target;
-
- public ConnectionInterceptor(Connection target)
- {
- this.target = target;
- }
-
-
- public int getHoldability() throws SQLException
- {
- return target.getHoldability();
- }
-
-
- public int getTransactionIsolation() throws SQLException
- {
- return target.getTransactionIsolation();
- }
-
- public void clearWarnings() throws SQLException
- {
- target.clearWarnings();
- }
-
- public void close() throws SQLException
- {
- target.close();
- }
-
- public void commit() throws SQLException
- {
- target.commit();
- }
-
- public void rollback() throws SQLException
- {
- target.rollback();
- }
-
- public boolean getAutoCommit() throws SQLException
- {
- return target.getAutoCommit();
- }
-
- public boolean isClosed() throws SQLException
- {
- return target.isClosed();
- }
-
- public boolean isReadOnly() throws SQLException
- {
- return target.isReadOnly();
- }
-
-
- public void setHoldability(int holdability) throws SQLException
- {
- target.setHoldability(holdability);
- }
-
-
- public void setTransactionIsolation(int level) throws SQLException
- {
- target.setTransactionIsolation(level);
- }
-
- public void setAutoCommit(boolean autoCommit) throws SQLException
- {
- target.setAutoCommit(autoCommit);
- }
-
- public void setReadOnly(boolean readOnly) throws SQLException
- {
- target.setReadOnly(readOnly);
- }
-
- public String getCatalog() throws SQLException
- {
- return target.getCatalog();
- }
-
- public void setCatalog(String catalog) throws SQLException
- {
- target.setCatalog(catalog);
- }
-
- public DatabaseMetaData getMetaData() throws SQLException
- {
- return target.getMetaData();
- }
-
- public SQLWarning getWarnings() throws SQLException
- {
- return target.getWarnings();
- }
-
-
- public Savepoint setSavepoint() throws SQLException
- {
- return target.setSavepoint();
- }
-
-
-
- public void releaseSavepoint(Savepoint savepoint) throws SQLException
- {
- target.releaseSavepoint(savepoint);
- }
-
-
-
- public void rollback(Savepoint savepoint) throws SQLException
- {
- target.rollback(savepoint);
- }
-
-
- public Statement createStatement() throws SQLException
- {
- return new StatementInterceptor(this, target.createStatement());
- }
-
- public Statement createStatement(int resultSetType, int resultSetConcurrency) throws SQLException
- {
- return new StatementInterceptor(this, target.createStatement(resultSetType, resultSetConcurrency));
- }
-
-
- public Statement createStatement(int resultSetType, int resultSetConcurrency, int resultSetHoldability)
- throws SQLException
- {
- return new StatementInterceptor(this,
- target.createStatement(resultSetType, resultSetConcurrency, resultSetHoldability));
- }
-
-
- public Map getTypeMap() throws SQLException
- {
- return target.getTypeMap();
- }
-
- public void setTypeMap(Map map) throws SQLException
- {
- target.setTypeMap(map);
- }
-
- public String nativeSQL(String sql) throws SQLException
- {
- return target.nativeSQL(sql);
- }
-
- public CallableStatement prepareCall(String sql) throws SQLException
- {
- return target.prepareCall(sql);
- }
-
- public CallableStatement prepareCall(String sql, int resultSetType, int resultSetConcurrency)
- throws SQLException
- {
- return target.prepareCall(sql, resultSetType, resultSetConcurrency);
- }
-
-
- public CallableStatement prepareCall(String sql,
- int resultSetType,
- int resultSetConcurrency,
- int resultSetHoldability) throws SQLException
- {
- return target.prepareCall(sql, resultSetType, resultSetConcurrency, resultSetHoldability);
- }
-
-
- public PreparedStatement prepareStatement(String sql) throws SQLException
- {
- logSql(sql);
- return new PreparedStatementInterceptor(this, target.prepareStatement(sql));
- }
-
-
- public PreparedStatement prepareStatement(String sql, int autoGeneratedKeys) throws SQLException
- {
- logSql(sql);
- return new PreparedStatementInterceptor(this, target.prepareStatement(sql, autoGeneratedKeys));
- }
-
-
- public PreparedStatement prepareStatement(String sql, int resultSetType, int resultSetConcurrency)
- throws SQLException
- {
- logSql(sql);
- return new PreparedStatementInterceptor(this,
- target.prepareStatement(sql, resultSetType, resultSetConcurrency));
- }
-
-
- public PreparedStatement prepareStatement(String sql,
- int resultSetType,
- int resultSetConcurrency,
- int resultSetHoldability) throws SQLException
- {
- logSql(sql);
- return new PreparedStatementInterceptor(this,
- target.prepareStatement(sql, resultSetType, resultSetConcurrency, resultSetHoldability));
- }
-
-
-
- public PreparedStatement prepareStatement(String sql, int columnIndexes[]) throws SQLException
- {
- logSql(sql);
- return new PreparedStatementInterceptor(this, target.prepareStatement(sql, columnIndexes));
- }
-
-
-
- public Savepoint setSavepoint(String name) throws SQLException
- {
- return target.setSavepoint(name);
- }
-
-
-
- public PreparedStatement prepareStatement(String sql, String columnNames[]) throws SQLException
- {
- logSql(sql);
- return new PreparedStatementInterceptor(this, target.prepareStatement(sql, columnNames));
- }
-
- public <T>T unwrap(Class<T> iface) throws SQLException
- {
- return target.unwrap(iface);
- }
-
- public boolean isWrapperFor(Class<?> iface) throws SQLException
- {
- return target.isWrapperFor(iface);
- }
-
- public Clob createClob() throws SQLException
- {
- return target.createClob();
- }
-
- public Blob createBlob() throws SQLException
- {
- return target.createBlob();
- }
-
- public NClob createNClob() throws SQLException
- {
- return target.createNClob();
- }
-
- public SQLXML createSQLXML() throws SQLException
- {
- return target.createSQLXML();
- }
-
- public boolean isValid(int timeout) throws SQLException
- {
- return target.isValid(timeout);
- }
-
- public void setClientInfo(String name, String value) throws SQLClientInfoException
- {
- target.setClientInfo(name, value);
- }
-
- public void setClientInfo(Properties properties) throws SQLClientInfoException
- {
- target.setClientInfo(properties);
- }
-
- public String getClientInfo(String name) throws SQLException
- {
- return target.getClientInfo(name);
- }
-
- public Properties getClientInfo() throws SQLException
- {
- return target.getClientInfo();
- }
-
- public Array createArrayOf(String typeName, Object[] elements) throws SQLException
- {
- return target.createArrayOf(typeName, elements);
- }
-
- public Struct createStruct(String typeName, Object[] attributes) throws SQLException
- {
- return target.createStruct(typeName, attributes);
- }
- }
-
- public class StatementInterceptor
- implements Statement
- {
- private final Connection con;
- private final Statement target;
-
- public StatementInterceptor(Connection con, Statement target)
- {
- this.con = con;
- this.target = target;
- }
-
- public int getFetchDirection() throws SQLException
- {
- return target.getFetchDirection();
- }
-
- public int getFetchSize() throws SQLException
- {
- return target.getFetchSize();
- }
-
- public int getMaxFieldSize() throws SQLException
- {
- return target.getMaxFieldSize();
- }
-
- public int getMaxRows() throws SQLException
- {
- return target.getMaxRows();
- }
-
- public int getQueryTimeout() throws SQLException
- {
- return target.getQueryTimeout();
- }
-
- public int getResultSetConcurrency() throws SQLException
- {
- return target.getResultSetConcurrency();
- }
-
-
- public int getResultSetHoldability() throws SQLException
- {
- return target.getResultSetHoldability();
- }
-
-
- public int getResultSetType() throws SQLException
- {
- return target.getResultSetType();
- }
-
- public int getUpdateCount() throws SQLException
- {
- return target.getUpdateCount();
- }
-
- public void cancel() throws SQLException
- {
- target.cancel();
- }
-
- public void clearBatch() throws SQLException
- {
- target.clearBatch();
- }
-
- public void clearWarnings() throws SQLException
- {
- target.clearWarnings();
- }
-
- public void close() throws SQLException
- {
- target.close();
- }
-
- public boolean getMoreResults() throws SQLException
- {
- return target.getMoreResults();
- }
-
- public int[] executeBatch() throws SQLException
- {
- return target.executeBatch();
- }
-
- public void setFetchDirection(int direction) throws SQLException
- {
- target.setFetchDirection(direction);
- }
-
- public void setFetchSize(int rows) throws SQLException
- {
- target.setFetchSize(rows);
- }
-
- public void setMaxFieldSize(int max) throws SQLException
- {
- target.setMaxFieldSize(max);
- }
-
- public void setMaxRows(int max) throws SQLException
- {
- target.setMaxRows(max);
- }
-
- public void setQueryTimeout(int seconds) throws SQLException
- {
- target.setQueryTimeout(seconds);
- }
-
-
- public boolean getMoreResults(int current) throws SQLException
- {
- return target.getMoreResults(current);
- }
-
-
- public void setEscapeProcessing(boolean enable) throws SQLException
- {
- target.setEscapeProcessing(enable);
- }
-
- public int executeUpdate(String sql) throws SQLException
- {
- logSql(sql);
- return target.executeUpdate(sql);
- }
-
- public void addBatch(String sql) throws SQLException
- {
- logSql(sql);
- target.addBatch(sql);
- }
-
- public void setCursorName(String name) throws SQLException
- {
- target.setCursorName(name);
- }
-
- public boolean execute(String sql) throws SQLException
- {
- logSql(sql);
- return target.execute(sql);
- }
-
-
- public int executeUpdate(String sql, int autoGeneratedKeys) throws SQLException
- {
- logSql(sql);
- return target.executeUpdate(sql, autoGeneratedKeys);
- }
-
-
-
- public boolean execute(String sql, int autoGeneratedKeys) throws SQLException
- {
- logSql(sql);
- return target.execute(sql, autoGeneratedKeys);
- }
-
-
-
- public int executeUpdate(String sql, int columnIndexes[]) throws SQLException
- {
- logSql(sql);
- return target.executeUpdate(sql, columnIndexes);
- }
-
-
-
- public boolean execute(String sql, int columnIndexes[]) throws SQLException
- {
- logSql(sql);
- return target.execute(sql, columnIndexes);
- }
-
-
- public Connection getConnection() throws SQLException
- {
- return con;
- }
-
-
- public ResultSet getGeneratedKeys() throws SQLException
- {
- return target.getGeneratedKeys();
- }
-
-
- public ResultSet getResultSet() throws SQLException
- {
- return target.getResultSet();
- }
-
- public SQLWarning getWarnings() throws SQLException
- {
- return target.getWarnings();
- }
-
-
- public int executeUpdate(String sql, String columnNames[]) throws SQLException
- {
- logSql(sql);
- return target.executeUpdate(sql, columnNames);
- }
-
-
-
- public boolean execute(String sql, String columnNames[]) throws SQLException
- {
- logSql(sql);
- return target.execute(sql, columnNames);
- }
-
-
- public ResultSet executeQuery(String sql) throws SQLException
- {
- logSql(sql);
- return target.executeQuery(sql);
- }
-
- public <T>T unwrap(Class<T> iface) throws SQLException
- {
- return target.unwrap(iface);
- }
-
- public boolean isWrapperFor(Class<?> iface) throws SQLException
- {
- return target.isWrapperFor(iface);
- }
-
- public boolean isClosed() throws SQLException
- {
- return target.isClosed();
- }
-
- public void setPoolable(boolean poolable) throws SQLException
- {
- target.setPoolable(poolable);
- }
-
- public boolean isPoolable() throws SQLException
- {
- return target.isPoolable();
- }
- }
-
- public class PreparedStatementInterceptor
- extends StatementInterceptor
- implements PreparedStatement
- {
- private final PreparedStatement target;
-
- public PreparedStatementInterceptor(Connection con, PreparedStatement target)
- {
- super(con, target);
- this.target = target;
- }
-
- public int executeUpdate() throws SQLException
- {
- return target.executeUpdate();
- }
-
- public void addBatch() throws SQLException
- {
- target.addBatch();
- }
-
- public void clearParameters() throws SQLException
- {
- target.clearParameters();
- }
-
- public boolean execute() throws SQLException
- {
- return target.execute();
- }
-
- public void setByte(int parameterIndex, byte x) throws SQLException
- {
- target.setByte(parameterIndex, x);
- }
-
- public void setDouble(int parameterIndex, double x) throws SQLException
- {
- target.setDouble(parameterIndex, x);
- }
-
- public void setFloat(int parameterIndex, float x) throws SQLException
- {
- target.setFloat(parameterIndex, x);
- }
-
- public void setInt(int parameterIndex, int x) throws SQLException
- {
- target.setInt(parameterIndex, x);
- }
-
- public void setNull(int parameterIndex, int sqlType) throws SQLException
- {
- target.setNull(parameterIndex, sqlType);
- }
-
- public void setLong(int parameterIndex, long x) throws SQLException
- {
- target.setLong(parameterIndex, x);
- }
-
- public void setShort(int parameterIndex, short x) throws SQLException
- {
- target.setShort(parameterIndex, x);
- }
-
- public void setBoolean(int parameterIndex, boolean x) throws SQLException
- {
- target.setBoolean(parameterIndex, x);
- }
-
- public void setBytes(int parameterIndex, byte x[]) throws SQLException
- {
- target.setBytes(parameterIndex, x);
- }
-
- public void setAsciiStream(int parameterIndex, InputStream x, int length) throws SQLException
- {
- target.setAsciiStream(parameterIndex, x, length);
- }
-
- public void setBinaryStream(int parameterIndex, InputStream x, int length) throws SQLException
- {
- target.setBinaryStream(parameterIndex, x, length);
- }
-
- public void setUnicodeStream(int parameterIndex, InputStream x, int length) throws SQLException
- {
- target.setUnicodeStream(parameterIndex, x, length);
- }
-
- public void setCharacterStream(int parameterIndex, Reader reader, int length) throws SQLException
- {
- target.setCharacterStream(parameterIndex, reader, length);
- }
-
- public void setObject(int parameterIndex, Object x) throws SQLException
- {
- target.setObject(parameterIndex, x);
- }
-
- public void setObject(int parameterIndex, Object x, int targetSqlType) throws SQLException
- {
- target.setObject(parameterIndex, x, targetSqlType);
- }
-
- public void setObject(int parameterIndex, Object x, int targetSqlType, int scale) throws SQLException
- {
- target.setObject(parameterIndex, x, targetSqlType, scale);
- }
-
- public void setNull(int paramIndex, int sqlType, String typeName) throws SQLException
- {
- target.setNull(paramIndex, sqlType, typeName);
- }
-
- public void setString(int parameterIndex, String x) throws SQLException
- {
- target.setString(parameterIndex, x);
- }
-
- public void setBigDecimal(int parameterIndex, BigDecimal x) throws SQLException
- {
- target.setBigDecimal(parameterIndex, x);
- }
-
-
- public void setURL(int parameterIndex, URL x) throws SQLException
- {
- target.setURL(parameterIndex, x);
- }
-
-
- public void setArray(int i, Array x) throws SQLException
- {
- target.setArray(i, x);
- }
-
- public void setBlob(int i, Blob x) throws SQLException
- {
- target.setBlob(i, x);
- }
-
- public void setClob(int i, Clob x) throws SQLException
- {
- target.setClob(i, x);
- }
-
- public void setDate(int parameterIndex, Date x) throws SQLException
- {
- target.setDate(parameterIndex, x);
- }
-
-
- public ParameterMetaData getParameterMetaData() throws SQLException
- {
- return target.getParameterMetaData();
- }
-
-
- public void setRef(int i, Ref x) throws SQLException
- {
- target.setRef(i, x);
- }
-
- public ResultSet executeQuery() throws SQLException
- {
- return target.executeQuery();
- }
-
- public ResultSetMetaData getMetaData() throws SQLException
- {
- return target.getMetaData();
- }
-
- public void setTime(int parameterIndex, Time x) throws SQLException
- {
- target.setTime(parameterIndex, x);
- }
-
- public void setTimestamp(int parameterIndex, Timestamp x) throws SQLException
- {
- target.setTimestamp(parameterIndex, x);
- }
-
- public void setDate(int parameterIndex, Date x, Calendar cal) throws SQLException
- {
- target.setDate(parameterIndex, x, cal);
- }
-
- public void setTime(int parameterIndex, Time x, Calendar cal) throws SQLException
- {
- target.setTime(parameterIndex, x, cal);
- }
-
- public void setTimestamp(int parameterIndex, Timestamp x, Calendar cal) throws SQLException
- {
- target.setTimestamp(parameterIndex, x, cal);
- }
-
- public void setRowId(int parameterIndex, RowId x) throws SQLException
- {
- target.setRowId(parameterIndex, x);
- }
-
- public void setNString(int parameterIndex, String value) throws SQLException
- {
- target.setNString(parameterIndex, value);
- }
-
- public void setNCharacterStream(int parameterIndex, Reader value, long length) throws SQLException
- {
- target.setNCharacterStream(parameterIndex, value, length);
- }
-
- public void setNClob(int parameterIndex, NClob value) throws SQLException
- {
- target.setNClob(parameterIndex, value);
- }
-
- public void setClob(int parameterIndex, Reader reader, long length) throws SQLException
- {
- target.setClob(parameterIndex, reader, length);
- }
-
- public void setBlob(int parameterIndex, InputStream inputStream, long length) throws SQLException
- {
- target.setBlob(parameterIndex, inputStream, length);
- }
-
- public void setNClob(int parameterIndex, Reader reader, long length) throws SQLException
- {
- target.setNClob(parameterIndex, reader, length);
- }
-
- public void setSQLXML(int parameterIndex, SQLXML xmlObject) throws SQLException
- {
- target.setSQLXML(parameterIndex, xmlObject);
- }
-
- public void setAsciiStream(int parameterIndex, InputStream x, long length) throws SQLException
- {
- target.setAsciiStream(parameterIndex, x, length);
- }
-
- public void setBinaryStream(int parameterIndex, InputStream x, long length) throws SQLException
- {
- target.setBinaryStream(parameterIndex, x, length);
- }
-
- public void setCharacterStream(int parameterIndex, Reader reader, long length) throws SQLException
- {
- target.setCharacterStream(parameterIndex, reader, length);
- }
-
- public void setAsciiStream(int parameterIndex, InputStream x) throws SQLException
- {
- target.setAsciiStream(parameterIndex, x);
- }
-
- public void setBinaryStream(int parameterIndex, InputStream x) throws SQLException
- {
- target.setBinaryStream(parameterIndex, x);
- }
-
- public void setCharacterStream(int parameterIndex, Reader reader) throws SQLException
- {
- target.setCharacterStream(parameterIndex, reader);
- }
-
- public void setNCharacterStream(int parameterIndex, Reader value) throws SQLException
- {
- target.setNCharacterStream(parameterIndex, value);
- }
-
- public void setClob(int parameterIndex, Reader reader) throws SQLException
- {
- target.setClob(parameterIndex, reader);
- }
-
- public void setBlob(int parameterIndex, InputStream inputStream) throws SQLException
- {
- target.setBlob(parameterIndex, inputStream);
- }
-
- public void setNClob(int parameterIndex, Reader reader) throws SQLException
- {
- target.setNClob(parameterIndex, reader);
- }
- }
-}
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.varia.stats;
+
+import java.sql.SQLException;
+import java.sql.Connection;
+import java.sql.DatabaseMetaData;
+import java.sql.SQLWarning;
+import java.sql.Statement;
+import java.sql.CallableStatement;
+import java.sql.SQLClientInfoException;
+import java.sql.PreparedStatement;
+import java.sql.ResultSet;
+import java.sql.Array;
+import java.sql.Blob;
+import java.sql.Clob;
+import java.sql.NClob;
+import java.sql.Date;
+import java.sql.Ref;
+import java.sql.ResultSetMetaData;
+import java.sql.RowId;
+import java.sql.Struct;
+import java.sql.SQLXML;
+import java.sql.Time;
+import java.sql.Timestamp;
+
+import java.sql.Savepoint;
+import java.sql.ParameterMetaData;
+
+import java.io.PrintWriter;
+import java.io.InputStream;
+import java.io.Reader;
+import java.util.Map;
+import java.util.Calendar;
+import java.util.Properties;
+import java.math.BigDecimal;
+import java.net.URL;
+
+/**
+ * @author <a href="mailto:alex at jboss.org">Alexey Loubyansky</a>
+ * @version <tt>$Revision: 37459 $</tt>
+ * @@jmx:mbean name="jboss.stats:name=DataSourceInterceptor"
+ * extends="org.jboss.system.ServiceMBean"
+ */
+public class DataSourceInterceptorJDK6 extends DataSourceInterceptor
+{
+
+ public <T>T unwrap(Class<T> iface) throws SQLException
+ {
+ return target.unwrap(iface);
+ }
+
+ public boolean isWrapperFor(Class<?> iface) throws SQLException
+ {
+ return target.isWrapperFor(iface);
+ }
+
+ public Connection getConnection() throws SQLException
+ {
+ return new ConnectionInterceptor(target.getConnection());
+ }
+
+ public Connection getConnection(String username, String password) throws SQLException
+ {
+ return new ConnectionInterceptor(target.getConnection());
+ }
+
+ // Inner
+
+ public class ConnectionInterceptor
+ implements Connection
+ {
+ private final Connection target;
+
+ public ConnectionInterceptor(Connection target)
+ {
+ this.target = target;
+ }
+
+
+ public int getHoldability() throws SQLException
+ {
+ return target.getHoldability();
+ }
+
+
+ public int getTransactionIsolation() throws SQLException
+ {
+ return target.getTransactionIsolation();
+ }
+
+ public void clearWarnings() throws SQLException
+ {
+ target.clearWarnings();
+ }
+
+ public void close() throws SQLException
+ {
+ target.close();
+ }
+
+ public void commit() throws SQLException
+ {
+ target.commit();
+ }
+
+ public void rollback() throws SQLException
+ {
+ target.rollback();
+ }
+
+ public boolean getAutoCommit() throws SQLException
+ {
+ return target.getAutoCommit();
+ }
+
+ public boolean isClosed() throws SQLException
+ {
+ return target.isClosed();
+ }
+
+ public boolean isReadOnly() throws SQLException
+ {
+ return target.isReadOnly();
+ }
+
+
+ public void setHoldability(int holdability) throws SQLException
+ {
+ target.setHoldability(holdability);
+ }
+
+
+ public void setTransactionIsolation(int level) throws SQLException
+ {
+ target.setTransactionIsolation(level);
+ }
+
+ public void setAutoCommit(boolean autoCommit) throws SQLException
+ {
+ target.setAutoCommit(autoCommit);
+ }
+
+ public void setReadOnly(boolean readOnly) throws SQLException
+ {
+ target.setReadOnly(readOnly);
+ }
+
+ public String getCatalog() throws SQLException
+ {
+ return target.getCatalog();
+ }
+
+ public void setCatalog(String catalog) throws SQLException
+ {
+ target.setCatalog(catalog);
+ }
+
+ public DatabaseMetaData getMetaData() throws SQLException
+ {
+ return target.getMetaData();
+ }
+
+ public SQLWarning getWarnings() throws SQLException
+ {
+ return target.getWarnings();
+ }
+
+
+ public Savepoint setSavepoint() throws SQLException
+ {
+ return target.setSavepoint();
+ }
+
+
+
+ public void releaseSavepoint(Savepoint savepoint) throws SQLException
+ {
+ target.releaseSavepoint(savepoint);
+ }
+
+
+
+ public void rollback(Savepoint savepoint) throws SQLException
+ {
+ target.rollback(savepoint);
+ }
+
+
+ public Statement createStatement() throws SQLException
+ {
+ return new StatementInterceptor(this, target.createStatement());
+ }
+
+ public Statement createStatement(int resultSetType, int resultSetConcurrency) throws SQLException
+ {
+ return new StatementInterceptor(this, target.createStatement(resultSetType, resultSetConcurrency));
+ }
+
+
+ public Statement createStatement(int resultSetType, int resultSetConcurrency, int resultSetHoldability)
+ throws SQLException
+ {
+ return new StatementInterceptor(this,
+ target.createStatement(resultSetType, resultSetConcurrency, resultSetHoldability));
+ }
+
+
+ public Map getTypeMap() throws SQLException
+ {
+ return target.getTypeMap();
+ }
+
+ public void setTypeMap(Map map) throws SQLException
+ {
+ target.setTypeMap(map);
+ }
+
+ public String nativeSQL(String sql) throws SQLException
+ {
+ return target.nativeSQL(sql);
+ }
+
+ public CallableStatement prepareCall(String sql) throws SQLException
+ {
+ return target.prepareCall(sql);
+ }
+
+ public CallableStatement prepareCall(String sql, int resultSetType, int resultSetConcurrency)
+ throws SQLException
+ {
+ return target.prepareCall(sql, resultSetType, resultSetConcurrency);
+ }
+
+
+ public CallableStatement prepareCall(String sql,
+ int resultSetType,
+ int resultSetConcurrency,
+ int resultSetHoldability) throws SQLException
+ {
+ return target.prepareCall(sql, resultSetType, resultSetConcurrency, resultSetHoldability);
+ }
+
+
+ public PreparedStatement prepareStatement(String sql) throws SQLException
+ {
+ logSql(sql);
+ return new PreparedStatementInterceptor(this, target.prepareStatement(sql));
+ }
+
+
+ public PreparedStatement prepareStatement(String sql, int autoGeneratedKeys) throws SQLException
+ {
+ logSql(sql);
+ return new PreparedStatementInterceptor(this, target.prepareStatement(sql, autoGeneratedKeys));
+ }
+
+
+ public PreparedStatement prepareStatement(String sql, int resultSetType, int resultSetConcurrency)
+ throws SQLException
+ {
+ logSql(sql);
+ return new PreparedStatementInterceptor(this,
+ target.prepareStatement(sql, resultSetType, resultSetConcurrency));
+ }
+
+
+ public PreparedStatement prepareStatement(String sql,
+ int resultSetType,
+ int resultSetConcurrency,
+ int resultSetHoldability) throws SQLException
+ {
+ logSql(sql);
+ return new PreparedStatementInterceptor(this,
+ target.prepareStatement(sql, resultSetType, resultSetConcurrency, resultSetHoldability));
+ }
+
+
+
+ public PreparedStatement prepareStatement(String sql, int columnIndexes[]) throws SQLException
+ {
+ logSql(sql);
+ return new PreparedStatementInterceptor(this, target.prepareStatement(sql, columnIndexes));
+ }
+
+
+
+ public Savepoint setSavepoint(String name) throws SQLException
+ {
+ return target.setSavepoint(name);
+ }
+
+
+
+ public PreparedStatement prepareStatement(String sql, String columnNames[]) throws SQLException
+ {
+ logSql(sql);
+ return new PreparedStatementInterceptor(this, target.prepareStatement(sql, columnNames));
+ }
+
+ public <T>T unwrap(Class<T> iface) throws SQLException
+ {
+ return target.unwrap(iface);
+ }
+
+ public boolean isWrapperFor(Class<?> iface) throws SQLException
+ {
+ return target.isWrapperFor(iface);
+ }
+
+ public Clob createClob() throws SQLException
+ {
+ return target.createClob();
+ }
+
+ public Blob createBlob() throws SQLException
+ {
+ return target.createBlob();
+ }
+
+ public NClob createNClob() throws SQLException
+ {
+ return target.createNClob();
+ }
+
+ public SQLXML createSQLXML() throws SQLException
+ {
+ return target.createSQLXML();
+ }
+
+ public boolean isValid(int timeout) throws SQLException
+ {
+ return target.isValid(timeout);
+ }
+
+ public void setClientInfo(String name, String value) throws SQLClientInfoException
+ {
+ target.setClientInfo(name, value);
+ }
+
+ public void setClientInfo(Properties properties) throws SQLClientInfoException
+ {
+ target.setClientInfo(properties);
+ }
+
+ public String getClientInfo(String name) throws SQLException
+ {
+ return target.getClientInfo(name);
+ }
+
+ public Properties getClientInfo() throws SQLException
+ {
+ return target.getClientInfo();
+ }
+
+ public Array createArrayOf(String typeName, Object[] elements) throws SQLException
+ {
+ return target.createArrayOf(typeName, elements);
+ }
+
+ public Struct createStruct(String typeName, Object[] attributes) throws SQLException
+ {
+ return target.createStruct(typeName, attributes);
+ }
+ }
+
+ public class StatementInterceptor
+ implements Statement
+ {
+ private final Connection con;
+ private final Statement target;
+
+ public StatementInterceptor(Connection con, Statement target)
+ {
+ this.con = con;
+ this.target = target;
+ }
+
+ public int getFetchDirection() throws SQLException
+ {
+ return target.getFetchDirection();
+ }
+
+ public int getFetchSize() throws SQLException
+ {
+ return target.getFetchSize();
+ }
+
+ public int getMaxFieldSize() throws SQLException
+ {
+ return target.getMaxFieldSize();
+ }
+
+ public int getMaxRows() throws SQLException
+ {
+ return target.getMaxRows();
+ }
+
+ public int getQueryTimeout() throws SQLException
+ {
+ return target.getQueryTimeout();
+ }
+
+ public int getResultSetConcurrency() throws SQLException
+ {
+ return target.getResultSetConcurrency();
+ }
+
+
+ public int getResultSetHoldability() throws SQLException
+ {
+ return target.getResultSetHoldability();
+ }
+
+
+ public int getResultSetType() throws SQLException
+ {
+ return target.getResultSetType();
+ }
+
+ public int getUpdateCount() throws SQLException
+ {
+ return target.getUpdateCount();
+ }
+
+ public void cancel() throws SQLException
+ {
+ target.cancel();
+ }
+
+ public void clearBatch() throws SQLException
+ {
+ target.clearBatch();
+ }
+
+ public void clearWarnings() throws SQLException
+ {
+ target.clearWarnings();
+ }
+
+ public void close() throws SQLException
+ {
+ target.close();
+ }
+
+ public boolean getMoreResults() throws SQLException
+ {
+ return target.getMoreResults();
+ }
+
+ public int[] executeBatch() throws SQLException
+ {
+ return target.executeBatch();
+ }
+
+ public void setFetchDirection(int direction) throws SQLException
+ {
+ target.setFetchDirection(direction);
+ }
+
+ public void setFetchSize(int rows) throws SQLException
+ {
+ target.setFetchSize(rows);
+ }
+
+ public void setMaxFieldSize(int max) throws SQLException
+ {
+ target.setMaxFieldSize(max);
+ }
+
+ public void setMaxRows(int max) throws SQLException
+ {
+ target.setMaxRows(max);
+ }
+
+ public void setQueryTimeout(int seconds) throws SQLException
+ {
+ target.setQueryTimeout(seconds);
+ }
+
+
+ public boolean getMoreResults(int current) throws SQLException
+ {
+ return target.getMoreResults(current);
+ }
+
+
+ public void setEscapeProcessing(boolean enable) throws SQLException
+ {
+ target.setEscapeProcessing(enable);
+ }
+
+ public int executeUpdate(String sql) throws SQLException
+ {
+ logSql(sql);
+ return target.executeUpdate(sql);
+ }
+
+ public void addBatch(String sql) throws SQLException
+ {
+ logSql(sql);
+ target.addBatch(sql);
+ }
+
+ public void setCursorName(String name) throws SQLException
+ {
+ target.setCursorName(name);
+ }
+
+ public boolean execute(String sql) throws SQLException
+ {
+ logSql(sql);
+ return target.execute(sql);
+ }
+
+
+ public int executeUpdate(String sql, int autoGeneratedKeys) throws SQLException
+ {
+ logSql(sql);
+ return target.executeUpdate(sql, autoGeneratedKeys);
+ }
+
+
+
+ public boolean execute(String sql, int autoGeneratedKeys) throws SQLException
+ {
+ logSql(sql);
+ return target.execute(sql, autoGeneratedKeys);
+ }
+
+
+
+ public int executeUpdate(String sql, int columnIndexes[]) throws SQLException
+ {
+ logSql(sql);
+ return target.executeUpdate(sql, columnIndexes);
+ }
+
+
+
+ public boolean execute(String sql, int columnIndexes[]) throws SQLException
+ {
+ logSql(sql);
+ return target.execute(sql, columnIndexes);
+ }
+
+
+ public Connection getConnection() throws SQLException
+ {
+ return con;
+ }
+
+
+ public ResultSet getGeneratedKeys() throws SQLException
+ {
+ return target.getGeneratedKeys();
+ }
+
+
+ public ResultSet getResultSet() throws SQLException
+ {
+ return target.getResultSet();
+ }
+
+ public SQLWarning getWarnings() throws SQLException
+ {
+ return target.getWarnings();
+ }
+
+
+ public int executeUpdate(String sql, String columnNames[]) throws SQLException
+ {
+ logSql(sql);
+ return target.executeUpdate(sql, columnNames);
+ }
+
+
+
+ public boolean execute(String sql, String columnNames[]) throws SQLException
+ {
+ logSql(sql);
+ return target.execute(sql, columnNames);
+ }
+
+
+ public ResultSet executeQuery(String sql) throws SQLException
+ {
+ logSql(sql);
+ return target.executeQuery(sql);
+ }
+
+ public <T>T unwrap(Class<T> iface) throws SQLException
+ {
+ return target.unwrap(iface);
+ }
+
+ public boolean isWrapperFor(Class<?> iface) throws SQLException
+ {
+ return target.isWrapperFor(iface);
+ }
+
+ public boolean isClosed() throws SQLException
+ {
+ return target.isClosed();
+ }
+
+ public void setPoolable(boolean poolable) throws SQLException
+ {
+ target.setPoolable(poolable);
+ }
+
+ public boolean isPoolable() throws SQLException
+ {
+ return target.isPoolable();
+ }
+ }
+
+ public class PreparedStatementInterceptor
+ extends StatementInterceptor
+ implements PreparedStatement
+ {
+ private final PreparedStatement target;
+
+ public PreparedStatementInterceptor(Connection con, PreparedStatement target)
+ {
+ super(con, target);
+ this.target = target;
+ }
+
+ public int executeUpdate() throws SQLException
+ {
+ return target.executeUpdate();
+ }
+
+ public void addBatch() throws SQLException
+ {
+ target.addBatch();
+ }
+
+ public void clearParameters() throws SQLException
+ {
+ target.clearParameters();
+ }
+
+ public boolean execute() throws SQLException
+ {
+ return target.execute();
+ }
+
+ public void setByte(int parameterIndex, byte x) throws SQLException
+ {
+ target.setByte(parameterIndex, x);
+ }
+
+ public void setDouble(int parameterIndex, double x) throws SQLException
+ {
+ target.setDouble(parameterIndex, x);
+ }
+
+ public void setFloat(int parameterIndex, float x) throws SQLException
+ {
+ target.setFloat(parameterIndex, x);
+ }
+
+ public void setInt(int parameterIndex, int x) throws SQLException
+ {
+ target.setInt(parameterIndex, x);
+ }
+
+ public void setNull(int parameterIndex, int sqlType) throws SQLException
+ {
+ target.setNull(parameterIndex, sqlType);
+ }
+
+ public void setLong(int parameterIndex, long x) throws SQLException
+ {
+ target.setLong(parameterIndex, x);
+ }
+
+ public void setShort(int parameterIndex, short x) throws SQLException
+ {
+ target.setShort(parameterIndex, x);
+ }
+
+ public void setBoolean(int parameterIndex, boolean x) throws SQLException
+ {
+ target.setBoolean(parameterIndex, x);
+ }
+
+ public void setBytes(int parameterIndex, byte x[]) throws SQLException
+ {
+ target.setBytes(parameterIndex, x);
+ }
+
+ public void setAsciiStream(int parameterIndex, InputStream x, int length) throws SQLException
+ {
+ target.setAsciiStream(parameterIndex, x, length);
+ }
+
+ public void setBinaryStream(int parameterIndex, InputStream x, int length) throws SQLException
+ {
+ target.setBinaryStream(parameterIndex, x, length);
+ }
+
+ public void setUnicodeStream(int parameterIndex, InputStream x, int length) throws SQLException
+ {
+ target.setUnicodeStream(parameterIndex, x, length);
+ }
+
+ public void setCharacterStream(int parameterIndex, Reader reader, int length) throws SQLException
+ {
+ target.setCharacterStream(parameterIndex, reader, length);
+ }
+
+ public void setObject(int parameterIndex, Object x) throws SQLException
+ {
+ target.setObject(parameterIndex, x);
+ }
+
+ public void setObject(int parameterIndex, Object x, int targetSqlType) throws SQLException
+ {
+ target.setObject(parameterIndex, x, targetSqlType);
+ }
+
+ public void setObject(int parameterIndex, Object x, int targetSqlType, int scale) throws SQLException
+ {
+ target.setObject(parameterIndex, x, targetSqlType, scale);
+ }
+
+ public void setNull(int paramIndex, int sqlType, String typeName) throws SQLException
+ {
+ target.setNull(paramIndex, sqlType, typeName);
+ }
+
+ public void setString(int parameterIndex, String x) throws SQLException
+ {
+ target.setString(parameterIndex, x);
+ }
+
+ public void setBigDecimal(int parameterIndex, BigDecimal x) throws SQLException
+ {
+ target.setBigDecimal(parameterIndex, x);
+ }
+
+
+ public void setURL(int parameterIndex, URL x) throws SQLException
+ {
+ target.setURL(parameterIndex, x);
+ }
+
+
+ public void setArray(int i, Array x) throws SQLException
+ {
+ target.setArray(i, x);
+ }
+
+ public void setBlob(int i, Blob x) throws SQLException
+ {
+ target.setBlob(i, x);
+ }
+
+ public void setClob(int i, Clob x) throws SQLException
+ {
+ target.setClob(i, x);
+ }
+
+ public void setDate(int parameterIndex, Date x) throws SQLException
+ {
+ target.setDate(parameterIndex, x);
+ }
+
+
+ public ParameterMetaData getParameterMetaData() throws SQLException
+ {
+ return target.getParameterMetaData();
+ }
+
+
+ public void setRef(int i, Ref x) throws SQLException
+ {
+ target.setRef(i, x);
+ }
+
+ public ResultSet executeQuery() throws SQLException
+ {
+ return target.executeQuery();
+ }
+
+ public ResultSetMetaData getMetaData() throws SQLException
+ {
+ return target.getMetaData();
+ }
+
+ public void setTime(int parameterIndex, Time x) throws SQLException
+ {
+ target.setTime(parameterIndex, x);
+ }
+
+ public void setTimestamp(int parameterIndex, Timestamp x) throws SQLException
+ {
+ target.setTimestamp(parameterIndex, x);
+ }
+
+ public void setDate(int parameterIndex, Date x, Calendar cal) throws SQLException
+ {
+ target.setDate(parameterIndex, x, cal);
+ }
+
+ public void setTime(int parameterIndex, Time x, Calendar cal) throws SQLException
+ {
+ target.setTime(parameterIndex, x, cal);
+ }
+
+ public void setTimestamp(int parameterIndex, Timestamp x, Calendar cal) throws SQLException
+ {
+ target.setTimestamp(parameterIndex, x, cal);
+ }
+
+ public void setRowId(int parameterIndex, RowId x) throws SQLException
+ {
+ target.setRowId(parameterIndex, x);
+ }
+
+ public void setNString(int parameterIndex, String value) throws SQLException
+ {
+ target.setNString(parameterIndex, value);
+ }
+
+ public void setNCharacterStream(int parameterIndex, Reader value, long length) throws SQLException
+ {
+ target.setNCharacterStream(parameterIndex, value, length);
+ }
+
+ public void setNClob(int parameterIndex, NClob value) throws SQLException
+ {
+ target.setNClob(parameterIndex, value);
+ }
+
+ public void setClob(int parameterIndex, Reader reader, long length) throws SQLException
+ {
+ target.setClob(parameterIndex, reader, length);
+ }
+
+ public void setBlob(int parameterIndex, InputStream inputStream, long length) throws SQLException
+ {
+ target.setBlob(parameterIndex, inputStream, length);
+ }
+
+ public void setNClob(int parameterIndex, Reader reader, long length) throws SQLException
+ {
+ target.setNClob(parameterIndex, reader, length);
+ }
+
+ public void setSQLXML(int parameterIndex, SQLXML xmlObject) throws SQLException
+ {
+ target.setSQLXML(parameterIndex, xmlObject);
+ }
+
+ public void setAsciiStream(int parameterIndex, InputStream x, long length) throws SQLException
+ {
+ target.setAsciiStream(parameterIndex, x, length);
+ }
+
+ public void setBinaryStream(int parameterIndex, InputStream x, long length) throws SQLException
+ {
+ target.setBinaryStream(parameterIndex, x, length);
+ }
+
+ public void setCharacterStream(int parameterIndex, Reader reader, long length) throws SQLException
+ {
+ target.setCharacterStream(parameterIndex, reader, length);
+ }
+
+ public void setAsciiStream(int parameterIndex, InputStream x) throws SQLException
+ {
+ target.setAsciiStream(parameterIndex, x);
+ }
+
+ public void setBinaryStream(int parameterIndex, InputStream x) throws SQLException
+ {
+ target.setBinaryStream(parameterIndex, x);
+ }
+
+ public void setCharacterStream(int parameterIndex, Reader reader) throws SQLException
+ {
+ target.setCharacterStream(parameterIndex, reader);
+ }
+
+ public void setNCharacterStream(int parameterIndex, Reader value) throws SQLException
+ {
+ target.setNCharacterStream(parameterIndex, value);
+ }
+
+ public void setClob(int parameterIndex, Reader reader) throws SQLException
+ {
+ target.setClob(parameterIndex, reader);
+ }
+
+ public void setBlob(int parameterIndex, InputStream inputStream) throws SQLException
+ {
+ target.setBlob(parameterIndex, inputStream);
+ }
+
+ public void setNClob(int parameterIndex, Reader reader) throws SQLException
+ {
+ target.setNClob(parameterIndex, reader);
+ }
+ }
+}
Modified: trunk/varia/src/main/org/jboss/varia/stats/DataSourceInterceptorMBean.java
===================================================================
--- trunk/varia/src/main/org/jboss/varia/stats/DataSourceInterceptorMBean.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/varia/stats/DataSourceInterceptorMBean.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.varia.stats;
/**
Modified: trunk/varia/src/main/org/jboss/varia/stats/StatisticalItem.java
===================================================================
--- trunk/varia/src/main/org/jboss/varia/stats/StatisticalItem.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/varia/stats/StatisticalItem.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.varia.stats;
import java.io.Serializable;
Modified: trunk/varia/src/main/org/jboss/varia/stats/StatisticsCollector.java
===================================================================
--- trunk/varia/src/main/org/jboss/varia/stats/StatisticsCollector.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/varia/stats/StatisticsCollector.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.varia.stats;
import org.jboss.system.ServiceMBeanSupport;
Modified: trunk/varia/src/main/org/jboss/varia/stats/StatisticsCollectorMBean.java
===================================================================
--- trunk/varia/src/main/org/jboss/varia/stats/StatisticsCollectorMBean.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/varia/stats/StatisticsCollectorMBean.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.varia.stats;
/**
Modified: trunk/varia/src/main/org/jboss/varia/stats/TxReport.java
===================================================================
--- trunk/varia/src/main/org/jboss/varia/stats/TxReport.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/varia/stats/TxReport.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.varia.stats;
import java.io.Serializable;
Modified: trunk/varia/src/main/org/jboss/varia/stats/TxStatistics.java
===================================================================
--- trunk/varia/src/main/org/jboss/varia/stats/TxStatistics.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/varia/stats/TxStatistics.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.varia.stats;
import org.jboss.tm.TransactionLocal;
Modified: trunk/varia/src/main/org/jboss/varia/stats/TxStatisticsInterceptor.java
===================================================================
--- trunk/varia/src/main/org/jboss/varia/stats/TxStatisticsInterceptor.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/varia/stats/TxStatisticsInterceptor.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.varia.stats;
import org.jboss.ejb.plugins.AbstractInterceptor;
Modified: trunk/varia/src/main/org/jboss/varia/stats/report/CacheReportGenerator.java
===================================================================
--- trunk/varia/src/main/org/jboss/varia/stats/report/CacheReportGenerator.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/varia/stats/report/CacheReportGenerator.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.varia.stats.report;
import org.jboss.varia.stats.TxReport;
Modified: trunk/varia/src/main/org/jboss/varia/stats/report/GeneralReportGenerator.java
===================================================================
--- trunk/varia/src/main/org/jboss/varia/stats/report/GeneralReportGenerator.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/varia/stats/report/GeneralReportGenerator.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.varia.stats.report;
import org.jboss.varia.stats.TxReport;
Modified: trunk/varia/src/main/org/jboss/varia/stats/report/ReportGenerator.java
===================================================================
--- trunk/varia/src/main/org/jboss/varia/stats/report/ReportGenerator.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/varia/stats/report/ReportGenerator.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.varia.stats.report;
import org.jboss.system.ServiceMBeanSupport;
Modified: trunk/varia/src/main/org/jboss/varia/stats/report/ReportGeneratorMBean.java
===================================================================
--- trunk/varia/src/main/org/jboss/varia/stats/report/ReportGeneratorMBean.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/varia/stats/report/ReportGeneratorMBean.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.varia.stats.report;
/**
Modified: trunk/varia/src/main/org/jboss/varia/stats/report/TableReportGenerator.java
===================================================================
--- trunk/varia/src/main/org/jboss/varia/stats/report/TableReportGenerator.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/varia/stats/report/TableReportGenerator.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.varia.stats.report;
import org.jboss.varia.stats.TxReport;
Modified: trunk/varia/src/main/org/jboss/varia/threaddump/ThreadDumpBean.java
===================================================================
--- trunk/varia/src/main/org/jboss/varia/threaddump/ThreadDumpBean.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/main/org/jboss/varia/threaddump/ThreadDumpBean.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,8 +1,8 @@
/*
- * JBoss, Home of Professional Open Source
- * Copyright 2007, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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
Modified: trunk/varia/src/test/org/jboss/test/SRPLoginTest.java
===================================================================
--- trunk/varia/src/test/org/jboss/test/SRPLoginTest.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/test/org/jboss/test/SRPLoginTest.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.test;
import java.net.URL;
Modified: trunk/varia/src/test/org/jboss/test/SRPProtocolTestCase.java
===================================================================
--- trunk/varia/src/test/org/jboss/test/SRPProtocolTestCase.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/test/org/jboss/test/SRPProtocolTestCase.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.test;
import java.io.Serializable;
Modified: trunk/varia/src/test/org/jboss/test/SRPServerImpl.java
===================================================================
--- trunk/varia/src/test/org/jboss/test/SRPServerImpl.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/test/org/jboss/test/SRPServerImpl.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.test;
import java.io.IOException;
Modified: trunk/varia/src/test/org/jboss/test/SimpleSRPServer.java
===================================================================
--- trunk/varia/src/test/org/jboss/test/SimpleSRPServer.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/test/org/jboss/test/SimpleSRPServer.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.test;
import java.io.Serializable;
Modified: trunk/varia/src/test/org/jboss/test/TestJCEIntegration.java
===================================================================
--- trunk/varia/src/test/org/jboss/test/TestJCEIntegration.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/test/org/jboss/test/TestJCEIntegration.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.test;
import java.io.Serializable;
Modified: trunk/varia/src/test/org/jboss/test/TestProtocol.java
===================================================================
--- trunk/varia/src/test/org/jboss/test/TestProtocol.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/test/org/jboss/test/TestProtocol.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.test;
import java.io.Serializable;
Modified: trunk/varia/src/test/org/jboss/test/TstClient.java
===================================================================
--- trunk/varia/src/test/org/jboss/test/TstClient.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/test/org/jboss/test/TstClient.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,24 +1,24 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.test;
import java.io.IOException;
Modified: trunk/varia/src/tests/org/jboss/test/services/binding/test/MockServiceBindingStore.java
===================================================================
--- trunk/varia/src/tests/org/jboss/test/services/binding/test/MockServiceBindingStore.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/tests/org/jboss/test/services/binding/test/MockServiceBindingStore.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,137 +1,137 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2008, 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.test.services.binding.test;
-
-import java.net.InetAddress;
-import java.net.UnknownHostException;
-
-import org.jboss.services.binding.DuplicateServiceException;
-import org.jboss.services.binding.NoSuchBindingException;
-import org.jboss.services.binding.ServiceBinding;
-import org.jboss.services.binding.ServiceBindingStore;
-
-/**
- * Mock implementation of ServiceBindingStore. Stores a single ServiceBinding.
- *
- * @author Brian Stansberry
- * @version $Revision$
- */
-public class MockServiceBindingStore implements ServiceBindingStore
-{
- public static final String HOSTNAME = "192.168.1.10";
-
- private final String serverName;
- private ServiceBinding binding;
-
- public MockServiceBindingStore(ServiceBinding binding, String serverName)
- {
- this.binding = binding;
- this.serverName = serverName;
- }
-
- public void addServiceBinding(String serverName, ServiceBinding binding) throws DuplicateServiceException
- {
- throw new UnsupportedOperationException("unimplemented");
- }
-
- public ServiceBinding getServiceBinding(String serverName, String serviceName, String bindingName)
- throws NoSuchBindingException
- {
- if (this.binding == null
- || this.serverName.equals(serverName) == false
- || this.binding.getServiceName().equals(serviceName) == false
- || safeEquals(this.binding.getBindingName(), bindingName) == false)
- {
- throw new NoSuchBindingException(serverName, serviceName, bindingName);
- }
-
- return binding;
- }
-
- public void removeServiceBinding(String serverName, ServiceBinding binding)
- {
- throw new UnsupportedOperationException("unimplemented");
- }
-
- public void removeServiceBinding(String serverName, String serviceName, String bindingName)
- {
- throw new UnsupportedOperationException("unimplemented");
- }
-
- public void addServiceBinding(ServiceBinding binding) throws DuplicateServiceException
- {
- if (this.binding != null)
- throw new IllegalStateException("MockServiceBindingStore already has a binding");
- this.binding = binding;
- }
-
- public InetAddress getDefaultBindAddress(String serverName)
- {
- try
- {
- return InetAddress.getByName(HOSTNAME);
- }
- catch (UnknownHostException e)
- {
- throw new IllegalStateException("Can't create InetAddress for " + HOSTNAME, e);
- }
- }
-
- public String getDefaultHostName(String serverName)
- {
- return HOSTNAME;
- }
-
- public int getDefaultPortOffset(String serverName)
- {
- return 1000;
- }
-
- public void removeServiceBinding(ServiceBinding binding)
- {
- // TODO Auto-generated method stub
-
- }
-
- public void removeServiceBinding(String serviceName, String bindingName)
- {
- // TODO Auto-generated method stub
-
- }
-
- /**
- * Set the binding.
- *
- * @param binding The binding to set.
- */
- public void setBinding(ServiceBinding binding)
- {
- this.binding = binding;
- }
-
- private boolean safeEquals(Object a, Object b)
- {
- return (a == b || (a != null && a.equals(b)));
- }
-
-}
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.test.services.binding.test;
+
+import java.net.InetAddress;
+import java.net.UnknownHostException;
+
+import org.jboss.services.binding.DuplicateServiceException;
+import org.jboss.services.binding.NoSuchBindingException;
+import org.jboss.services.binding.ServiceBinding;
+import org.jboss.services.binding.ServiceBindingStore;
+
+/**
+ * Mock implementation of ServiceBindingStore. Stores a single ServiceBinding.
+ *
+ * @author Brian Stansberry
+ * @version $Revision$
+ */
+public class MockServiceBindingStore implements ServiceBindingStore
+{
+ public static final String HOSTNAME = "192.168.1.10";
+
+ private final String serverName;
+ private ServiceBinding binding;
+
+ public MockServiceBindingStore(ServiceBinding binding, String serverName)
+ {
+ this.binding = binding;
+ this.serverName = serverName;
+ }
+
+ public void addServiceBinding(String serverName, ServiceBinding binding) throws DuplicateServiceException
+ {
+ throw new UnsupportedOperationException("unimplemented");
+ }
+
+ public ServiceBinding getServiceBinding(String serverName, String serviceName, String bindingName)
+ throws NoSuchBindingException
+ {
+ if (this.binding == null
+ || this.serverName.equals(serverName) == false
+ || this.binding.getServiceName().equals(serviceName) == false
+ || safeEquals(this.binding.getBindingName(), bindingName) == false)
+ {
+ throw new NoSuchBindingException(serverName, serviceName, bindingName);
+ }
+
+ return binding;
+ }
+
+ public void removeServiceBinding(String serverName, ServiceBinding binding)
+ {
+ throw new UnsupportedOperationException("unimplemented");
+ }
+
+ public void removeServiceBinding(String serverName, String serviceName, String bindingName)
+ {
+ throw new UnsupportedOperationException("unimplemented");
+ }
+
+ public void addServiceBinding(ServiceBinding binding) throws DuplicateServiceException
+ {
+ if (this.binding != null)
+ throw new IllegalStateException("MockServiceBindingStore already has a binding");
+ this.binding = binding;
+ }
+
+ public InetAddress getDefaultBindAddress(String serverName)
+ {
+ try
+ {
+ return InetAddress.getByName(HOSTNAME);
+ }
+ catch (UnknownHostException e)
+ {
+ throw new IllegalStateException("Can't create InetAddress for " + HOSTNAME, e);
+ }
+ }
+
+ public String getDefaultHostName(String serverName)
+ {
+ return HOSTNAME;
+ }
+
+ public int getDefaultPortOffset(String serverName)
+ {
+ return 1000;
+ }
+
+ public void removeServiceBinding(ServiceBinding binding)
+ {
+ // TODO Auto-generated method stub
+
+ }
+
+ public void removeServiceBinding(String serviceName, String bindingName)
+ {
+ // TODO Auto-generated method stub
+
+ }
+
+ /**
+ * Set the binding.
+ *
+ * @param binding The binding to set.
+ */
+ public void setBinding(ServiceBinding binding)
+ {
+ this.binding = binding;
+ }
+
+ private boolean safeEquals(Object a, Object b)
+ {
+ return (a == b || (a != null && a.equals(b)));
+ }
+
+}
Modified: trunk/varia/src/tests/org/jboss/test/services/binding/test/MockServiceBindingValueSource.java
===================================================================
--- trunk/varia/src/tests/org/jboss/test/services/binding/test/MockServiceBindingValueSource.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/tests/org/jboss/test/services/binding/test/MockServiceBindingValueSource.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,61 +1,61 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2008, 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.test.services.binding.test;
-
-import org.jboss.services.binding.ServiceBinding;
-import org.jboss.services.binding.ServiceBindingValueSource;
-
-/**
- * Mock implementation of ServiceBindingValueSource. Returms an injected return
- * value; keeps a reference to passed in params so the test driver can analyze them.
- *
- * @author Brian Stansberry
- * @version $Revision$
- */
-public class MockServiceBindingValueSource implements ServiceBindingValueSource
-{
- private final Object returnValue;
- private Object[] params;
-
- public MockServiceBindingValueSource()
- {
- this.returnValue = null;
- }
-
- public MockServiceBindingValueSource(Object returnValue)
- {
- this.returnValue = returnValue;
- }
-
- public Object getServiceBindingValue(ServiceBinding binding, Object... params) throws Exception
- {
- this.params = params;
- return returnValue;
- }
-
- public Object[] getParams()
- {
- return params;
- }
-
-}
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.test.services.binding.test;
+
+import org.jboss.services.binding.ServiceBinding;
+import org.jboss.services.binding.ServiceBindingValueSource;
+
+/**
+ * Mock implementation of ServiceBindingValueSource. Returms an injected return
+ * value; keeps a reference to passed in params so the test driver can analyze them.
+ *
+ * @author Brian Stansberry
+ * @version $Revision$
+ */
+public class MockServiceBindingValueSource implements ServiceBindingValueSource
+{
+ private final Object returnValue;
+ private Object[] params;
+
+ public MockServiceBindingValueSource()
+ {
+ this.returnValue = null;
+ }
+
+ public MockServiceBindingValueSource(Object returnValue)
+ {
+ this.returnValue = returnValue;
+ }
+
+ public Object getServiceBindingValue(ServiceBinding binding, Object... params) throws Exception
+ {
+ this.params = params;
+ return returnValue;
+ }
+
+ public Object[] getParams()
+ {
+ return params;
+ }
+
+}
Modified: trunk/varia/src/tests/org/jboss/test/services/binding/test/PojoServiceBindingStoreUnitTestCase.java
===================================================================
--- trunk/varia/src/tests/org/jboss/test/services/binding/test/PojoServiceBindingStoreUnitTestCase.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/tests/org/jboss/test/services/binding/test/PojoServiceBindingStoreUnitTestCase.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,372 +1,372 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2008, 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.test.services.binding.test;
-
-import java.net.InetAddress;
-import java.util.Arrays;
-import java.util.HashMap;
-import java.util.HashSet;
-import java.util.Map;
-import java.util.Set;
-
-import junit.framework.TestCase;
-
-import org.jboss.services.binding.DuplicateServiceException;
-import org.jboss.services.binding.NoSuchBindingException;
-import org.jboss.services.binding.ServiceBinding;
-import org.jboss.services.binding.impl.PojoServiceBindingStore;
-import org.jboss.services.binding.impl.ServiceBindingSet;
-
-/**
- * Tests of PojoServiceBindingStore.
- *
- * @author Brian Stansberry
- * @version $Revision$
- */
-public class PojoServiceBindingStoreUnitTestCase extends TestCase
-{
- private static final String A = "A";
- private static final String B = "B";
- private static final String C = "C";
- private static final String D = "D";
-
- private static ServiceBinding AA;
- private static ServiceBinding AB;
- private static ServiceBinding Anull;
-
- private Map<String, ServiceBindingSet> bindings = new HashMap<String, ServiceBindingSet>();
-
- /**
- * Create a new PojoServiceBindingStoreUnitTestCase.
- *
- * @param name
- */
- public PojoServiceBindingStoreUnitTestCase(String name)
- {
- super(name);
- }
- @Override
- protected void setUp() throws Exception
- {
- super.setUp();
-
- AA = new ServiceBinding(A, A, "localhost", 1);
- AB = new ServiceBinding(A, B, "localhost", 1);
- Anull = new ServiceBinding(A, null, "localhost", 1);
-
- Set<ServiceBinding> set = new HashSet<ServiceBinding>();
- set.addAll(Arrays.asList(AA, AB, Anull));
- ServiceBindingSet sbs = new ServiceBindingSet(set);
- bindings.put(A, sbs);
- bindings.put(B, sbs);
- bindings.put(C, sbs);
- }
-
- public void testGetServiceBinding() throws Exception
- {
- PojoServiceBindingStore store = new PojoServiceBindingStore(bindings);
-
- assertEquals(AA, store.getServiceBinding(A, A, A));
- assertEquals(AA, store.getServiceBinding(B, A, A));
- assertEquals(AA, store.getServiceBinding(C, A, A));
-
- assertEquals(AB, store.getServiceBinding(A, A, B));
- assertEquals(AB, store.getServiceBinding(B, A, B));
- assertEquals(AB, store.getServiceBinding(C, A, B));
-
- assertEquals(Anull, store.getServiceBinding(A, A, null));
- assertEquals(Anull, store.getServiceBinding(B, A, null));
- assertEquals(Anull, store.getServiceBinding(C, A, null));
-
- try
- {
- store.getServiceBinding(D, A, A);
- fail("invalid");
- }
- catch (NoSuchBindingException e) {}
-
- try
- {
- store.getServiceBinding(A, B, A);
- fail("invalid");
- }
- catch (NoSuchBindingException e) {}
-
- try
- {
- store.getServiceBinding(A, B, null);
- fail("invalid");
- }
- catch (NoSuchBindingException e) {}
- }
-
- public void testAddServiceBinding() throws Exception
- {
- PojoServiceBindingStore store = new PojoServiceBindingStore(bindings);
-
- ServiceBinding new1 = new ServiceBinding(B, A, "localhost", 1);
- store.addServiceBinding(A, new1);
- store.addServiceBinding(B, new1);
- store.addServiceBinding(C, new1);
-
- assertEquals(new1, store.getServiceBinding(A, B, A));
- assertEquals(new1, store.getServiceBinding(B, B, A));
- assertEquals(new1, store.getServiceBinding(C, B, A));
-
- ServiceBinding new2 = new ServiceBinding(B, A, "localhost", 2);
- try
- {
- store.addServiceBinding(D, new2);
- fail("add for unknown binding set succeeded");
- }
- catch (IllegalArgumentException good) {}
-
- try
- {
- store.addServiceBinding(A, new2);
- fail("duplicate add succeeded");
- }
- catch (DuplicateServiceException good) {}
- }
-
- public void testRemoveServiceBinding() throws Exception
- {
- PojoServiceBindingStore store = new PojoServiceBindingStore(bindings);
-
- store.removeServiceBinding(A, AA);
-
- try
- {
- store.getServiceBinding(A, A, A);
- fail("invalid");
- }
- catch (NoSuchBindingException e) {}
-
- store.removeServiceBinding(B, A, A);
-
- try
- {
- store.getServiceBinding(B, A, A);
- fail("invalid");
- }
- catch (NoSuchBindingException e) {}
-
- store.removeServiceBinding(A, Anull);
-
- try
- {
- store.getServiceBinding(A, A, null);
- fail("invalid");
- }
- catch (NoSuchBindingException e) {}
-
- store.removeServiceBinding(B, A, null);
-
- try
- {
- store.getServiceBinding(B, A, null);
- fail("invalid");
- }
- catch (NoSuchBindingException e) {}
-
- ServiceBinding new1 = new ServiceBinding(B, A, "localhost", 1);
- store.removeServiceBinding(A, new1);
- store.removeServiceBinding(A, B, A);
- }
-
-
- public void testAddServiceBindingToAll() throws Exception
- {
- Set<ServiceBinding> set = new HashSet<ServiceBinding>();
- set.addAll(Arrays.asList(AA, AB, Anull));
-
- ServiceBindingSet sbs = new ServiceBindingSet(set, 10, null);
- Map<String, ServiceBindingSet> map = new HashMap<String, ServiceBindingSet>();
- map.put(A, sbs);
-
- sbs = new ServiceBindingSet(set, 20, "localhost");
- map.put(B, sbs);
-
- sbs = new ServiceBindingSet(set, 30, "192.168.0.10");
- map.put(C, sbs);
-
- PojoServiceBindingStore store = new PojoServiceBindingStore(map);
-
- ServiceBinding new1 = new ServiceBinding(B, A, "192.168.0.22", 1);
- store.addServiceBinding(new1);
-
- InetAddress address = InetAddress.getByName("192.168.0.22");
-
- ServiceBinding got = store.getServiceBinding(A, B, A);
- assertEquals(new1, got);
- assertEquals(11, got.getPort());
- assertEquals("192.168.0.22", got.getHostName());
- assertEquals(address, got.getBindAddress());
-
- got = store.getServiceBinding(B, B, A);
- assertEquals(new1, got);
- assertEquals(21, got.getPort());
- assertEquals("192.168.0.22", got.getHostName());
- assertEquals(address, got.getBindAddress());
-
- got = store.getServiceBinding(C, B, A);
- assertEquals(new1, got);
- assertEquals(31, got.getPort());
- assertEquals("192.168.0.22", got.getHostName());
- assertEquals(address, got.getBindAddress());
-
- ServiceBinding new2 = new ServiceBinding(B, A, "localhost", 2);
- try
- {
- store.addServiceBinding(new2);
- fail("duplicate add succeeded");
- }
- catch (DuplicateServiceException good) {}
-
- ServiceBinding new3 = new ServiceBinding(C, C, null, 3);
- store.addServiceBinding(new3);
-
- got = store.getServiceBinding(A, C, C);
- assertEquals(new3, got);
- assertEquals(13, got.getPort());
- assertNull(got.getHostName());
- assertEquals(InetAddress.getByName(null), got.getBindAddress());
-
- got = store.getServiceBinding(B, C, C);
- assertEquals(new3, got);
- assertEquals(23, got.getPort());
- assertEquals("localhost", got.getHostName());
- assertEquals(InetAddress.getByName("localhost"), got.getBindAddress());
-
- got = store.getServiceBinding(C, C, C);
- assertEquals(new3, got);
- assertEquals(33, got.getPort());
- assertEquals("192.168.0.10", got.getHostName());
- assertEquals(InetAddress.getByName("192.168.0.10"), got.getBindAddress());
-
- }
-
- public void testRemoveServiceBindingFromAll() throws Exception
- {
- PojoServiceBindingStore store = new PojoServiceBindingStore(bindings);
-
- store.removeServiceBinding(AA);
-
- try
- {
- store.getServiceBinding(A, A, A);
- fail("invalid");
- }
- catch (NoSuchBindingException e) {}
-
- store.removeServiceBinding(B, A, A);
-
- try
- {
- store.getServiceBinding(B, A, A);
- fail("invalid");
- }
- catch (NoSuchBindingException e) {}
-
- try
- {
- store.getServiceBinding(C, A, A);
- fail("invalid");
- }
- catch (NoSuchBindingException e) {}
-
- String nullA = null;
- store.removeServiceBinding(A, nullA);
-
- try
- {
- store.getServiceBinding(A, A, null);
- fail("invalid");
- }
- catch (NoSuchBindingException e) {}
-
- try
- {
- store.getServiceBinding(B, A, null);
- fail("invalid");
- }
- catch (NoSuchBindingException e) {}
-
- try
- {
- store.getServiceBinding(C, A, null);
- fail("invalid");
- }
- catch (NoSuchBindingException e) {}
-
- ServiceBinding new1 = new ServiceBinding(B, A, "localhost", 1);
- store.removeServiceBinding(new1);
- store.removeServiceBinding(B, A);
- }
-
- public void testDefaultDefaults() throws Exception
- {
- PojoServiceBindingStore store = new PojoServiceBindingStore(bindings);
-
- String[] names = {A, B, C};
-
- for (String name :names)
- {
- assertNull(store.getDefaultHostName(name));
- assertNull(store.getDefaultBindAddress(name));
- assertEquals(0, store.getDefaultPortOffset(name));
- }
- }
-
- public void testDefaults() throws Exception
- {
- Set<ServiceBinding> set = new HashSet<ServiceBinding>();
- set.addAll(Arrays.asList(AA, AB, Anull));
-
- ServiceBindingSet sbs = new ServiceBindingSet(set, 10, null);
- Map<String, ServiceBindingSet> map = new HashMap<String, ServiceBindingSet>();
- map.put(A, sbs);
-
- sbs = new ServiceBindingSet(set, 20, "localhost");
- map.put(B, sbs);
-
- sbs = new ServiceBindingSet(set, 30, "192.168.0.10");
- map.put(C, sbs);
-
- PojoServiceBindingStore store = new PojoServiceBindingStore(map);
-
- assertNull(store.getDefaultHostName(A));
- assertNull(store.getDefaultBindAddress(A));
- assertEquals(10, store.getDefaultPortOffset(A));
-
- assertEquals("localhost", store.getDefaultHostName(B));
- assertEquals(InetAddress.getByName("localhost"), store.getDefaultBindAddress(B));
- assertEquals(20, store.getDefaultPortOffset(B));
-
- assertEquals("192.168.0.10", store.getDefaultHostName(C));
- assertEquals(InetAddress.getByName("192.168.0.10"), store.getDefaultBindAddress(C));
- assertEquals(30, store.getDefaultPortOffset(C));
- }
-
-
-}
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.test.services.binding.test;
+
+import java.net.InetAddress;
+import java.util.Arrays;
+import java.util.HashMap;
+import java.util.HashSet;
+import java.util.Map;
+import java.util.Set;
+
+import junit.framework.TestCase;
+
+import org.jboss.services.binding.DuplicateServiceException;
+import org.jboss.services.binding.NoSuchBindingException;
+import org.jboss.services.binding.ServiceBinding;
+import org.jboss.services.binding.impl.PojoServiceBindingStore;
+import org.jboss.services.binding.impl.ServiceBindingSet;
+
+/**
+ * Tests of PojoServiceBindingStore.
+ *
+ * @author Brian Stansberry
+ * @version $Revision$
+ */
+public class PojoServiceBindingStoreUnitTestCase extends TestCase
+{
+ private static final String A = "A";
+ private static final String B = "B";
+ private static final String C = "C";
+ private static final String D = "D";
+
+ private static ServiceBinding AA;
+ private static ServiceBinding AB;
+ private static ServiceBinding Anull;
+
+ private Map<String, ServiceBindingSet> bindings = new HashMap<String, ServiceBindingSet>();
+
+ /**
+ * Create a new PojoServiceBindingStoreUnitTestCase.
+ *
+ * @param name
+ */
+ public PojoServiceBindingStoreUnitTestCase(String name)
+ {
+ super(name);
+ }
+ @Override
+ protected void setUp() throws Exception
+ {
+ super.setUp();
+
+ AA = new ServiceBinding(A, A, "localhost", 1);
+ AB = new ServiceBinding(A, B, "localhost", 1);
+ Anull = new ServiceBinding(A, null, "localhost", 1);
+
+ Set<ServiceBinding> set = new HashSet<ServiceBinding>();
+ set.addAll(Arrays.asList(AA, AB, Anull));
+ ServiceBindingSet sbs = new ServiceBindingSet(set);
+ bindings.put(A, sbs);
+ bindings.put(B, sbs);
+ bindings.put(C, sbs);
+ }
+
+ public void testGetServiceBinding() throws Exception
+ {
+ PojoServiceBindingStore store = new PojoServiceBindingStore(bindings);
+
+ assertEquals(AA, store.getServiceBinding(A, A, A));
+ assertEquals(AA, store.getServiceBinding(B, A, A));
+ assertEquals(AA, store.getServiceBinding(C, A, A));
+
+ assertEquals(AB, store.getServiceBinding(A, A, B));
+ assertEquals(AB, store.getServiceBinding(B, A, B));
+ assertEquals(AB, store.getServiceBinding(C, A, B));
+
+ assertEquals(Anull, store.getServiceBinding(A, A, null));
+ assertEquals(Anull, store.getServiceBinding(B, A, null));
+ assertEquals(Anull, store.getServiceBinding(C, A, null));
+
+ try
+ {
+ store.getServiceBinding(D, A, A);
+ fail("invalid");
+ }
+ catch (NoSuchBindingException e) {}
+
+ try
+ {
+ store.getServiceBinding(A, B, A);
+ fail("invalid");
+ }
+ catch (NoSuchBindingException e) {}
+
+ try
+ {
+ store.getServiceBinding(A, B, null);
+ fail("invalid");
+ }
+ catch (NoSuchBindingException e) {}
+ }
+
+ public void testAddServiceBinding() throws Exception
+ {
+ PojoServiceBindingStore store = new PojoServiceBindingStore(bindings);
+
+ ServiceBinding new1 = new ServiceBinding(B, A, "localhost", 1);
+ store.addServiceBinding(A, new1);
+ store.addServiceBinding(B, new1);
+ store.addServiceBinding(C, new1);
+
+ assertEquals(new1, store.getServiceBinding(A, B, A));
+ assertEquals(new1, store.getServiceBinding(B, B, A));
+ assertEquals(new1, store.getServiceBinding(C, B, A));
+
+ ServiceBinding new2 = new ServiceBinding(B, A, "localhost", 2);
+ try
+ {
+ store.addServiceBinding(D, new2);
+ fail("add for unknown binding set succeeded");
+ }
+ catch (IllegalArgumentException good) {}
+
+ try
+ {
+ store.addServiceBinding(A, new2);
+ fail("duplicate add succeeded");
+ }
+ catch (DuplicateServiceException good) {}
+ }
+
+ public void testRemoveServiceBinding() throws Exception
+ {
+ PojoServiceBindingStore store = new PojoServiceBindingStore(bindings);
+
+ store.removeServiceBinding(A, AA);
+
+ try
+ {
+ store.getServiceBinding(A, A, A);
+ fail("invalid");
+ }
+ catch (NoSuchBindingException e) {}
+
+ store.removeServiceBinding(B, A, A);
+
+ try
+ {
+ store.getServiceBinding(B, A, A);
+ fail("invalid");
+ }
+ catch (NoSuchBindingException e) {}
+
+ store.removeServiceBinding(A, Anull);
+
+ try
+ {
+ store.getServiceBinding(A, A, null);
+ fail("invalid");
+ }
+ catch (NoSuchBindingException e) {}
+
+ store.removeServiceBinding(B, A, null);
+
+ try
+ {
+ store.getServiceBinding(B, A, null);
+ fail("invalid");
+ }
+ catch (NoSuchBindingException e) {}
+
+ ServiceBinding new1 = new ServiceBinding(B, A, "localhost", 1);
+ store.removeServiceBinding(A, new1);
+ store.removeServiceBinding(A, B, A);
+ }
+
+
+ public void testAddServiceBindingToAll() throws Exception
+ {
+ Set<ServiceBinding> set = new HashSet<ServiceBinding>();
+ set.addAll(Arrays.asList(AA, AB, Anull));
+
+ ServiceBindingSet sbs = new ServiceBindingSet(set, 10, null);
+ Map<String, ServiceBindingSet> map = new HashMap<String, ServiceBindingSet>();
+ map.put(A, sbs);
+
+ sbs = new ServiceBindingSet(set, 20, "localhost");
+ map.put(B, sbs);
+
+ sbs = new ServiceBindingSet(set, 30, "192.168.0.10");
+ map.put(C, sbs);
+
+ PojoServiceBindingStore store = new PojoServiceBindingStore(map);
+
+ ServiceBinding new1 = new ServiceBinding(B, A, "192.168.0.22", 1);
+ store.addServiceBinding(new1);
+
+ InetAddress address = InetAddress.getByName("192.168.0.22");
+
+ ServiceBinding got = store.getServiceBinding(A, B, A);
+ assertEquals(new1, got);
+ assertEquals(11, got.getPort());
+ assertEquals("192.168.0.22", got.getHostName());
+ assertEquals(address, got.getBindAddress());
+
+ got = store.getServiceBinding(B, B, A);
+ assertEquals(new1, got);
+ assertEquals(21, got.getPort());
+ assertEquals("192.168.0.22", got.getHostName());
+ assertEquals(address, got.getBindAddress());
+
+ got = store.getServiceBinding(C, B, A);
+ assertEquals(new1, got);
+ assertEquals(31, got.getPort());
+ assertEquals("192.168.0.22", got.getHostName());
+ assertEquals(address, got.getBindAddress());
+
+ ServiceBinding new2 = new ServiceBinding(B, A, "localhost", 2);
+ try
+ {
+ store.addServiceBinding(new2);
+ fail("duplicate add succeeded");
+ }
+ catch (DuplicateServiceException good) {}
+
+ ServiceBinding new3 = new ServiceBinding(C, C, null, 3);
+ store.addServiceBinding(new3);
+
+ got = store.getServiceBinding(A, C, C);
+ assertEquals(new3, got);
+ assertEquals(13, got.getPort());
+ assertNull(got.getHostName());
+ assertEquals(InetAddress.getByName(null), got.getBindAddress());
+
+ got = store.getServiceBinding(B, C, C);
+ assertEquals(new3, got);
+ assertEquals(23, got.getPort());
+ assertEquals("localhost", got.getHostName());
+ assertEquals(InetAddress.getByName("localhost"), got.getBindAddress());
+
+ got = store.getServiceBinding(C, C, C);
+ assertEquals(new3, got);
+ assertEquals(33, got.getPort());
+ assertEquals("192.168.0.10", got.getHostName());
+ assertEquals(InetAddress.getByName("192.168.0.10"), got.getBindAddress());
+
+ }
+
+ public void testRemoveServiceBindingFromAll() throws Exception
+ {
+ PojoServiceBindingStore store = new PojoServiceBindingStore(bindings);
+
+ store.removeServiceBinding(AA);
+
+ try
+ {
+ store.getServiceBinding(A, A, A);
+ fail("invalid");
+ }
+ catch (NoSuchBindingException e) {}
+
+ store.removeServiceBinding(B, A, A);
+
+ try
+ {
+ store.getServiceBinding(B, A, A);
+ fail("invalid");
+ }
+ catch (NoSuchBindingException e) {}
+
+ try
+ {
+ store.getServiceBinding(C, A, A);
+ fail("invalid");
+ }
+ catch (NoSuchBindingException e) {}
+
+ String nullA = null;
+ store.removeServiceBinding(A, nullA);
+
+ try
+ {
+ store.getServiceBinding(A, A, null);
+ fail("invalid");
+ }
+ catch (NoSuchBindingException e) {}
+
+ try
+ {
+ store.getServiceBinding(B, A, null);
+ fail("invalid");
+ }
+ catch (NoSuchBindingException e) {}
+
+ try
+ {
+ store.getServiceBinding(C, A, null);
+ fail("invalid");
+ }
+ catch (NoSuchBindingException e) {}
+
+ ServiceBinding new1 = new ServiceBinding(B, A, "localhost", 1);
+ store.removeServiceBinding(new1);
+ store.removeServiceBinding(B, A);
+ }
+
+ public void testDefaultDefaults() throws Exception
+ {
+ PojoServiceBindingStore store = new PojoServiceBindingStore(bindings);
+
+ String[] names = {A, B, C};
+
+ for (String name :names)
+ {
+ assertNull(store.getDefaultHostName(name));
+ assertNull(store.getDefaultBindAddress(name));
+ assertEquals(0, store.getDefaultPortOffset(name));
+ }
+ }
+
+ public void testDefaults() throws Exception
+ {
+ Set<ServiceBinding> set = new HashSet<ServiceBinding>();
+ set.addAll(Arrays.asList(AA, AB, Anull));
+
+ ServiceBindingSet sbs = new ServiceBindingSet(set, 10, null);
+ Map<String, ServiceBindingSet> map = new HashMap<String, ServiceBindingSet>();
+ map.put(A, sbs);
+
+ sbs = new ServiceBindingSet(set, 20, "localhost");
+ map.put(B, sbs);
+
+ sbs = new ServiceBindingSet(set, 30, "192.168.0.10");
+ map.put(C, sbs);
+
+ PojoServiceBindingStore store = new PojoServiceBindingStore(map);
+
+ assertNull(store.getDefaultHostName(A));
+ assertNull(store.getDefaultBindAddress(A));
+ assertEquals(10, store.getDefaultPortOffset(A));
+
+ assertEquals("localhost", store.getDefaultHostName(B));
+ assertEquals(InetAddress.getByName("localhost"), store.getDefaultBindAddress(B));
+ assertEquals(20, store.getDefaultPortOffset(B));
+
+ assertEquals("192.168.0.10", store.getDefaultHostName(C));
+ assertEquals(InetAddress.getByName("192.168.0.10"), store.getDefaultBindAddress(C));
+ assertEquals(30, store.getDefaultPortOffset(C));
+ }
+
+
+}
Modified: trunk/varia/src/tests/org/jboss/test/services/binding/test/ServiceBindingSetUnitTestCase.java
===================================================================
--- trunk/varia/src/tests/org/jboss/test/services/binding/test/ServiceBindingSetUnitTestCase.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/tests/org/jboss/test/services/binding/test/ServiceBindingSetUnitTestCase.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,154 +1,154 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2008, 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.test.services.binding.test;
-
-import java.net.InetAddress;
-import java.net.UnknownHostException;
-import java.util.Arrays;
-import java.util.HashSet;
-import java.util.Set;
-
-import junit.framework.TestCase;
-
-import org.jboss.services.binding.ServiceBinding;
-import org.jboss.services.binding.impl.ServiceBindingSet;
-
-/**
- * A ServiceBindingSetUnitTestCase.
- *
- * @author Brian Stansberry
- * @version $Revision$
- */
-public class ServiceBindingSetUnitTestCase extends TestCase
-{
- private static final String A = "A";
- private static final String B = "B";
-
- private static ServiceBinding AA;
- private static ServiceBinding AB;
- private static ServiceBinding Anull;
-
- private Set<ServiceBinding> bindings = new HashSet<ServiceBinding>();
-
- /**
- * Create a new ServiceBindingSetUnitTestCase.
- *
- * @param name
- */
- public ServiceBindingSetUnitTestCase(String name)
- {
- super(name);
- }
-
- protected void setUp() throws Exception
- {
- super.setUp();
-
- AA = new ServiceBinding(A, A, "localhost", 1);
- AB = new ServiceBinding(A, B, "localhost", 1);
- Anull = new ServiceBinding(A, null, "localhost", 1);
-
- bindings.addAll(Arrays.asList(AA, AB, Anull));
- }
-
- public void testBasicConstructor() throws UnknownHostException
- {
- ServiceBindingSet set = new ServiceBindingSet(bindings);
- for (ServiceBinding binding : set)
- {
- assertEquals(1, binding.getPort());
- assertTrue(bindings.remove(binding));
- }
-
- assertEquals(0, bindings.size());
-
- assertNull(set.getDefaultHostName());
- assertNull(set.getDefaultBindAddress());
- assertEquals(0, set.getPortOffset());
- }
-
- /**
- * Test method for {@link org.jboss.services.binding.impl.ServiceBindingSet#PortOffsetServiceBindingSet(java.util.Set, int)}.
- * @throws UnknownHostException
- */
- public void testOffsetConstructor() throws UnknownHostException
- {
- ServiceBindingSet set = new ServiceBindingSet(bindings, 5);
- for (ServiceBinding binding : set)
- {
- assertEquals(6, binding.getPort());
- assertTrue(bindings.remove(binding));
- }
-
- assertEquals(0, bindings.size());
-
- assertNull(set.getDefaultHostName());
- assertNull(set.getDefaultBindAddress());
- assertEquals(5, set.getPortOffset());
- }
-
- public void testOffsetConstructorWithDefaultHost() throws UnknownHostException
- {
- ServiceBindingSet set = new ServiceBindingSet(bindings, 5, "192.168.0.10");
- for (ServiceBinding binding : set)
- {
- assertEquals(6, binding.getPort());
- assertTrue(bindings.remove(binding));
- }
-
- assertEquals(0, bindings.size());
-
- assertEquals("192.168.0.10", set.getDefaultHostName());
- assertEquals(InetAddress.getByName("192.168.0.10"), set.getDefaultBindAddress());
- assertEquals(5, set.getPortOffset());
- }
-
- /**
- * Test method for {@link org.jboss.services.binding.impl.ServiceBindingSet#PortOffsetServiceBindingSet(java.util.Set, int, java.util.Set)}.
- * @throws UnknownHostException
- */
- public void testOverrideConstructor() throws UnknownHostException
- {
- ServiceBinding bb = new ServiceBinding(B, B, "localhost", 1);
- Set<ServiceBinding> overrides = new HashSet<ServiceBinding>();
- overrides.add(bb);
- overrides.add(AA);
-
- ServiceBindingSet set = new ServiceBindingSet(bindings, 10, overrides, "192.168.0.10");
- for (ServiceBinding binding : set)
- {
- boolean override = overrides.remove(binding);
- assertEquals(override ? 1 : 11, binding.getPort());
- assertTrue(bindings.remove(binding) || override);
-
- }
-
- assertEquals(0, overrides.size());
- assertEquals(0, bindings.size());
-
- assertEquals("192.168.0.10", set.getDefaultHostName());
- assertEquals(InetAddress.getByName("192.168.0.10"), set.getDefaultBindAddress());
- assertEquals(10, set.getPortOffset());
- }
-
-}
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.test.services.binding.test;
+
+import java.net.InetAddress;
+import java.net.UnknownHostException;
+import java.util.Arrays;
+import java.util.HashSet;
+import java.util.Set;
+
+import junit.framework.TestCase;
+
+import org.jboss.services.binding.ServiceBinding;
+import org.jboss.services.binding.impl.ServiceBindingSet;
+
+/**
+ * A ServiceBindingSetUnitTestCase.
+ *
+ * @author Brian Stansberry
+ * @version $Revision$
+ */
+public class ServiceBindingSetUnitTestCase extends TestCase
+{
+ private static final String A = "A";
+ private static final String B = "B";
+
+ private static ServiceBinding AA;
+ private static ServiceBinding AB;
+ private static ServiceBinding Anull;
+
+ private Set<ServiceBinding> bindings = new HashSet<ServiceBinding>();
+
+ /**
+ * Create a new ServiceBindingSetUnitTestCase.
+ *
+ * @param name
+ */
+ public ServiceBindingSetUnitTestCase(String name)
+ {
+ super(name);
+ }
+
+ protected void setUp() throws Exception
+ {
+ super.setUp();
+
+ AA = new ServiceBinding(A, A, "localhost", 1);
+ AB = new ServiceBinding(A, B, "localhost", 1);
+ Anull = new ServiceBinding(A, null, "localhost", 1);
+
+ bindings.addAll(Arrays.asList(AA, AB, Anull));
+ }
+
+ public void testBasicConstructor() throws UnknownHostException
+ {
+ ServiceBindingSet set = new ServiceBindingSet(bindings);
+ for (ServiceBinding binding : set)
+ {
+ assertEquals(1, binding.getPort());
+ assertTrue(bindings.remove(binding));
+ }
+
+ assertEquals(0, bindings.size());
+
+ assertNull(set.getDefaultHostName());
+ assertNull(set.getDefaultBindAddress());
+ assertEquals(0, set.getPortOffset());
+ }
+
+ /**
+ * Test method for {@link org.jboss.services.binding.impl.ServiceBindingSet#PortOffsetServiceBindingSet(java.util.Set, int)}.
+ * @throws UnknownHostException
+ */
+ public void testOffsetConstructor() throws UnknownHostException
+ {
+ ServiceBindingSet set = new ServiceBindingSet(bindings, 5);
+ for (ServiceBinding binding : set)
+ {
+ assertEquals(6, binding.getPort());
+ assertTrue(bindings.remove(binding));
+ }
+
+ assertEquals(0, bindings.size());
+
+ assertNull(set.getDefaultHostName());
+ assertNull(set.getDefaultBindAddress());
+ assertEquals(5, set.getPortOffset());
+ }
+
+ public void testOffsetConstructorWithDefaultHost() throws UnknownHostException
+ {
+ ServiceBindingSet set = new ServiceBindingSet(bindings, 5, "192.168.0.10");
+ for (ServiceBinding binding : set)
+ {
+ assertEquals(6, binding.getPort());
+ assertTrue(bindings.remove(binding));
+ }
+
+ assertEquals(0, bindings.size());
+
+ assertEquals("192.168.0.10", set.getDefaultHostName());
+ assertEquals(InetAddress.getByName("192.168.0.10"), set.getDefaultBindAddress());
+ assertEquals(5, set.getPortOffset());
+ }
+
+ /**
+ * Test method for {@link org.jboss.services.binding.impl.ServiceBindingSet#PortOffsetServiceBindingSet(java.util.Set, int, java.util.Set)}.
+ * @throws UnknownHostException
+ */
+ public void testOverrideConstructor() throws UnknownHostException
+ {
+ ServiceBinding bb = new ServiceBinding(B, B, "localhost", 1);
+ Set<ServiceBinding> overrides = new HashSet<ServiceBinding>();
+ overrides.add(bb);
+ overrides.add(AA);
+
+ ServiceBindingSet set = new ServiceBindingSet(bindings, 10, overrides, "192.168.0.10");
+ for (ServiceBinding binding : set)
+ {
+ boolean override = overrides.remove(binding);
+ assertEquals(override ? 1 : 11, binding.getPort());
+ assertTrue(bindings.remove(binding) || override);
+
+ }
+
+ assertEquals(0, overrides.size());
+ assertEquals(0, bindings.size());
+
+ assertEquals("192.168.0.10", set.getDefaultHostName());
+ assertEquals(InetAddress.getByName("192.168.0.10"), set.getDefaultBindAddress());
+ assertEquals(10, set.getPortOffset());
+ }
+
+}
Modified: trunk/varia/src/tests/org/jboss/test/services/binding/test/ServiceBindingTestBase.java
===================================================================
--- trunk/varia/src/tests/org/jboss/test/services/binding/test/ServiceBindingTestBase.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/tests/org/jboss/test/services/binding/test/ServiceBindingTestBase.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,184 +1,184 @@
-package org.jboss.test.services.binding.test;
-
-import java.beans.PropertyEditor;
-import java.beans.PropertyEditorManager;
-import java.io.File;
-import java.io.FileInputStream;
-import java.io.InputStreamReader;
-import java.io.Reader;
-import java.net.URL;
-import java.net.URLConnection;
-import java.util.HashMap;
-import java.util.Map;
-
-import javax.xml.parsers.DocumentBuilder;
-import javax.xml.parsers.DocumentBuilderFactory;
-
-import org.jboss.bootstrap.spi.ServerConfig;
-import org.jboss.services.binding.ServiceBinding;
-import org.jboss.services.binding.impl.XSLTServiceBindingValueSourceConfig;
-import org.jboss.util.propertyeditor.ElementEditor;
-import org.jboss.util.xml.JBossEntityResolver;
-import org.w3c.dom.Document;
-import org.w3c.dom.Element;
-import org.w3c.dom.NodeList;
-import org.xml.sax.InputSource;
-
-import junit.framework.Assert;
-import junit.framework.TestCase;
-
-/**
- * Base class for service binding manager related test classes.
- *
- * @author Brian Stansberry
- * @version $Revision$
- */
-public abstract class ServiceBindingTestBase extends TestCase
-{
- protected static final String SVC_NAME = "SVC";
- protected static final String BINDING_NAME = "BIND";
- protected static final String HOST = "192.168.0.10";
- protected static final int PORT = 999;
- protected static final String HOST_MARKER = "${host}";
- protected static final String PORT_MARKER = "${port}";
- protected static final String ELEMENT_INPUT = "<element host=\"" + HOST_MARKER + "\">" + PORT_MARKER + "</element>";
-
- protected static final String OTHER_PARAM = "other";
- protected static final String OTHER_VALUE = "ABC";
- protected static final String XSL_INPUT = getFullyQualifiedResourceName("xslt_input.xml");
-
- protected ServiceBinding binding;
-
- private PropertyEditor existingElementEditor;
- private String serverTempDir;
-
- public ServiceBindingTestBase()
- {
- super();
- }
-
- public ServiceBindingTestBase(String name)
- {
- super(name);
- }
-
- @Override
- protected void setUp() throws Exception
- {
- super.setUp();
-
- existingElementEditor = PropertyEditorManager.findEditor(Element.class);
- if (existingElementEditor == null)
- PropertyEditorManager.registerEditor(Element.class, ElementEditor.class);
-
- serverTempDir = System.getProperty(ServerConfig.SERVER_TEMP_DIR);
- if (serverTempDir == null)
- System.setProperty(ServerConfig.SERVER_TEMP_DIR, System.getProperty("java.io.tmpdir"));
-
- binding = new ServiceBinding(SVC_NAME, BINDING_NAME, HOST, PORT);
- }
-
- @Override
- protected void tearDown() throws Exception
- {
- if (existingElementEditor == null)
- PropertyEditorManager.registerEditor(Element.class, null);
- if (serverTempDir == null)
- System.clearProperty(ServerConfig.SERVER_TEMP_DIR);
-
- super.tearDown();
- }
-
- public static String getFullyQualifiedResourceName(String unqualified)
- {
- String base = ServiceBindingTestBase.class.getPackage().getName();
- base = base.replace('.', '/');
- return base + "/" + unqualified;
- }
-
- protected void validateOutputElement(Element output)
- {
- assertNotNull(output);
- assertEquals(HOST, output.getAttribute("host"));
- assertEquals(String.valueOf(PORT), output.getFirstChild().getNodeValue());
- }
-
- protected void validateXSLTOutputElement(Element output)
- {
- assertNotNull(output);
- NodeList children = output.getElementsByTagName("attribute");
- assertEquals(3, children.getLength());
- for (int i = 0; i < children.getLength(); i++)
- {
- Element e = (Element) children.item(i);
- String name = e.getAttribute("name");
- if ("host".equals(name))
- assertEquals(HOST, e.getFirstChild().getNodeValue());
- else if ("port".equals(name))
- assertEquals(String.valueOf(PORT), e.getFirstChild().getNodeValue());
- else if ("other".equals(name))
- assertEquals(OTHER_VALUE, e.getFirstChild().getNodeValue());
- else
- fail("Unknown attribute name " + name);
- }
- }
-
- public static Element getDocumentElement(String filename) throws Exception
- {
- File f = new File(filename);
- Assert.assertTrue(f.exists());
- Assert.assertFalse(f.isDirectory());
- InputStreamReader reader = new InputStreamReader(new FileInputStream(f));
- return getDocumentElement(reader);
- }
-
- public static Element getDocumentElementFromClasspath(String resourcename) throws Exception
- {
- ClassLoader cl = Thread.currentThread().getContextClassLoader();
- InputStreamReader reader = new InputStreamReader(cl.getResourceAsStream(resourcename));
- return getDocumentElement(reader);
- }
-
- public static Element getDocumentElement(URL url) throws Exception
- {
- URLConnection conn = url.openConnection();
- conn.connect();
- InputStreamReader reader = new InputStreamReader(url.openStream());
- return getDocumentElement(reader);
- }
-
- public static Element getDocumentElement(Reader reader) throws Exception
- {
- DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
- DocumentBuilder parser = factory.newDocumentBuilder();
- try
- {
-
- InputSource is = new InputSource(reader);
-// is.setSystemId(url.toString());
- parser.setEntityResolver(new JBossEntityResolver());
-
- Document document = parser.parse(is);
- return document.getDocumentElement();
- }
- finally
- {
- reader.close();
- }
-
- }
-
- public static XSLTServiceBindingValueSourceConfig getXSLTConfig() throws Exception
- {
- Element element = getDocumentElementFromClasspath(getFullyQualifiedResourceName("xslt.xml"));
- String xslt = element.getFirstChild().getNodeValue();
-
- Map<String, String> addlParams = new HashMap<String, String>();
- addlParams.put(OTHER_PARAM, OTHER_VALUE);
-
- return new XSLTServiceBindingValueSourceConfig(xslt, addlParams);
- }
-
-
-
+package org.jboss.test.services.binding.test;
+
+import java.beans.PropertyEditor;
+import java.beans.PropertyEditorManager;
+import java.io.File;
+import java.io.FileInputStream;
+import java.io.InputStreamReader;
+import java.io.Reader;
+import java.net.URL;
+import java.net.URLConnection;
+import java.util.HashMap;
+import java.util.Map;
+
+import javax.xml.parsers.DocumentBuilder;
+import javax.xml.parsers.DocumentBuilderFactory;
+
+import org.jboss.bootstrap.spi.ServerConfig;
+import org.jboss.services.binding.ServiceBinding;
+import org.jboss.services.binding.impl.XSLTServiceBindingValueSourceConfig;
+import org.jboss.util.propertyeditor.ElementEditor;
+import org.jboss.util.xml.JBossEntityResolver;
+import org.w3c.dom.Document;
+import org.w3c.dom.Element;
+import org.w3c.dom.NodeList;
+import org.xml.sax.InputSource;
+
+import junit.framework.Assert;
+import junit.framework.TestCase;
+
+/**
+ * Base class for service binding manager related test classes.
+ *
+ * @author Brian Stansberry
+ * @version $Revision$
+ */
+public abstract class ServiceBindingTestBase extends TestCase
+{
+ protected static final String SVC_NAME = "SVC";
+ protected static final String BINDING_NAME = "BIND";
+ protected static final String HOST = "192.168.0.10";
+ protected static final int PORT = 999;
+ protected static final String HOST_MARKER = "${host}";
+ protected static final String PORT_MARKER = "${port}";
+ protected static final String ELEMENT_INPUT = "<element host=\"" + HOST_MARKER + "\">" + PORT_MARKER + "</element>";
+
+ protected static final String OTHER_PARAM = "other";
+ protected static final String OTHER_VALUE = "ABC";
+ protected static final String XSL_INPUT = getFullyQualifiedResourceName("xslt_input.xml");
+
+ protected ServiceBinding binding;
+
+ private PropertyEditor existingElementEditor;
+ private String serverTempDir;
+
+ public ServiceBindingTestBase()
+ {
+ super();
+ }
+
+ public ServiceBindingTestBase(String name)
+ {
+ super(name);
+ }
+
+ @Override
+ protected void setUp() throws Exception
+ {
+ super.setUp();
+
+ existingElementEditor = PropertyEditorManager.findEditor(Element.class);
+ if (existingElementEditor == null)
+ PropertyEditorManager.registerEditor(Element.class, ElementEditor.class);
+
+ serverTempDir = System.getProperty(ServerConfig.SERVER_TEMP_DIR);
+ if (serverTempDir == null)
+ System.setProperty(ServerConfig.SERVER_TEMP_DIR, System.getProperty("java.io.tmpdir"));
+
+ binding = new ServiceBinding(SVC_NAME, BINDING_NAME, HOST, PORT);
+ }
+
+ @Override
+ protected void tearDown() throws Exception
+ {
+ if (existingElementEditor == null)
+ PropertyEditorManager.registerEditor(Element.class, null);
+ if (serverTempDir == null)
+ System.clearProperty(ServerConfig.SERVER_TEMP_DIR);
+
+ super.tearDown();
+ }
+
+ public static String getFullyQualifiedResourceName(String unqualified)
+ {
+ String base = ServiceBindingTestBase.class.getPackage().getName();
+ base = base.replace('.', '/');
+ return base + "/" + unqualified;
+ }
+
+ protected void validateOutputElement(Element output)
+ {
+ assertNotNull(output);
+ assertEquals(HOST, output.getAttribute("host"));
+ assertEquals(String.valueOf(PORT), output.getFirstChild().getNodeValue());
+ }
+
+ protected void validateXSLTOutputElement(Element output)
+ {
+ assertNotNull(output);
+ NodeList children = output.getElementsByTagName("attribute");
+ assertEquals(3, children.getLength());
+ for (int i = 0; i < children.getLength(); i++)
+ {
+ Element e = (Element) children.item(i);
+ String name = e.getAttribute("name");
+ if ("host".equals(name))
+ assertEquals(HOST, e.getFirstChild().getNodeValue());
+ else if ("port".equals(name))
+ assertEquals(String.valueOf(PORT), e.getFirstChild().getNodeValue());
+ else if ("other".equals(name))
+ assertEquals(OTHER_VALUE, e.getFirstChild().getNodeValue());
+ else
+ fail("Unknown attribute name " + name);
+ }
+ }
+
+ public static Element getDocumentElement(String filename) throws Exception
+ {
+ File f = new File(filename);
+ Assert.assertTrue(f.exists());
+ Assert.assertFalse(f.isDirectory());
+ InputStreamReader reader = new InputStreamReader(new FileInputStream(f));
+ return getDocumentElement(reader);
+ }
+
+ public static Element getDocumentElementFromClasspath(String resourcename) throws Exception
+ {
+ ClassLoader cl = Thread.currentThread().getContextClassLoader();
+ InputStreamReader reader = new InputStreamReader(cl.getResourceAsStream(resourcename));
+ return getDocumentElement(reader);
+ }
+
+ public static Element getDocumentElement(URL url) throws Exception
+ {
+ URLConnection conn = url.openConnection();
+ conn.connect();
+ InputStreamReader reader = new InputStreamReader(url.openStream());
+ return getDocumentElement(reader);
+ }
+
+ public static Element getDocumentElement(Reader reader) throws Exception
+ {
+ DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
+ DocumentBuilder parser = factory.newDocumentBuilder();
+ try
+ {
+
+ InputSource is = new InputSource(reader);
+// is.setSystemId(url.toString());
+ parser.setEntityResolver(new JBossEntityResolver());
+
+ Document document = parser.parse(is);
+ return document.getDocumentElement();
+ }
+ finally
+ {
+ reader.close();
+ }
+
+ }
+
+ public static XSLTServiceBindingValueSourceConfig getXSLTConfig() throws Exception
+ {
+ Element element = getDocumentElementFromClasspath(getFullyQualifiedResourceName("xslt.xml"));
+ String xslt = element.getFirstChild().getNodeValue();
+
+ Map<String, String> addlParams = new HashMap<String, String>();
+ addlParams.put(OTHER_PARAM, OTHER_VALUE);
+
+ return new XSLTServiceBindingValueSourceConfig(xslt, addlParams);
+ }
+
+
+
}
\ No newline at end of file
Modified: trunk/varia/src/tests/org/jboss/test/services/binding/test/ServiceBindingUnitTestCase.java
===================================================================
--- trunk/varia/src/tests/org/jboss/test/services/binding/test/ServiceBindingUnitTestCase.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/tests/org/jboss/test/services/binding/test/ServiceBindingUnitTestCase.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,147 +1,147 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2008, 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.test.services.binding.test;
-
-import org.jboss.services.binding.ServiceBinding;
-import org.jboss.services.binding.impl.XSLTServiceBindingValueSourceImpl;
-
-import junit.framework.TestCase;
-
-/**
- * Tests of ServiceBinding.
- *
- * @author Brian Stansberry
- * @version $Revision$
- */
-public class ServiceBindingUnitTestCase extends TestCase
-{
-
- /**
- * Create a new ServiceBindingUnitTestCase.
- *
- * @param name
- */
- public ServiceBindingUnitTestCase(String name)
- {
- super(name);
- }
-
- public void testNullServiceName() throws Exception
- {
- try
- {
- new ServiceBinding(null, 1);
- fail("null serviceName should fail");
- }
- catch (IllegalArgumentException good) {}
- }
-
- /**
- * Test method for {@link org.jboss.services.binding.ServiceBinding#getServiceBindingValueSource()}.
- */
- public void testServiceBindingValueSourceClassName() throws Exception
- {
- ServiceBinding binding = new ServiceBinding("test", 1);
- String className = XSLTServiceBindingValueSourceImpl.class.getName();
- binding.setServiceBindingValueSourceClassName(className);
- assertEquals(className, binding.getServiceBindingValueSourceClassName());
- assertTrue(binding.getServiceBindingValueSource() instanceof XSLTServiceBindingValueSourceImpl);
- }
-
- /**
- * Test method for {@link org.jboss.services.binding.ServiceBinding#getOffsetBinding(int)}.
- */
- public void testGetOffsetBinding() throws Exception
- {
- ServiceBinding binding = new ServiceBinding("svc", "binding", "192.168.0.2", 1);
- String className = XSLTServiceBindingValueSourceImpl.class.getName();
- binding.setServiceBindingValueSourceClassName(className);
-
- ServiceBinding binding2 = binding.getOffsetBinding(10);
- assertEquals(binding.getServiceName(), binding2.getServiceName());
- assertEquals(binding.getBindingName(), binding2.getBindingName());
- assertEquals(binding.getHostName(), binding2.getHostName());
- assertEquals(binding.getBindAddress(), binding2.getBindAddress());
-
- assertEquals(1, binding.getPort());
- assertEquals(11, binding2.getPort());
- }
-
- /**
- * Test method for {@link org.jboss.services.binding.ServiceBinding#equals(java.lang.Object)}.
- */
- public void testEquals() throws Exception
- {
- ServiceBinding bindingAA0 = new ServiceBinding("A", "A", "192.168.0.2", 1);
- ServiceBinding bindingAA1 = new ServiceBinding("A", "A", "192.168.0.2", 2);
- ServiceBinding bindingAA2 = new ServiceBinding("A", "A", "192.168.0.1", 1);
- ServiceBinding bindingAB = new ServiceBinding("A", "B", "192.168.0.2", 1);
- ServiceBinding bindingBA = new ServiceBinding("B", "A", "192.168.0.2", 1);
- ServiceBinding bindingAnull = new ServiceBinding("A", null, "192.168.0.2", 1);
- ServiceBinding bindingBnull = new ServiceBinding("B", null, "192.168.0.2", 1);
- ServiceBinding bindingBnull1 = new ServiceBinding("B", null, "192.168.0.2", 2);
-
- assertEquals(bindingAA0, bindingAA1);
- assertEquals(bindingAA0, bindingAA2);
- assertFalse(bindingAA0.equals(bindingAB));
- assertFalse(bindingAA0.equals(bindingBA));
- assertFalse(bindingAB.equals(bindingBA));
- assertFalse(bindingAA0.equals(bindingAnull));
- assertFalse(bindingBA.equals(bindingBnull));
- assertFalse(bindingAnull.equals(bindingBnull));
- assertEquals(bindingBnull, bindingBnull1);
-
- assertFalse(bindingAA0.equals(new Object()));
-
- assertFalse(bindingAA0.equals(null));
- }
-
- /**
- * Test method for {@link org.jboss.services.binding.ServiceBinding#hashCode()}.
- */
- public void testHashCode() throws Exception
- {
- ServiceBinding bindingAA0 = new ServiceBinding("A", "A", "192.168.0.2", 1);
- ServiceBinding bindingAA1 = new ServiceBinding("A", "A", "192.168.0.2", 2);
- ServiceBinding bindingAA2 = new ServiceBinding("A", "A", "192.168.0.1", 1);
- ServiceBinding bindingAB = new ServiceBinding("A", "B", "192.168.0.2", 1);
- ServiceBinding bindingBA = new ServiceBinding("B", "A", "192.168.0.2", 1);
- ServiceBinding bindingAnull = new ServiceBinding("A", null, "192.168.0.2", 1);
- ServiceBinding bindingBnull = new ServiceBinding("B", null, "192.168.0.2", 1);
- ServiceBinding bindingBnull1 = new ServiceBinding("B", null, "192.168.0.2", 2);
-
- assertEquals(bindingAA0.hashCode(), bindingAA1.hashCode());
- assertEquals(bindingAA0.hashCode(), bindingAA2.hashCode());
- assertFalse(bindingAA0.hashCode() == bindingAB.hashCode());
- assertFalse(bindingAA0.hashCode() == bindingBA.hashCode());
-
- // A quirk of the values means these have same hashcode
- assertEquals(bindingAB.hashCode(), bindingBA.hashCode());
-
- assertFalse(bindingAA0.hashCode() == bindingAnull.hashCode());
- assertFalse(bindingBA.hashCode() == bindingBnull.hashCode());
- assertFalse(bindingAnull.hashCode() == bindingBnull.hashCode());
- assertEquals(bindingBnull.hashCode(), bindingBnull1.hashCode());
- }
-
-}
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.test.services.binding.test;
+
+import org.jboss.services.binding.ServiceBinding;
+import org.jboss.services.binding.impl.XSLTServiceBindingValueSourceImpl;
+
+import junit.framework.TestCase;
+
+/**
+ * Tests of ServiceBinding.
+ *
+ * @author Brian Stansberry
+ * @version $Revision$
+ */
+public class ServiceBindingUnitTestCase extends TestCase
+{
+
+ /**
+ * Create a new ServiceBindingUnitTestCase.
+ *
+ * @param name
+ */
+ public ServiceBindingUnitTestCase(String name)
+ {
+ super(name);
+ }
+
+ public void testNullServiceName() throws Exception
+ {
+ try
+ {
+ new ServiceBinding(null, 1);
+ fail("null serviceName should fail");
+ }
+ catch (IllegalArgumentException good) {}
+ }
+
+ /**
+ * Test method for {@link org.jboss.services.binding.ServiceBinding#getServiceBindingValueSource()}.
+ */
+ public void testServiceBindingValueSourceClassName() throws Exception
+ {
+ ServiceBinding binding = new ServiceBinding("test", 1);
+ String className = XSLTServiceBindingValueSourceImpl.class.getName();
+ binding.setServiceBindingValueSourceClassName(className);
+ assertEquals(className, binding.getServiceBindingValueSourceClassName());
+ assertTrue(binding.getServiceBindingValueSource() instanceof XSLTServiceBindingValueSourceImpl);
+ }
+
+ /**
+ * Test method for {@link org.jboss.services.binding.ServiceBinding#getOffsetBinding(int)}.
+ */
+ public void testGetOffsetBinding() throws Exception
+ {
+ ServiceBinding binding = new ServiceBinding("svc", "binding", "192.168.0.2", 1);
+ String className = XSLTServiceBindingValueSourceImpl.class.getName();
+ binding.setServiceBindingValueSourceClassName(className);
+
+ ServiceBinding binding2 = binding.getOffsetBinding(10);
+ assertEquals(binding.getServiceName(), binding2.getServiceName());
+ assertEquals(binding.getBindingName(), binding2.getBindingName());
+ assertEquals(binding.getHostName(), binding2.getHostName());
+ assertEquals(binding.getBindAddress(), binding2.getBindAddress());
+
+ assertEquals(1, binding.getPort());
+ assertEquals(11, binding2.getPort());
+ }
+
+ /**
+ * Test method for {@link org.jboss.services.binding.ServiceBinding#equals(java.lang.Object)}.
+ */
+ public void testEquals() throws Exception
+ {
+ ServiceBinding bindingAA0 = new ServiceBinding("A", "A", "192.168.0.2", 1);
+ ServiceBinding bindingAA1 = new ServiceBinding("A", "A", "192.168.0.2", 2);
+ ServiceBinding bindingAA2 = new ServiceBinding("A", "A", "192.168.0.1", 1);
+ ServiceBinding bindingAB = new ServiceBinding("A", "B", "192.168.0.2", 1);
+ ServiceBinding bindingBA = new ServiceBinding("B", "A", "192.168.0.2", 1);
+ ServiceBinding bindingAnull = new ServiceBinding("A", null, "192.168.0.2", 1);
+ ServiceBinding bindingBnull = new ServiceBinding("B", null, "192.168.0.2", 1);
+ ServiceBinding bindingBnull1 = new ServiceBinding("B", null, "192.168.0.2", 2);
+
+ assertEquals(bindingAA0, bindingAA1);
+ assertEquals(bindingAA0, bindingAA2);
+ assertFalse(bindingAA0.equals(bindingAB));
+ assertFalse(bindingAA0.equals(bindingBA));
+ assertFalse(bindingAB.equals(bindingBA));
+ assertFalse(bindingAA0.equals(bindingAnull));
+ assertFalse(bindingBA.equals(bindingBnull));
+ assertFalse(bindingAnull.equals(bindingBnull));
+ assertEquals(bindingBnull, bindingBnull1);
+
+ assertFalse(bindingAA0.equals(new Object()));
+
+ assertFalse(bindingAA0.equals(null));
+ }
+
+ /**
+ * Test method for {@link org.jboss.services.binding.ServiceBinding#hashCode()}.
+ */
+ public void testHashCode() throws Exception
+ {
+ ServiceBinding bindingAA0 = new ServiceBinding("A", "A", "192.168.0.2", 1);
+ ServiceBinding bindingAA1 = new ServiceBinding("A", "A", "192.168.0.2", 2);
+ ServiceBinding bindingAA2 = new ServiceBinding("A", "A", "192.168.0.1", 1);
+ ServiceBinding bindingAB = new ServiceBinding("A", "B", "192.168.0.2", 1);
+ ServiceBinding bindingBA = new ServiceBinding("B", "A", "192.168.0.2", 1);
+ ServiceBinding bindingAnull = new ServiceBinding("A", null, "192.168.0.2", 1);
+ ServiceBinding bindingBnull = new ServiceBinding("B", null, "192.168.0.2", 1);
+ ServiceBinding bindingBnull1 = new ServiceBinding("B", null, "192.168.0.2", 2);
+
+ assertEquals(bindingAA0.hashCode(), bindingAA1.hashCode());
+ assertEquals(bindingAA0.hashCode(), bindingAA2.hashCode());
+ assertFalse(bindingAA0.hashCode() == bindingAB.hashCode());
+ assertFalse(bindingAA0.hashCode() == bindingBA.hashCode());
+
+ // A quirk of the values means these have same hashcode
+ assertEquals(bindingAB.hashCode(), bindingBA.hashCode());
+
+ assertFalse(bindingAA0.hashCode() == bindingAnull.hashCode());
+ assertFalse(bindingBA.hashCode() == bindingBnull.hashCode());
+ assertFalse(bindingAnull.hashCode() == bindingBnull.hashCode());
+ assertEquals(bindingBnull.hashCode(), bindingBnull1.hashCode());
+ }
+
+}
Modified: trunk/varia/src/tests/org/jboss/test/services/binding/test/XSLTServiceBindingValueSourceUnitTestCase.java
===================================================================
--- trunk/varia/src/tests/org/jboss/test/services/binding/test/XSLTServiceBindingValueSourceUnitTestCase.java 2008-11-14 13:40:33 UTC (rev 81037)
+++ trunk/varia/src/tests/org/jboss/test/services/binding/test/XSLTServiceBindingValueSourceUnitTestCase.java 2008-11-14 13:43:27 UTC (rev 81038)
@@ -1,194 +1,194 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2008, 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.test.services.binding.test;
-
-import java.net.URL;
-
-import org.jboss.services.binding.impl.XSLTServiceBindingValueSourceConfig;
-import org.jboss.services.binding.impl.XSLTServiceBindingValueSourceImpl;
-import org.w3c.dom.Element;
-
-/**
- * Tests of {@link XSLTServiceBindingValueSourceImpl}.
- *
- * @author Brian Stansberry
- * @version $Revision$
- */
-public class XSLTServiceBindingValueSourceUnitTestCase extends ServiceBindingTestBase
-{
- private XSLTServiceBindingValueSourceImpl testee;
- private XSLTServiceBindingValueSourceConfig xsltConfig;
-
- /**
- * Create a new XSLTServiceBindingValueSourceUnitTestCase.
- *
- * @param name
- */
- public XSLTServiceBindingValueSourceUnitTestCase(String name)
- {
- super(name);
- }
-
- @Override
- protected void setUp() throws Exception
- {
- super.setUp();
-
- testee = new XSLTServiceBindingValueSourceImpl();
- xsltConfig = getXSLTConfig();
- binding.setServiceBindingValueSourceConfig(xsltConfig);
- }
-
- /**
- * Test method for {@link org.jboss.services.binding.impl.StringReplacementServiceBindingValueSourceImpl#getElementServiceBindingValue(org.jboss.bindings.ServiceBinding, org.w3c.dom.Element)}.
- */
- public void testGetElementServiceBindingValue() throws Exception
- {
- Element input = getDocumentElementFromClasspath(XSL_INPUT);
- Element output = testee.getElementServiceBindingValue(binding, input);
- validateXSLTOutputElement(output);
- }
-
- public void testGetElementServiceBindingValueNullInput() throws Exception
- {
- try
- {
- testee.getResourceServiceBindingValue(binding, null);
- fail("Should fail passing a null input");
- }
- catch (IllegalArgumentException good) {}
- }
-
- /**
- * Test method for {@link org.jboss.services.binding.impl.StringReplacementServiceBindingValueSourceImpl#getResourceServiceBindingValue(org.jboss.bindings.ServiceBinding, java.lang.String)}.
- */
- public void testGetResourceServiceBindingValue() throws Exception
- {
- String output = testee.getResourceServiceBindingValue(binding, XSL_INPUT);
- assertNotNull(output);
- Element element = getDocumentElement(output);
- validateXSLTOutputElement(element);
- }
-
- public void testGetResourceServiceBindingValueNullInput() throws Exception
- {
- try
- {
- testee.getResourceServiceBindingValue(binding, null);
- fail("Should fail passing a null input");
- }
- catch (IllegalArgumentException good) {}
- }
-
- /**
- * Test method for {@link org.jboss.services.binding.impl.StringReplacementServiceBindingValueSourceImpl#getURLServiceBindingValue(org.jboss.bindings.ServiceBinding, java.net.URL)}.
- */
- public void testGetURLServiceBindingValue() throws Exception
- {
- URL input = Thread.currentThread().getContextClassLoader().getResource(XSL_INPUT);
- URL output = testee.getURLServiceBindingValue(binding, input);
- assertNotNull(output);
- Element element = getDocumentElement(output);
- validateXSLTOutputElement(element);
- }
-
- public void testGetURLServiceBindingValueNullInput() throws Exception
- {
- try
- {
- testee.getURLServiceBindingValue(binding, null);
- fail("Should fail passing a null input");
- }
- catch (IllegalArgumentException good) {}
- }
-
- public void testGetServiceBindingValueNullInput() throws Exception
- {
- Object[] params = null;
- try
- {
- testee.getServiceBindingValue(binding, params);
- fail("Should fail passing a null input");
- }
- catch (IllegalArgumentException good) {}
- }
-
- public void testGetServiceBindingValueBadInput() throws Exception
- {
- try
- {
- testee.getServiceBindingValue(binding, new Object());
- fail("Should fail passing an unknown input");
- }
- catch (IllegalArgumentException good) {}
- }
-
- public void testGetServiceBindingValueStringInput() throws Exception
- {
- String output = (String) testee.getServiceBindingValue(binding, XSL_INPUT);
- assertNotNull(output);
- Element element = getDocumentElement(output);
- validateXSLTOutputElement(element);
- }
-
- public void testGetServiceBindingValueElementInput() throws Exception
- {
- Element input = getDocumentElementFromClasspath(XSL_INPUT);
- Element output = (Element) testee.getServiceBindingValue(binding, input);
- validateXSLTOutputElement(output);
- }
-
- public void testGetServiceBindingValueURLInput() throws Exception
- {
- URL input = Thread.currentThread().getContextClassLoader().getResource(XSL_INPUT);
- URL output = (URL) testee.getServiceBindingValue(binding, input);
- assertNotNull(output);
- Element element = getDocumentElement(output);
- validateXSLTOutputElement(element);
- }
-
- public void testNullConfigObject() throws Exception
- {
- binding.setServiceBindingValueSourceConfig(null);
- String input = getFullyQualifiedResourceName("xlst_input.xml");
- try
- {
- testee.getResourceServiceBindingValue(binding, input);
- fail("Should fail using an unknown xsltConfig");
- }
- catch (IllegalStateException good) {}
- }
-
- public void testUnknownConfigObject() throws Exception
- {
- binding.setServiceBindingValueSourceConfig(new Object());
- String input = getFullyQualifiedResourceName("xlst_input.xml");
- try
- {
- testee.getResourceServiceBindingValue(binding, input);
- fail("Should fail using an unknown xsltConfig");
- }
- catch (IllegalStateException good) {}
- }
-
-}
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.test.services.binding.test;
+
+import java.net.URL;
+
+import org.jboss.services.binding.impl.XSLTServiceBindingValueSourceConfig;
+import org.jboss.services.binding.impl.XSLTServiceBindingValueSourceImpl;
+import org.w3c.dom.Element;
+
+/**
+ * Tests of {@link XSLTServiceBindingValueSourceImpl}.
+ *
+ * @author Brian Stansberry
+ * @version $Revision$
+ */
+public class XSLTServiceBindingValueSourceUnitTestCase extends ServiceBindingTestBase
+{
+ private XSLTServiceBindingValueSourceImpl testee;
+ private XSLTServiceBindingValueSourceConfig xsltConfig;
+
+ /**
+ * Create a new XSLTServiceBindingValueSourceUnitTestCase.
+ *
+ * @param name
+ */
+ public XSLTServiceBindingValueSourceUnitTestCase(String name)
+ {
+ super(name);
+ }
+
+ @Override
+ protected void setUp() throws Exception
+ {
+ super.setUp();
+
+ testee = new XSLTServiceBindingValueSourceImpl();
+ xsltConfig = getXSLTConfig();
+ binding.setServiceBindingValueSourceConfig(xsltConfig);
+ }
+
+ /**
+ * Test method for {@link org.jboss.services.binding.impl.StringReplacementServiceBindingValueSourceImpl#getElementServiceBindingValue(org.jboss.bindings.ServiceBinding, org.w3c.dom.Element)}.
+ */
+ public void testGetElementServiceBindingValue() throws Exception
+ {
+ Element input = getDocumentElementFromClasspath(XSL_INPUT);
+ Element output = testee.getElementServiceBindingValue(binding, input);
+ validateXSLTOutputElement(output);
+ }
+
+ public void testGetElementServiceBindingValueNullInput() throws Exception
+ {
+ try
+ {
+ testee.getResourceServiceBindingValue(binding, null);
+ fail("Should fail passing a null input");
+ }
+ catch (IllegalArgumentException good) {}
+ }
+
+ /**
+ * Test method for {@link org.jboss.services.binding.impl.StringReplacementServiceBindingValueSourceImpl#getResourceServiceBindingValue(org.jboss.bindings.ServiceBinding, java.lang.String)}.
+ */
+ public void testGetResourceServiceBindingValue() throws Exception
+ {
+ String output = testee.getResourceServiceBindingValue(binding, XSL_INPUT);
+ assertNotNull(output);
+ Element element = getDocumentElement(output);
+ validateXSLTOutputElement(element);
+ }
+
+ public void testGetResourceServiceBindingValueNullInput() throws Exception
+ {
+ try
+ {
+ testee.getResourceServiceBindingValue(binding, null);
+ fail("Should fail passing a null input");
+ }
+ catch (IllegalArgumentException good) {}
+ }
+
+ /**
+ * Test method for {@link org.jboss.services.binding.impl.StringReplacementServiceBindingValueSourceImpl#getURLServiceBindingValue(org.jboss.bindings.ServiceBinding, java.net.URL)}.
+ */
+ public void testGetURLServiceBindingValue() throws Exception
+ {
+ URL input = Thread.currentThread().getContextClassLoader().getResource(XSL_INPUT);
+ URL output = testee.getURLServiceBindingValue(binding, input);
+ assertNotNull(output);
+ Element element = getDocumentElement(output);
+ validateXSLTOutputElement(element);
+ }
+
+ public void testGetURLServiceBindingValueNullInput() throws Exception
+ {
+ try
+ {
+ testee.getURLServiceBindingValue(binding, null);
+ fail("Should fail passing a null input");
+ }
+ catch (IllegalArgumentException good) {}
+ }
+
+ public void testGetServiceBindingValueNullInput() throws Exception
+ {
+ Object[] params = null;
+ try
+ {
+ testee.getServiceBindingValue(binding, params);
+ fail("Should fail passing a null input");
+ }
+ catch (IllegalArgumentException good) {}
+ }
+
+ public void testGetServiceBindingValueBadInput() throws Exception
+ {
+ try
+ {
+ testee.getServiceBindingValue(binding, new Object());
+ fail("Should fail passing an unknown input");
+ }
+ catch (IllegalArgumentException good) {}
+ }
+
+ public void testGetServiceBindingValueStringInput() throws Exception
+ {
+ String output = (String) testee.getServiceBindingValue(binding, XSL_INPUT);
+ assertNotNull(output);
+ Element element = getDocumentElement(output);
+ validateXSLTOutputElement(element);
+ }
+
+ public void testGetServiceBindingValueElementInput() throws Exception
+ {
+ Element input = getDocumentElementFromClasspath(XSL_INPUT);
+ Element output = (Element) testee.getServiceBindingValue(binding, input);
+ validateXSLTOutputElement(output);
+ }
+
+ public void testGetServiceBindingValueURLInput() throws Exception
+ {
+ URL input = Thread.currentThread().getContextClassLoader().getResource(XSL_INPUT);
+ URL output = (URL) testee.getServiceBindingValue(binding, input);
+ assertNotNull(output);
+ Element element = getDocumentElement(output);
+ validateXSLTOutputElement(element);
+ }
+
+ public void testNullConfigObject() throws Exception
+ {
+ binding.setServiceBindingValueSourceConfig(null);
+ String input = getFullyQualifiedResourceName("xlst_input.xml");
+ try
+ {
+ testee.getResourceServiceBindingValue(binding, input);
+ fail("Should fail using an unknown xsltConfig");
+ }
+ catch (IllegalStateException good) {}
+ }
+
+ public void testUnknownConfigObject() throws Exception
+ {
+ binding.setServiceBindingValueSourceConfig(new Object());
+ String input = getFullyQualifiedResourceName("xlst_input.xml");
+ try
+ {
+ testee.getResourceServiceBindingValue(binding, input);
+ fail("Should fail using an unknown xsltConfig");
+ }
+ catch (IllegalStateException good) {}
+ }
+
+}
More information about the jboss-cvs-commits
mailing list