Searched refs:BindableResource (Results 1 - 25 of 30) sorted by relevance

12

/glassfish-3.1.2/common/amx-config/src/main/java/org/glassfish/admin/amx/intf/config/
H A DBindableResource.java44 public interface BindableResource extends ConfigElement { interface in inherits:ConfigElement
/glassfish-3.1.2/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/customvalidators/
H A DResourceNameValidator.java44 import com.sun.enterprise.config.serverbeans.BindableResource;
63 if(resource instanceof BindableResource){
64 if(((BindableResource)resource).getJndiName().contains(":")){
H A DResourcePoolReferenceValidator.java48 public class ResourcePoolReferenceValidator implements ConstraintValidator<ResourcePoolReferenceConstraint, BindableResource> {
54 public boolean isValid(final BindableResource resource,
/glassfish-3.1.2/admin/util/src/main/java/org/glassfish/admin/cli/resources/
H A DBindableResourcesHelper.java107 Class<? extends BindableResource> resourceTypeToValidate){
109 BindableResource duplicateResource = (BindableResource)
110 resources.getResourceByName(BindableResource.class, jndiName);
138 public Class getResourceByClass(BindableResource resource){
139 Class<? extends BindableResource> type = BindableResource.class;
156 public String getResourceTypeName(BindableResource resource){
H A DCreateResourceRef.java163 //resource-ref is created only for a BindableResource
164 return domain.getResources().getResourceByName(BindableResource.class, jndiName) != null;
/glassfish-3.1.2/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/
H A DResources.java99 public Collection<BindableResource> getResourcesOfPool(String connectionPoolName);
113 public static Collection<BindableResource> getResourcesOfPool(Resources resources, String connectionPoolName){
114 Set<BindableResource> resourcesReferringPool = new HashSet<BindableResource>();
117 Collection<BindableResource> bindableResources = getResources(resources, BindableResource.class);
118 for (BindableResource resource : bindableResources) {
136 boolean bindableResource = BindableResource.class.isAssignableFrom(type);
146 c = BindableResource.class;
164 resourceName = ((BindableResource)re
[all...]
H A DBindableResource.java52 @ResourceNameConstraint(message="{resourcename.invalid.character}", payload=BindableResource.class)
53 public interface BindableResource extends Resource, Payload { interface in inherits:Resource,Payload
H A DExternalJndiResource.java70 PropertyBag, BindableResource {
H A DPersistenceManagerFactoryResource.java68 public interface PersistenceManagerFactoryResource extends ConfigBeanProxy, Injectable, Resource, PropertyBag, BindableResource {
H A DAdminObjectResource.java74 public interface AdminObjectResource extends ConfigBeanProxy, Injectable, BindableResource, Resource,
H A DConnectorResource.java79 PropertyBag, BindableResource, Payload {
H A DCustomResource.java77 PropertyBag, BindableResource {
H A DJdbcResource.java82 PropertyBag, BindableResource, Payload {
H A DMailResource.java78 public interface MailResource extends ConfigBeanProxy, Injectable, Resource, PropertyBag, BindableResource {
/glassfish-3.1.2/common/container-common/src/main/java/org/glassfish/javaee/services/
H A DResourceManager.java160 if(resource instanceof BindableResource){
161 BindableResource bindableResource = (BindableResource)resource;
188 BindableResource res = (BindableResource)
189 domain.getResources().getResourceByName(BindableResource.class, jndiName);
354 if (instance instanceof BindableResource) {
361 BindableResource bindableResource = (BindableResource) instance;
388 BindableResource bindableResourc
[all...]
H A DApplicationScopedResourcesManager.java165 if (resource instanceof BindableResource) {
166 BindableResource bindableResource = (BindableResource) resource;
/glassfish-3.1.2/connectors/admin/src/test/java/org/glassfish/connectors/admin/cli/
H A DDeleteJndiResourceTest.java99 if (resource instanceof BindableResource) {
100 BindableResource r = (BindableResource) resource;
138 if (resource instanceof BindableResource) {
139 BindableResource jr = (BindableResource) resource;
H A DCreateJndiResourceTest.java101 if (resource instanceof BindableResource) {
102 BindableResource r = (BindableResource) resource;
196 if (resource instanceof BindableResource) {
197 BindableResource jr = (BindableResource) resource;
212 if (resource instanceof BindableResource) {
213 BindableResource jr = (BindableResource) resource;
/glassfish-3.1.2/connectors/connectors-internal-api/src/main/java/com/sun/appserv/connectors/internal/api/
H A DAppSpecificConnectorClassLoaderUtil.java223 res = getApplicationScopedResource(jndiName, BindableResource.class, appInfo);
226 res = getModuleScopedResource(jndiName, moduleName, BindableResource.class, appInfo);
228 res = getResources().getResourceByName(BindableResource.class, jndiName);
315 boolean bindableResource = BindableResource.class.isAssignableFrom(type);
324 if(bindableResource && res instanceof BindableResource){
325 resourceName = ((BindableResource)res).getJndiName();
376 boolean bindableResource = BindableResource.class.isAssignableFrom(type);
385 if(bindableResource && res instanceof BindableResource){
386 resourceName = ((BindableResource)res).getJndiName();
/glassfish-3.1.2/connectors/connectors-runtime/src/main/java/com/sun/enterprise/connectors/
H A DConnectionManagerImpl.java45 import com.sun.enterprise.config.serverbeans.BindableResource;
91 private transient BindableResource resourceConfiguration;
404 (BindableResource) resourcesUtil.getResource(resourceInfo, BindableResource.class);
413 resourceConfiguration = (BindableResource)
414 resourcesUtil.getResource(resourceInfo, BindableResource.class);
/glassfish-3.1.2/connectors/admin/src/main/java/org/glassfish/connectors/admin/cli/
H A DDeleteConnectorConnectionPool.java177 Collection<BindableResource> referringResources = param.getResourcesOfPool(poolName);
178 for (BindableResource referringResource : referringResources) {
190 Collection<BindableResource> referringResources = resources.getResourcesOfPool(poolName);
H A DListResources.java121 if (r instanceof BindableResource) {
122 String name = ((BindableResource) r).getJndiName();
/glassfish-3.1.2/connectors/connectors-runtime/src/main/java/com/sun/enterprise/connectors/util/
H A DResourcesUtil.java677 }else if (resource instanceof BindableResource) {
678 BindableResource bindableResource = (BindableResource)resource;
683 ((BindableResource) resource).getJndiName());
684 return isEnabled((BindableResource) resource) &&
712 public boolean isEnabled(BindableResource br, ResourceInfo resourceInfo){
757 public boolean isEnabled(BindableResource br) {
/glassfish-3.1.2/connectors/connectors-runtime/src/main/java/com/sun/enterprise/resource/deployer/
H A DJdbcConnectionPoolDeployer.java48 import com.sun.enterprise.config.serverbeans.BindableResource;
872 Collection<BindableResource> resources =
875 for(BindableResource resource : resources){
903 Collection<BindableResource> resourcesList ;
911 for (BindableResource bindableResource : resourcesList) {
/glassfish-3.1.2/jdbc/admin/src/main/java/org/glassfish/jdbc/admin/cli/
H A DJDBCConnectionPoolManager.java384 Collection<BindableResource> referringResources = param.getResourcesOfPool(poolName);
385 for (BindableResource referringResource : referringResources) {
396 Collection<BindableResource> referringResources = resources.getResourcesOfPool(poolName);

Completed in 35 milliseconds

12