1 /* 2 Copyright 2008 Ramon Servadei 3 4 Licensed under the Apache License, Version 2.0 (the "License"); 5 you may not use this file except in compliance with the License. 6 You may obtain a copy of the License at 7 8 http://www.apache.org/licenses/LICENSE-2.0 9 10 Unless required by applicable law or agreed to in writing, software 11 distributed under the License is distributed on an "AS IS" BASIS, 12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 See the License for the specific language governing permissions and 14 limitations under the License. 15 */ 16 package fulmine.model.container.subscription.remote; 17 18 import org.apache.commons.logging.Log; 19 20 import fulmine.context.IFrameworkContext; 21 import fulmine.event.subscription.ISubscriptionParameters; 22 import fulmine.model.container.subscription.ContainerSubscription; 23 import fulmine.util.log.AsyncLog; 24 25 /** 26 * A subscription for receiving a remote container transmitted from a remote 27 * {@link IFrameworkContext}. This subscription is sent by a local context to 28 * receive remote container events from a remote context. This is the 29 * counterpart to the {@link TxSubscription}. 30 * 31 * @author Ramon Servadei 32 * 33 */ 34 public final class RxSubscription extends ContainerSubscription 35 { 36 private final static AsyncLog LOG = new AsyncLog(RxSubscription.class); 37 38 /** 39 * Standard constructor 40 * 41 * @param parameters 42 * the parameters for the subscription 43 */ 44 RxSubscription(ISubscriptionParameters parameters) 45 { 46 super(parameters); 47 } 48 49 @Override 50 protected Log getLog() 51 { 52 return LOG; 53 } 54 }