Package org.springframework.osgi.service.importer.support.internal.collection

Examples of org.springframework.osgi.service.importer.support.internal.collection.OsgiServiceCollection.afterPropertiesSet()


    collection.setRequiredAtStartup(getCardinality().isMandatory());
    collection.setListeners(getListeners());
    collection.setStateListeners(stateListeners);
    collection.setServiceImporter(this);
    collection.setServiceImporterName(getBeanName());
    collection.afterPropertiesSet();

    proxy = delegate;
    exposedProxy = collection;
    proxyDestructionCallback = new DisposableBeanRunnableAdapter(collection);
View Full Code Here


    ClassLoader tccl = Thread.currentThread().getContextClassLoader();
    try {
      Thread.currentThread().setContextClassLoader(classLoader);
      collection.setRequiredAtStartup(false);
      // collection.setInterfaces(new Class[] { Date.class });
      collection.afterPropertiesSet();
    }
    finally {
      Thread.currentThread().setContextClassLoader(tccl);
    }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.