Searched defs:bundleContext (Results 1 - 7 of 7) sorted by relevance

/glassfish-3.1.2/core/bootstrap/src/main/java/com/sun/enterprise/glassfish/bootstrap/osgi/
H A DOSGiGlassFishImpl.java58 private final BundleContext bundleContext; field in class:OSGiGlassFishImpl
60 public OSGiGlassFishImpl(GlassFish decoratedGf, BundleContext bundleContext, int finalStartLevel) argument
63 this.bundleContext = bundleContext;
70 StartLevel sl = StartLevel.class.cast(bundleContext.getService(
71 bundleContext.getServiceReference(StartLevel.class.getName())));
H A DBundleProvisioner.java148 private BundleContext bundleContext; field in class:BundleProvisioner
159 public BundleProvisioner(BundleContext bundleContext, Properties config) { argument
160 this(bundleContext, new DefaultCustomizer(config));
163 public BundleProvisioner(BundleContext bundleContext, Customizer customizer) { argument
164 this.bundleContext = bundleContext;
173 return bundleContext;
/glassfish-3.1.2/extras/embedded/common/bootstrap/src/main/java/org/glassfish/uberjar/activator/
H A DUberJarGlassFishActivator.java73 public void start(BundleContext bundleContext) throws Exception { argument
74 privilegedStart(bundleContext);
83 Framework framework = (Framework) bundleContext.getBundle(0); // or loop until you find the framework bundle.
88 props.setProperty(UBER_JAR_URI, bundleContext.getBundle().getLocation());
111 private void privilegedStart(final BundleContext bundleContext) throws Exception { argument
121 Framework framework = (Framework) bundleContext.getBundle(0); // or loop until you find the framework bundle.
126 props.setProperty(UBER_JAR_URI, bundleContext.getBundle().getLocation());
155 public void stop(BundleContext bundleContext) throws Exception { argument
/glassfish-3.1.2/extras/embedded/common/osgi-main/src/main/java/org/glassfish/uberjar/osgimain/
H A DMain.java158 public void stop(BundleContext bundleContext) throws Exception { argument
159 logger.logp(Level.FINER, "Main", "stop", "Stop has been called. BundleContext = {0}", bundleContext);
/glassfish-3.1.2/extras/embedded/common/osgi-modules-uninstaller/src/main/java/org/glassfish/uberjar/uninstaller/
H A DGlassFishOSGiModuleUninstaller.java60 public void start(BundleContext bundleContext) throws Exception { argument
61 myself = bundleContext.getBundle();
62 bundleContext.addBundleListener(this);
66 public void stop(BundleContext bundleContext) throws Exception { argument
/glassfish-3.1.2/web/weld-integration/src/main/java/org/glassfish/weld/services/
H A DInjectionServicesImpl.java64 private BundleDescriptor bundleContext; field in class:InjectionServicesImpl
68 bundleContext = context;
86 JndiNameEnvironment injectionEnv = (JndiNameEnvironment) bundleContext;
109 if( bundleContext instanceof EjbBundleDescriptor ) {
113 mbDesc = bundleContext.getManagedBeanByBeanClass(targetClass);
/glassfish-3.1.2/deployment/javaee-full/src/main/java/org/glassfish/javaee/full/deployment/
H A DEarDeployer.java270 private ModuleInfo prepareBundle(final ModuleDescriptor md, Application application, final ExtendedDeploymentContext bundleContext) argument
275 ProgressTracker tracker = bundleContext.getTransientAppMetaData(ExtendedDeploymentContext.TRACKER, ProgressTracker.class);
280 getSniffersForModule(bundleContext, md, application);
282 orderedContainers = deployment.setupContainerInfos(null, sniffers, bundleContext);
290 return deployment.prepareModule(orderedContainers, md.getArchiveUri(), bundleContext, tracker);
479 DeploymentContext bundleContext,
481 Collection<Sniffer> sniffers = snifferManager.getSniffers(bundleContext);
478 getSniffersForModule( DeploymentContext bundleContext, ModuleDescriptor md, Application application) argument

Completed in 1774 milliseconds