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 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 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 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; }
/** * @version $Rev$ $Date$ */ @GBean(j2eeType = "Context") public class WritableContextGBean extends WritableContext { public WritableContextGBean(@ParamAttribute(name="nameInNamespace")String nameInNamespace) throws NamingException { super(nameInNamespace, Collections.<String, Object>emptyMap(), ContextAccess.MODIFIABLE, false); } }
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 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 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 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 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 Http11NIOConnectorGBean(@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.Http11NioProtocol", host, port, container, serverInfo, conn); }
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 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 AbstractHttp11ConnectorGBean(@ParamAttribute(manageable=false, name = "name") String name, @ParamAttribute(manageable=false, name = "initParams") Map<String, String> initParams, @ParamAttribute(manageable=false, name = "protocol") String tomcatProtocol, @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, tomcatProtocol, host, port, container, serverInfo, conn); }
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 OpenWebBeansModuleBuilderExtension( @ParamAttribute(name = "defaultEnvironment") Environment defaultEnvironment, @ParamAttribute(name = "jsfPluginEnvironment") Environment jsfPluginEnvironment, @ParamReference(name = "NamingBuilders", namingType = NameFactory.MODULE_BUILDER) NamingBuilder namingBuilders) { this.defaultEnvironment = defaultEnvironment; this.jsfPluginEnvironment = jsfPluginEnvironment; this.namingBuilders = namingBuilders; }
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 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 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); }