public GeronimoSecurityBuilderImpl(@ParamAttribute(name = "credentialStoreName")AbstractNameQuery credentialStoreName, @ParamAttribute(name = "defaultRoleMappingName")AbstractNameQuery defaultRoleMappingName, @ParamAttribute(name = "defaultEnvironment")Environment defaultEnvironment) { this.defaultCredentialStoreName = credentialStoreName; this.defaultRoleMappingName = defaultRoleMappingName; this.defaultEnvironment = defaultEnvironment; }
public MulticastLocation(@ParamAttribute(name="host") String host, @ParamAttribute(name="port") int port) { this.host = host; this.port = port; }
public Http11ConnectorGBean(@ParamAttribute(manageable=false, name = "name") String name, @ParamAttribute(manageable=false, name = "initParams") Map<String, String> initParams, @ParamAttribute(manageable=false, name = "host") String host, @ParamAttribute(manageable=false, name = "port") int port, @ParamReference(name = "TomcatContainer") TomcatContainer container, @ParamReference(name = "ServerInfo") ServerInfo serverInfo, @ParamAttribute(manageable=false, name = "connector") Connector conn) throws Exception { super(name, initParams, "org.apache.coyote.http11.Http11Protocol", host, port, container, serverInfo, conn); }
public Http11APRConnectorGBean(@ParamAttribute(manageable=false, name = "name") String name, @ParamAttribute(manageable=false, name = "initParams") Map<String, String> initParams, @ParamAttribute(manageable=false, name = "host") String host, @ParamAttribute(manageable=false, name = "port") int port, @ParamReference(name = "TomcatContainer") TomcatContainer container, @ParamReference(name = "ServerInfo") ServerInfo serverInfo, @ParamAttribute(manageable=false, name = "connector") Connector conn) throws Exception { super(name, initParams, "org.apache.coyote.http11.Http11AprProtocol", host, port, container, serverInfo, conn); }
public OpenEjbCorbaRefBuilder(@ParamAttribute(name = "defaultEnvironment")Environment defaultEnvironment, @ParamAttribute(name = "eeNamespaces")String[] eeNamespaces) throws URISyntaxException { super(defaultEnvironment, new String[0], null, -1); ejbRefQNameSet = buildQNameSet(eeNamespaces, "ejb-ref"); }
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 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 BasicClusterInfo(@ParamAttribute(name=GBEAN_ATTR_CLUSTER_NAME) String name, @ParamReference(name=GBEAN_REF_NODE_INFOS) Collection<NodeInfo> nodes) { if (null == name) { throw new IllegalArgumentException("name is required"); } else if (null == nodes) { throw new IllegalArgumentException("nodes is required"); } this.name = name; this.nodes = nodes; }
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 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 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 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 JAXRGBean(@ParamAttribute(name="connectionFactoryClass")String connectionFactoryClass, @ParamSpecial(type = SpecialAttributeType.classLoader)ClassLoader cl) { this.cl = cl; this.connectionFactoryClass = connectionFactoryClass; }
public ResourceRefBuilder( @ParamAttribute(name = "defaultEnvironment") Environment defaultEnvironment, @ParamAttribute(name = "corbaEnvironment") Environment corbaEnvironment, @ParamAttribute(name = "eeNamespaces") String[] eeNamespaces, @ParamReference(name = "CorbaGBeanNameSource", namingType = "") Collection<CorbaGBeanNameSource> corbaGBeanNameSourceCollection, @ParamSpecial(type = SpecialAttributeType.bundle) Bundle bundle) { super(defaultEnvironment); resourceRefQNameSet = buildQNameSet(eeNamespaces, "resource-ref"); this.corbaEnvironment = corbaEnvironment; this.corbaGBeanNameSourceCollection = new SingleElementCollection<CorbaGBeanNameSource>(corbaGBeanNameSourceCollection); this.bundle = bundle; }
public BasicClusterConfigurationStoreClient(@ParamAttribute(name=GBEAN_ATTR_CLUSTER_CONF_STORE_NAME_QUERY) AbstractNameQuery clusterConfigurationStoreNameQuery) { if (null == clusterConfigurationStoreNameQuery) { throw new IllegalArgumentException("clusterConfigurationStoreNameQuery is required"); } this.clusterConfigurationStoreNameQuery = clusterConfigurationStoreNameQuery; packager = newDirectoryPackager(); fileUploadClient = newFileUploadClient(); }
public WritableFederatedContextMember(@ParamAttribute(name = "nameInNamespace") String nameInNamespace, @ParamReference(name="Federation", namingType = "Context")FederatedContext federation) throws NamingException { super(nameInNamespace, Collections.<String, Object>emptyMap(), ContextAccess.MODIFIABLE, false); federation.federateContext(this); this.federation = federation; }
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 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); }
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 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); }