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; }
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 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 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 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); }
public CmpContainerGBean( @ParamSpecial(type = SpecialAttributeType.abstractName) AbstractName abstractName, @ParamReference(name = "OpenEjbSystem") OpenEjbSystem openEjbSystem, @ParamAttribute(name = "provider") String provider, @ParamAttribute(name = "properties") Properties properties) { super(abstractName, CmpEntityContainerInfo.class, openEjbSystem, provider, "CMP_ENTITY", properties); }
public GBeanBinding(@ParamReference(name="Context", namingType = "Context")Context context, @ParamAttribute(name="name")String name, @ParamAttribute(name="abstractNameQuery")AbstractNameQuery abstractNameQuery, @ParamSpecial(type = SpecialAttributeType.kernel)Kernel kernel) { this.context = context; this.name = name; this.abstractNameQuery = abstractNameQuery; this.kernel = kernel; }
public AppInfoGBean(@ParamAttribute(name = "appInfo")AppInfo appInfo, @ParamSpecial(type = SpecialAttributeType.classLoader) ClassLoader classLoader, @ParamReference(name = "OpenEjbSystem") OpenEjbSystem openEjbSystem) throws NamingException, IOException, OpenEJBException { this.appInfo = appInfo; this.classLoader = classLoader; this.openEjbSystem = openEjbSystem; this.appContext = openEjbSystem.createApplication(appInfo, classLoader, false); }
public JCAConnectionFactoryImpl(@ParamSpecial(type = SpecialAttributeType.objectName) String objectName, @ParamReference(name = "ConnectionManager", namingType = NameFactory.JCA_CONNECTION_MANAGER) GenericConnectionManagerGBean connectionManager) { ObjectName myObjectName = ObjectNameUtil.getObjectName(objectName); verifyObjectName(myObjectName); this.objectName = objectName; this.connectionManager = connectionManager; }
public GenericContainerGBean( @ParamSpecial(type = SpecialAttributeType.abstractName) AbstractName abstractName, @ParamReference(name = "OpenEjbSystem") OpenEjbSystem openEjbSystem, @ParamAttribute(name = "provider") String provider, @ParamAttribute(name = "type") String type, @ParamAttribute(name = "properties") Properties properties) { super(abstractName, getInfoType(type), openEjbSystem, provider, type, new Properties()); if (properties != null) { getProperties().putAll(properties); } }
public BmpContainerGBean( @ParamSpecial(type = SpecialAttributeType.abstractName) AbstractName abstractName, @ParamReference(name = "OpenEjbSystem") OpenEjbSystem openEjbSystem, @ParamAttribute(name = "provider") String provider, @ParamAttribute(name = "poolSize") int poolSize, @ParamAttribute(name = "properties") Properties properties) { super(abstractName, BmpEntityContainerInfo.class, openEjbSystem, provider, "BMP_ENTITY", properties); setPoolSize(poolSize); }
public SingletonContainerGBean( @ParamSpecial(type = SpecialAttributeType.abstractName) AbstractName abstractName, @ParamReference(name = "OpenEjbSystem") OpenEjbSystem openEjbSystem, @ParamAttribute(name = "provider") String provider, @ParamAttribute(name = "accessTimeout") long accessTimeout, @ParamAttribute(name = "properties") Properties properties) { super(abstractName, SingletonSessionContainerInfo.class, openEjbSystem, provider, "SINGLETON", properties); setAccessTimeout(accessTimeout); }
public ActivationSpecWrapperGBean(@ParamAttribute(name="activationSpecClass")final String activationSpecClass, @ParamAttribute(name="containerId")final String containerId, @ParamReference(name="ResourceAdapaterWrapper", namingType = NameFactory.RESOURCE_ADAPTER)final ResourceAdapterWrapper resourceAdapterWrapper, @ParamSpecial(type = SpecialAttributeType.classLoader)final ClassLoader cl, @ParamReference(name = "ValidatorFactory", namingType = NameFactory.VALIDATOR_FACTORY) ValidatorFactoryGBean validatorFactory) throws IllegalAccessException, InstantiationException, ClassNotFoundException { super(activationSpecClass, containerId, resourceAdapterWrapper, cl, validatorFactory != null ? validatorFactory.getFactory() : null); delegate = new DynamicGBeanDelegate(); delegate.addAll(activationSpec); }