Package org.apache.felix.cm

Examples of org.apache.felix.cm.MockBundle



    Bundle createBundle( final String symbolicName, final Version version, final String location )
    {
        BundleContext ctx = new MockBundleContext();
        return new MockBundle( ctx, location )
        {
            public String getSymbolicName()
            {
                return symbolicName;
            }
View Full Code Here


    private static class DMTestMockBundleContext extends MockBundleContext
    {
        public Bundle[] getBundles()
        {
            return new Bundle[]
                { new MockBundle( this, LOCATION1 ) };
        }
View Full Code Here

TOP

Related Classes of org.apache.felix.cm.MockBundle

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.