public ActiveMQManagerGBean(@ParamSpecial(type= SpecialAttributeType.kernel) Kernel kernel, @ParamSpecial(type = SpecialAttributeType.objectName) String objectName) { this.kernel = kernel; this.objectName = objectName; }
public ActiveMQBrokerServiceMonitorGBean(@ParamSpecial(type = SpecialAttributeType.kernel) Kernel kernel, @ParamSpecial(type = SpecialAttributeType.classLoader) ClassLoader classLoader) { this.kernel = kernel; this.classLoader = classLoader; }
public GlobalContextGBean(@ParamSpecial(type = SpecialAttributeType.kernel)Kernel kernel, @ParamSpecial(type = SpecialAttributeType.bundleContext) BundleContext bundleContext) throws NamingException { super("", new AbstractNameQuery(null, Collections.<String, Object>emptyMap(), Context.class.getName()), kernel, bundleContext); }
public ConnectorWrapperGBeanStarter( @ParamReference(name = "Server") TomcatServerGBean server, @ParamReference(name = "TomcatContainer") TomcatContainer container, @ParamSpecial(type = SpecialAttributeType.classLoader) ClassLoader classLoader, @ParamSpecial(type = SpecialAttributeType.kernel) Kernel kernel) throws Exception { this.server = server; this.container = container; this.classLoader = classLoader; this.kernel = kernel; }
public JAXRGBean(@ParamAttribute(name="connectionFactoryClass")String connectionFactoryClass, @ParamSpecial(type = SpecialAttributeType.classLoader)ClassLoader cl) { this.cl = cl; this.connectionFactoryClass = connectionFactoryClass; }
/** * Construct an instance of ValidatorFactoryGBean * <p/> * @param moduleName the name of the module in an EAR file (null implies standalone module) * @param validationConfig the location of validation configuration xml file in the bundle */ public ValidatorFactoryGBean(@ParamSpecial(type = SpecialAttributeType.objectName) String objectName, @ParamSpecial(type = SpecialAttributeType.bundle) Bundle bundle, @ParamSpecial(type = SpecialAttributeType.classLoader) ClassLoader classLoader, @ParamAttribute(name = "moduleName") String moduleName, @ParamAttribute(name = "validationConfig") String validationConfig) { this.objectName = objectName; this.bundle = bundle; this.classLoader = classLoader; this.moduleName = moduleName; this.validationConfig = validationConfig; }
public DataSourceGBeanObjectFactory(@ParamSpecial(type = SpecialAttributeType.bundleContext)BundleContext bundleContext, @ParamSpecial(type = SpecialAttributeType.abstractName)AbstractName abName, @ParamReference(name = "ConnectionTracker", namingType = NameFactory.JCA_CONNECTION_TRACKER)ConnectionTracker connectionTracker, @ParamReference(name = "TransactionManager", namingType = NameFactory.JTA_RESOURCE)RecoverableTransactionManager txManager) { this.bundleContext = bundleContext; this.connectionTracker = connectionTracker; this.txManager = txManager; this.abName = abName; }
public LifecycleProviderGBean(@ParamAttribute(name="holder") Holder holder, @ParamReference(name="ContextSource", namingType = "Context") ContextSource contextSource, @ParamSpecial(type = SpecialAttributeType.kernel)Kernel kernel, @ParamSpecial(type = SpecialAttributeType.bundle)Bundle bundle, @ParamSpecial(type=SpecialAttributeType.classLoader)ClassLoader classLoader) throws NamingException { this.holder = holder; context = contextSource.getContext(); this.bundle = bundle; this.classLoader = classLoader; }
public KernelContextGBean(@ParamAttribute(name="nameInNamespace")String nameInNamespace, @ParamAttribute(name="abstractNameQuery")AbstractNameQuery abstractNameQuery, @ParamSpecial(type = SpecialAttributeType.kernel)Kernel kernel, @ParamSpecial(type = SpecialAttributeType.bundleContext) BundleContext bundleContext) throws NamingException { //super(nameInNamespace, Collections.<String, Object>emptyMap(), ContextAccess.MODIFIABLE, false); this.abstractNameQuery = abstractNameQuery; this.kernel = kernel; this.bundleContext = bundleContext; this.nameInNamespace = nameInNamespace; }
public BasicNodeInfo(@ParamSpecial(type=SpecialAttributeType.kernel) Kernel kernel, @ParamAttribute(name=GBEAN_ATTR_NODE_NAME) String name, @ParamAttribute(name=GBEAN_ATTR_EXT_JMX_CONN_INFO) ExtendedJMXConnectorInfo connectorInfo) { if (null == kernel) { throw new IllegalArgumentException("kernel is required"); } else if (null == name) { throw new IllegalArgumentException("name is required"); } else if (null == connectorInfo) { throw new IllegalArgumentException("connectorInfo is required"); } this.kernel = kernel; this.name = name; this.connectorInfo = connectorInfo; }
public GBeanFormatBinding(@ParamAttribute(name="format")String format, @ParamAttribute(name="namePattern")String namePattern, @ParamAttribute(name="nameInNamespace")String nameInNamespace, @ParamAttribute(name="abstractNameQuery")AbstractNameQuery abstractNameQuery, @ParamSpecial(type = SpecialAttributeType.kernel)Kernel kernel, @ParamSpecial(type = SpecialAttributeType.bundleContext) BundleContext bundleContext) throws NamingException { super(nameInNamespace, abstractNameQuery, kernel, bundleContext); this.format = format; if (namePattern != null && namePattern.length() > 0) { this.namePattern = Pattern.compile(namePattern); } else { this.namePattern = null; } }
public SharedLibExtender( @ParamSpecial(type = SpecialAttributeType.bundleContext) BundleContext bundleContext, @ParamReference(name = "DependencyManager") DependencyManager dependencyManager, @ParamReference(name = "ConfigurationManager", namingType = "ConfigurationManager") ConfigurationManager configurationManager) { this.dependencyManager = dependencyManager; this.bundleContext = bundleContext; this.configurationManager = configurationManager; }
public SingletonServiceInitializerGBean(@ParamSpecial(type = SpecialAttributeType.bundle) Bundle bundle) { GeronimoSingletonService.init(bundle); ProxyFactory.classLoaderProvider = new GeronimoClassLoaderProvider(); }
public ResourceBinding(@ParamAttribute(name="format")String format, @ParamAttribute(name="namePattern")String namePattern, @ParamAttribute(name="nameInNamespace")String nameInNamespace, @ParamAttribute(name="abstractNameQuery")AbstractNameQuery abstractNameQuery, @ParamSpecial(type = SpecialAttributeType.kernel)Kernel kernel, @ParamSpecial(type = SpecialAttributeType.bundleContext) BundleContext bundleContext) throws NamingException { super(format, namePattern, nameInNamespace, abstractNameQuery, kernel, bundleContext); }
public TomcatManagerImpl( @ParamSpecial(type = SpecialAttributeType.kernel) Kernel kernel, @ParamReference(name = "Server") TomcatServerGBean tomcatServerGBean) { this.kernel = kernel; this.tomcatServerConfigManager = tomcatServerGBean.getTomcatServerConfigManager(); }
public ServiceConfigBuilder(@ParamAttribute(name="defaultEnvironment")Environment defaultEnvironment, @ParamReference(name="Repository", namingType = "Repository")Collection<Repository> repositories, @ParamReference(name="ServiceBuilders", namingType = "ModuleBuilder")Collection<NamespaceDrivenBuilder> serviceBuilders, @ParamSpecial(type = SpecialAttributeType.kernel)Kernel kernel, @ParamSpecial(type = SpecialAttributeType.bundleContext) BundleContext bundleContext) throws GBeanNotFoundException { this(defaultEnvironment, repositories, serviceBuilders, kernel.getNaming(), ConfigurationUtil.getConfigurationManager(kernel), bundleContext); }
public NewServerInstanceGBean(@ParamAttribute(name = "defaultPlugins")Map<String, String> defaultPlugins, @ParamReference(name = "PersistentConfigurationList", namingType="PersistentConfigurationList.PERSISTENT_CONFIGURATION_LIST")Collection<PersistentConfigurationList> persistentConfigurationLists, @ParamReference(name = "PluginInstallerGBean")PluginInstallerGBean pluginInstallerGBean, @ParamReference(name = "ConfigManager", namingType = "ConfigurationManager")ConfigurationManager configManager, @ParamSpecial(type = SpecialAttributeType.bundleContext)BundleContext bundleContext) { this.persistentConfigurationLists = persistentConfigurationLists; this.oldPluginInstallerGBean = pluginInstallerGBean; this.configManager = configManager; this.defaultPlugins = defaultPlugins == null ? Collections.<String>emptySet() : defaultPlugins.keySet(); this.bundleContext = bundleContext; }
public BundleRecorderGBean(@ParamSpecial(type = SpecialAttributeType.kernel) Kernel kernel, @ParamSpecial(type = SpecialAttributeType.bundle) Bundle bundle, @ParamReference(name = "ServerInfo") final ServerInfo serverInfo, @ParamReference(name = "PluginInstallerGBean")PluginInstallerGBean installer, @ParamReference(name = "Repository", namingType = "Repository") WritableListableRepository repository) throws DeploymentException, IOException { bundleContext = bundle.getBundleContext(); startLevelService = getStartLevelService(bundleContext); defaultBundleStartLevel = startLevelService.getInitialBundleStartLevel(); pluginInstaller = installer; writeableRepo = repository; startupFile = serverInfo.resolveServer("etc/installed-bundles.properties"); }
public PasswordCredentialLoginModuleWrapper(@ParamAttribute(name = "loginModuleClass")String loginModuleClass, @ParamSpecial(type = SpecialAttributeType.objectName)String objectName, @ParamAttribute(name="wrapPrincipals")boolean wrapPrincipals, @ParamAttribute(name="options")Map<String, Object> options, @ParamAttribute(name="loginDomainName")String loginDomainName, @ParamReference(name = "ManagedConnectionFactoryWrapper", namingType = NameFactory.JCA_MANAGED_CONNECTION_FACTORY)ManagedConnectionFactoryWrapper managedConnectionFactoryWrapper, @ParamSpecial(type = SpecialAttributeType.classLoader)ClassLoader classLoader) { super(loginModuleClass, objectName, wrapPrincipals, getOptions(options, managedConnectionFactoryWrapper), loginDomainName, classLoader); }
public ManagedContainerGBean( @ParamSpecial(type = SpecialAttributeType.abstractName) AbstractName abstractName, @ParamReference(name = "OpenEjbSystem") OpenEjbSystem openEjbSystem, @ParamAttribute(name = "provider") String provider, @ParamAttribute(name = "properties") Properties properties) { super(abstractName, ManagedContainerInfo.class, openEjbSystem, provider, "MANAGED", properties); }