Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 /*
  * Copyright (c) OSGi Alliance (2002, 2011). All Rights Reserved.
  *
  * Licensed 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.osgi.service.wireadmin;

BasicEnvelope is an implementation of the Envelope interface

Version:
$Id: 634c9f701f7d4ad7257d55e876a65fdc68be6c48 $
Immutable:
public class BasicEnvelope implements Envelope {
	private final Object	value;
	private final Object	identification;
	private final String	scope;

Constructor.

Parameters:
value Content of this envelope, may be null.
identification Identifying object for this Envelope object, must not be null
scope Scope name for this object, must not be null
See also:
Envelope
	public BasicEnvelope(Object valueObject identificationString scope) {
		this. = value;
		this. = identification;
		this. = scope;
	}

	public Object getValue() {
		return ;
	}

	}

	public String getScope() {
		return ;
	}
New to GrepCode? Check out our FAQ X