Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  /*
   * Copyright (c) OSGi Alliance (2011, 2012). 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.framework.wiring;
 
A wire connecting a BundleCapability to a BundleRequirement.

Version:
$Id: 02e7cd6ec0fa9fdb73f782a6890984d5d4e7ca21 $
ThreadSafe:
Noimplement:
 
 public interface BundleWire extends Wire {
Returns the BundleCapability for this wire.

Returns:
The BundleCapability for this wire.
 
Return the BundleRequirement for this wire.

Returns:
The BundleRequirement for this wire.
 
Returns the bundle wiring providing the capability.

The bundle revision referenced by the returned bundle wiring may differ from the bundle revision referenced by the capability.

Returns:
The bundle wiring providing the capability. If the bundle wiring providing the capability is not in use, null will be returned.
 
Returns the bundle wiring who requires the capability.

The bundle revision referenced by the returned bundle wiring may differ from the bundle revision referenced by the requirement.

Returns:
The bundle wiring whose requirement is wired to the capability. If the bundle wiring requiring the capability is not in use, null will be returned.
 
Returns the resource providing the capability.

The returned resource may differ from the resource referenced by the capability.

This method returns the same value as getProviderWiring(). getRevision().

Returns:
The resource providing the capability.
Since:
1.1
 
Returns the resource who requires the capability.

The returned resource may differ from the resource referenced by the requirement.

This method returns the same value as getRequirerWiring(). getRevision().

Returns:
The resource who requires the capability.
Since:
1.1
New to GrepCode? Check out our FAQ X