Searched refs:refName (Results 1 - 19 of 19) sorted by relevance

/glassfish-3.1.2/admin/util/src/main/java/org/glassfish/admin/cli/resources/
H A DCreateResourceRef.java85 private String refName; field in class:CreateResourceRef
106 if (!isResourceExists(refName)) {
108 "Resource {0} does not exist", refName));
117 if (server.isResourceRefExists(refName)) {
119 "Resource ref {0} already exists", refName));
124 server.createResourceRef(enabled.toString(), refName);
127 if (cluster.isResourceRefExists(refName)) {
129 "Resource ref {0} already exists", refName));
134 cluster.createResourceRef(enabled.toString(), refName);
140 svr.createResourceRef(enabled.toString(), refName);
[all...]
H A DDeleteResourceRef.java82 private String refName; field in class:DeleteResourceRef
106 if (server.isResourceRefExists(refName)) {
108 server.deleteResourceRef(refName);
115 if (cluster.isResourceRefExists(refName)) {
117 cluster.deleteResourceRef(refName);
127 svr.deleteResourceRef(refName);
136 "resource-ref {0} deleted successfully.", refName));
141 "A resource ref named {0} does not exist.", refName));
148 "Resource ref {0} deletion failed", refName));
H A DResourceUtil.java144 public boolean isResourceRefInTarget(String refName, String target){ argument
145 Set<String> targets = getTargetsReferringResourceRef(refName);
157 public Set<String> getTargetsReferringResourceRef(String refName) { argument
161 if(server.getResourceRef(refName) != null){
/glassfish-3.1.2/deployment/dol/src/main/java/com/sun/enterprise/deployment/
H A DJmsDestinationReference.java56 public void setName(String refName); argument
/glassfish-3.1.2/verifier/verifier-impl/src/main/java/com/sun/enterprise/tools/verifier/tests/ejb/runtime/resource/
H A DASEjbRRefName.java81 String refName = resDesc.getName();
82 if(refName == null || refName.length()==0)
92 "PASSED [AS-EJB resource-ref] : res-ref-name is {0}",new Object[]{refName}));
H A DASEjbResRef.java81 String refName = resDesc.getName();
85 descriptor.getResourceReferenceByName(refName);
89 new Object[]{refName}));
97 new Object[]{refName}));
H A DASEjbResEnvRef.java76 String refName = getXPathValue("/sun-ejb-jar/enterprise-beans/ejb[ejb-name=\""+descriptor.getName()+"\"]/resource-env-ref["+i+"]/resource-env-ref-name");
79 descriptor.getJmsDestinationReferenceByName(refName);
86 new Object[]{refName}));
96 new Object[]{refName}));
H A DASEjbRRefDefResPrincipal.java80 String refName = resDesc.getName();
87 resDesc = descriptor.getResourceReferenceByName(refName);
95 new Object[] {refName}));
109 new Object[]{refName}));
H A DASEjbREnvRefJndiName.java72 String refName = getXPathValue("/sun-ejb-jar/enterprise-beans/ejb[ejb-name=\""+descriptor.getName()+"\"]/resource-env-ref["+i+"]/resource-env-ref-name");
83 new Object[]{refName}));
H A DASEjbRRefJndiName.java87 String refName = resDesc.getName();
/glassfish-3.1.2/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/
H A DRef.java58 public void setRef(String refName) throws PropertyVetoException; argument
H A DCluster.java404 ResourceRef getResourceRef(String refName); argument
407 boolean isResourceRefExists(String refName); argument
410 void createResourceRef(String enabled, String refName) throws TransactionFailure; argument
413 void deleteResourceRef(String refName) throws TransactionFailure; argument
463 public static ResourceRef getResourceRef(Cluster cluster, String refName) { argument
465 if (ref.getRef().equals(refName)) {
473 public static boolean isResourceRefExists(Cluster cluster, String refName) { argument
474 return getResourceRef(cluster, refName) != null;
477 public static void deleteResourceRef(Cluster cluster, String refName) throws TransactionFailure { argument
478 final ResourceRef ref = getResourceRef(cluster, refName);
489 createResourceRef(Cluster cluster, final String enabled, final String refName) argument
[all...]
H A DServer.java254 boolean isResourceRefExists(String refName); argument
260 void createResourceRef(String enabled, String refName) throws TransactionFailure; argument
371 public static ResourceRef getResourceRef(Server server, String refName) { argument
373 if (ref.getRef().equals(refName)) {
380 public static boolean isResourceRefExists(Server server, String refName) { argument
381 return getResourceRef(server, refName) != null;
384 public static void deleteResourceRef(Server server, String refName) throws TransactionFailure { argument
385 final ResourceRef ref = getResourceRef(server, refName);
396 public static void createResourceRef(Server server, final String enabled, final String refName) throws TransactionFailure { argument
404 newResourceRef.setRef(refName);
[all...]
/glassfish-3.1.2/verifier/verifier-impl/src/main/java/com/sun/enterprise/tools/verifier/tests/web/runtime/
H A DASWebEjbRef.java62 String refName;
66 refName = ejbRefs[rep].getEjbRefName();
67 if (validEjbRefName(refName,descriptor)) {
72 new Object[] {refName}));
79 new Object[] {refName}));
/glassfish-3.1.2/verifier/verifier-impl/src/main/java/com/sun/enterprise/tools/verifier/tests/ejb/runtime/
H A DASEjbRef.java89 String refName = desc.getName();
102 new Object[]{refName}));
120 new Object[] {refName}));
128 new Object[] {refName}));
137 new Object[] {refName}));
145 new Object[] {refName,refJndiName}));
/glassfish-3.1.2/connectors/admin/src/main/java/org/glassfish/connectors/admin/cli/
H A DDeleteConnectorConnectionPool.java199 private void deleteResourceRefs(Server[] servers, final String refName) argument
203 server.deleteResourceRef(refName);
208 private void deleteResourceRefs(Cluster[] clusters, final String refName) argument
212 cluster.deleteResourceRef(refName);
/glassfish-3.1.2/connectors/connectors-runtime/src/main/java/com/sun/enterprise/resource/pool/
H A DPoolManagerImpl.java537 String refName = rrd.getName();
538 if(refName != null && logicalName != null){
539 refName = getJavaName(refName);
540 if(refName.equals(getJavaName(logicalName))){
/glassfish-3.1.2/jdbc/admin/src/main/java/org/glassfish/jdbc/admin/cli/
H A DJDBCConnectionPoolManager.java404 private void deleteResourceRefs(Server[] servers, final String refName) argument
408 server.deleteResourceRef(refName);
413 private void deleteResourceRefs(Cluster[] clusters, final String refName) argument
417 cluster.deleteResourceRef(refName);
/glassfish-3.1.2/common/container-common/src/main/java/org/glassfish/javaee/services/
H A DResourceManager.java387 String refName = ref.getRef();
396 domain.getResources().getResourceByName(BindableResource.class, refName);

Completed in 1963 milliseconds