Searched refs:getResourceByName (Results 1 - 25 of 32) sorted by relevance

12

/glassfish-3.1.2/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/customvalidators/
H A DResourcePoolReferenceValidator.java63 return resources.getResourceByName(ConnectorConnectionPool.class, cr.getPoolName()) != null;
66 return resources.getResourceByName(JdbcConnectionPool.class, jr.getPoolName()) != null;
/glassfish-3.1.2/common/amx-config/src/main/java/org/glassfish/admin/amx/intf/config/
H A DResources.java56 public Resource getResourceByName(Class param1, String param2); method in interface:Resources
/glassfish-3.1.2/connectors/connectors-runtime/src/main/java/com/sun/enterprise/connectors/util/
H A DResourcesUtil.java373 getResources(resourceInfo).getResourceByName(ConnectorResource.class, resourceInfo.getName());
379 getResources(resourceInfo).getResourceByName(ConnectorConnectionPool.class, poolName);
391 getGlobalResources().getResourceByName(ResourceAdapterConfig.class, rarName);
426 JdbcResource jdbcResource = (JdbcResource) getResources(resourceInfo).getResourceByName(JdbcResource.class,
430 jdbcResource = (JdbcResource) getResources(resourceInfo).getResourceByName(JdbcResource.class,
437 getResources(resourceInfo).getResourceByName(JdbcConnectionPool.class, jdbcResource.getPoolName());
485 getResources(resourceInfo).getResourceByName(AdminObjectResource.class, resourceInfo.getName());
496 getGlobalResources().getResourceByName(ResourceAdapterConfig.class, rarName);
532 getResources(poolInfo).getResourceByName(ConnectorConnectionPool.class, poolInfo.getName());
545 getGlobalResources().getResourceByName(ResourceAdapterConfi
[all...]
/glassfish-3.1.2/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/
H A DResources.java96 public <T> Resource getResourceByName(Class<T> type, String name); method in interface:Resources
115 ResourcePool pool = (ResourcePool) resources.getResourceByName(ResourcePool.class, connectionPoolName);
133 public static <T> Resource getResourceByName(Resources resources, Class<T> type, String name){ method in class:Resources.Duck
/glassfish-3.1.2/connectors/admin/src/main/java/org/glassfish/connectors/admin/cli/
H A DDeleteResourceAdapterConfig.java99 if(domain.getResources().getResourceByName(ResourceAdapterConfig.class, raName) == null){
111 domain.getResources().getResourceByName(ResourceAdapterConfig.class, raName);
H A DDeleteAdminObject.java158 Resource resource = domain.getResources().getResourceByName(AdminObjectResource.class, jndiName);
181 return resources.getResourceByName(AdminObjectResource.class, jndiName) != null;
H A DDeleteConnectorResource.java160 domain.getResources().getResourceByName(ConnectorResource.class, jndiName );
183 return resources.getResourceByName(ConnectorResource.class, jndiName) != null;
H A DDeleteCustomResource.java104 if(domain.getResources().getResourceByName(CustomResource.class, jndiName) == null){
154 domain.getResources().getResourceByName(CustomResource.class, jndiName);
H A DDeleteJavaMailResource.java157 MailResource resource = (MailResource)domain.getResources().getResourceByName(MailResource.class, jndiName);
177 return resources.getResourceByName(MailResource.class, jndiName) != null;
H A DDeleteJndiResource.java157 domain.getResources().getResourceByName(ExternalJndiResource.class, jndiName);
181 return resources.getResourceByName(ExternalJndiResource.class, jndiName) != null;
H A DDeleteConnectorConnectionPool.java115 if(domain.getResources().getResourceByName(ConnectorConnectionPool.class, poolname) == null){
142 domain.getResources().getResourceByName(ConnectorConnectionPool.class, poolname);
H A DConnectionPoolUtil.java123 if (resources.getResourceByName(ResourcePool.class, poolName) != null) {
H A DFlushConnectionPool.java116 (ResourcePool)resources.getResourceByName(ResourcePool.class, poolName);
H A DConnectorResourceManager.java209 return resources.getResourceByName(ConnectorConnectionPool.class, poolName) != null;
H A DCreateResourceAdapterConfig.java181 if(resources.getResourceByName(ResourceAdapterConfig.class, raName) != null){
H A DJavaMailResourceManager.java108 if (resources.getResourceByName(BindableResource.class, jndiName) != null) {
H A DResourceAdapterConfigManager.java140 if (resources.getResourceByName(ResourceAdapterConfig.class, raName) != null) {
/glassfish-3.1.2/persistence/cmp/support-sqlstore/src/main/java/com/sun/jdo/spi/persistence/support/sqlstore/utility/
H A DPersistenceManagerFactoryResourceMigrator.java70 final JdbcResource jdbcResource = (JdbcResource )resources.getResourceByName(JdbcResource.class, jdbcResourceName);
/glassfish-3.1.2/jdbc/admin/src/main/java/org/glassfish/jdbc/admin/cli/
H A DJDBCResourceManager.java150 if(resources.getResourceByName(ResourcePool.class, poolName) == null){
223 if(resources.getResourceByName(JdbcResource.class, jndiName) == null){
264 JdbcResource resource = (JdbcResource) resources.getResourceByName(JdbcResource.class, jndiName);
/glassfish-3.1.2/common/container-common/src/main/java/org/glassfish/javaee/services/
H A DResourceManager.java189 domain.getResources().getResourceByName(BindableResource.class, jndiName);
396 domain.getResources().getResourceByName(BindableResource.class, refName);
447 domain.getResources().getResourceByName(BindableResource.class, ref.getRef());
476 domain.getResources().getResourceByName(BindableResource.class, ref.getRef());
/glassfish-3.1.2/admin/util/src/main/java/org/glassfish/admin/cli/resources/
H A DBindableResourcesHelper.java110 resources.getResourceByName(BindableResource.class, jndiName);
H A DCreateResourceRef.java164 return domain.getResources().getResourceByName(BindableResource.class, jndiName) != null;
/glassfish-3.1.2/connectors/connectors-runtime/src/main/java/com/sun/enterprise/resource/
H A DResourceUtilities.java100 return resources.getResourceByName(res.getClass(), id) != null;
226 if (resources.getResourceByName(res.getClass(), id) != null) {
/glassfish-3.1.2/jms/admin/src/main/java/org/glassfish/jms/admin/cli/
H A DListJMSResources.java133 ConnectorConnectionPool cp = (ConnectorConnectionPool) domain.getResources().getResourceByName(ConnectorConnectionPool.class, cr.getPoolName());
179 ConnectorConnectionPool cp = (ConnectorConnectionPool) domain.getResources().getResourceByName(ConnectorConnectionPool.class, cr.getPoolName());
/glassfish-3.1.2/connectors/connectors-runtime/src/main/java/com/sun/enterprise/resource/deployer/
H A DJdbcResourceDeployer.java244 resources.getResourceByName(JdbcConnectionPool.class, poolName);

Completed in 31 milliseconds

12