Author: davsclaus
Date: Thu Aug 25 05:07:15 2011
New Revision: 1161384
URL: http://svn.apache.org/viewvc?rev=1161384&view=rev
Log:
Fixed CS. Polished javadoc.
Modified:
camel/trunk/camel-core/src/main/java/org/apache/camel/impl/SynchronizationAdapter.java
camel/trunk/camel-core/src/main/java/org/apache/camel/management/ManagementStrategyFactory.java
camel/trunk/camel-core/src/main/java/org/apache/camel/spi/management/JmxNotificationBroadcasterAware.java
Modified:
camel/trunk/camel-core/src/main/java/org/apache/camel/impl/SynchronizationAdapter.java
URL:
http://svn.apache.org/viewvc/camel/trunk/camel-core/src/main/java/org/apache/camel/impl/SynchronizationAdapter.java?rev=1161384&r1=1161383&r2=1161384&view=diff
==============================================================================
---
camel/trunk/camel-core/src/main/java/org/apache/camel/impl/SynchronizationAdapter.java
(original)
+++
camel/trunk/camel-core/src/main/java/org/apache/camel/impl/SynchronizationAdapter.java
Thu Aug 25 05:07:15 2011
@@ -1,3 +1,19 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.camel.impl;
/**
Modified:
camel/trunk/camel-core/src/main/java/org/apache/camel/management/ManagementStrategyFactory.java
URL:
http://svn.apache.org/viewvc/camel/trunk/camel-core/src/main/java/org/apache/camel/management/ManagementStrategyFactory.java?rev=1161384&r1=1161383&r2=1161384&view=diff
==============================================================================
---
camel/trunk/camel-core/src/main/java/org/apache/camel/management/ManagementStrategyFactory.java
(original)
+++
camel/trunk/camel-core/src/main/java/org/apache/camel/management/ManagementStrategyFactory.java
Thu Aug 25 05:07:15 2011
@@ -1,3 +1,19 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.camel.management;
import org.apache.camel.CamelContext;
@@ -6,6 +22,9 @@ import org.apache.camel.util.ServiceHelp
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
+/**
+ * Factory for creating {@link ManagementStrategy}
+ */
public class ManagementStrategyFactory {
private final transient Logger log = LoggerFactory.getLogger(getClass());
Modified:
camel/trunk/camel-core/src/main/java/org/apache/camel/spi/management/JmxNotificationBroadcasterAware.java
URL:
http://svn.apache.org/viewvc/camel/trunk/camel-core/src/main/java/org/apache/camel/spi/management/JmxNotificationBroadcasterAware.java?rev=1161384&r1=1161383&r2=1161384&view=diff
==============================================================================
---
camel/trunk/camel-core/src/main/java/org/apache/camel/spi/management/JmxNotificationBroadcasterAware.java
(original)
+++
camel/trunk/camel-core/src/main/java/org/apache/camel/spi/management/JmxNotificationBroadcasterAware.java
Thu Aug 25 05:07:15 2011
@@ -18,8 +18,17 @@ package org.apache.camel.spi.management;
import javax.management.NotificationBroadcasterSupport;
+/**
+ * Strategy to use a custom {@link NotificationBroadcasterSupport} when
broadcasting
+ * JMX notifications using for example the {@link
org.apache.camel.management.JmxNotificationEventNotifier}.
+ */
public interface JmxNotificationBroadcasterAware {
-
+
+ /**
+ * Sets to use a custom broadcaster
+ *
+ * @param broadcaster the custom broadcaster
+ */
void setNotificationBroadcaster(NotificationBroadcasterSupport
broadcaster);
}