org.ops4j.pax.runner.platform.internal
Class LocalBundleImpl

java.lang.Object
  extended by org.ops4j.pax.runner.platform.internal.LocalBundleImpl
All Implemented Interfaces:
LocalBundle

public class LocalBundleImpl
extends java.lang.Object
implements LocalBundle

A Java bean like implementation of local bundle.

Since:
August 20, 2007
Author:
Alin Dreghiciu

Constructor Summary
LocalBundleImpl(BundleReference bundleReference, java.io.File file)
          Creates a new local bundle.
 
Method Summary
 BundleReference getBundleReference()
          Returns the bundle reference this file is refering to.
 java.io.File getFile()
          Returns the file corresponding to the bundle.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LocalBundleImpl

public LocalBundleImpl(BundleReference bundleReference,
                       java.io.File file)
Creates a new local bundle.

Parameters:
bundleReference - a bundle reference; mandatory
file - corresponding file; mandatory
Method Detail

getBundleReference

public BundleReference getBundleReference()
Description copied from interface: LocalBundle
Returns the bundle reference this file is refering to.

Specified by:
getBundleReference in interface LocalBundle
Returns:
the bundle reference
See Also:
LocalBundle.getBundleReference()

getFile

public java.io.File getFile()
Description copied from interface: LocalBundle
Returns the file corresponding to the bundle.

Specified by:
getFile in interface LocalBundle
Returns:
an file
See Also:
LocalBundle.getFile()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object
See Also:
Object.toString()


Copyright © 2008. All Rights Reserved.