Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: b18f3acd40ac7ecebda1e5b04e92c4635d0fe223 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
/*******************************************************************************
 * Copyright (c) 2014 Raymond Augé and others.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *     Raymond Augé <raymond.auge@liferay.com> - Bug 436698
 ******************************************************************************/

package org.eclipse.equinox.http.servlet.tests.wb.t2;

import org.eclipse.equinox.http.servlet.tests.tb.AbstractWhiteboardTestFilter;

import org.osgi.service.component.ComponentContext;

/**
 * @author Raymond Augé
 */
public class WBFilter2 extends AbstractWhiteboardTestFilter {

	char c;

	protected void activate(ComponentContext componentContext) {
		c = (Character)componentContext.getProperties().get("char");
	}

	@Override
	public char getChar() {
		return c;
	}

}

Back to the top