Searched refs:jndiName (Results 1 - 25 of 97) sorted by relevance

1234

/glassfish-3.1.2/connectors/connectors-internal-api/src/main/java/com/sun/appserv/connectors/internal/spi/
H A DConnectorNamingEvent.java50 private String jndiName; //name of the object field in class:ConnectorNamingEvent
55 public ConnectorNamingEvent(String jndiName, int eventType){ argument
56 this.jndiName=jndiName;
62 * @return jndiName
65 return jndiName;
82 "{"+ jndiName +", " + getEventName(eventType) + "}" );
/glassfish-3.1.2/deployment/dol/src/main/java/com/sun/enterprise/deployment/runtime/
H A DMdbConnectionFactoryDescriptor.java55 private String jndiName; field in class:MdbConnectionFactoryDescriptor
76 /** Getter for property jndiName.
77 * @return Value of property jndiName.
80 return jndiName;
83 /** Setter for property jndiName.
84 * @param jndiName New value of property jndiName.
86 public void setJndiName(java.lang.String jndiName) { argument
87 this.jndiName = jndiName;
[all...]
/glassfish-3.1.2/deployment/dol/src/main/java/com/sun/enterprise/deployment/
H A DNamedDescriptor.java70 * @param jndiName the new JNDI name of the receiver.
73 public void setJndiName(String jndiName); argument
H A DEjbAbstractDescriptor.java67 private String jndiName = ""; field in class:EjbAbstractDescriptor
95 this.jndiName = other.jndiName;
218 if (this.jndiName == null) {
219 this.jndiName = "";
221 return (jndiName != null && jndiName.length() > 0)?
222 jndiName : getMappedName();
228 public void setJndiName(String jndiName) { argument
229 this.jndiName
[all...]
H A DMessageDestinationDescriptor.java62 private String jndiName; field in class:MessageDestinationDescriptor
129 if (jndiName != null && ! jndiName.equals("")) {
130 return jndiName;
139 jndiName = physicalDestinationName;
H A DJmsDestinationReferenceDescriptor.java113 String jndiName = this.getValue();
114 if (jndiName != null && ! jndiName.equals("")) {
115 return jndiName;
126 public void setJndiName(String jndiName) { argument
127 this.setValue(jndiName);
H A DMessageDestinationReferenceDescriptor.java74 private String jndiName; field in class:MessageDestinationReferenceDescriptor
136 if (jndiName != null && ! jndiName.equals("")) {
137 return jndiName;
146 jndiName = physicalDestinationName;
/glassfish-3.1.2/connectors/connectors-internal-api/src/main/java/com/sun/appserv/connectors/internal/api/
H A DResourceNamingService.java86 public void publishObject(GenericResourceInfo resourceInfo, String jndiName, Object object,boolean rebind) argument
97 namingManager.unbindModuleObject(applicationName, moduleName, getModuleScopedName(jndiName));
104 moduleName, getModuleScopedName(jndiName), null);
109 throw new NamingException("Object already bound for jndiName " +
110 "[ " + jndiName + " ] of module namespace [" + moduleName+ "] " +
115 JNDIBinding bindings = new ModuleScopedResourceBinding(getModuleScopedName(jndiName), object);
119 debug("application=" + applicationName + ", module name=" +moduleName+", binding name=" + jndiName);
127 namingManager.unbindAppObject(applicationName, getAppScopedName(jndiName));
134 getAppScopedName(jndiName), null);
139 throw new NamingException("Object already bound for jndiName "
162 bindAppScopedNameForAppclient(Object object, String jndiName, String applicationName) argument
173 unpublishObject(GenericResourceInfo resourceInfo, String jndiName) argument
188 unbindAppScopedNameForAppclient(String jndiName, String applicationName) argument
194 isGlobalName(String jndiName) argument
[all...]
/glassfish-3.1.2/connectors/admin/src/main/java/org/glassfish/connectors/admin/cli/
H A DDeleteAdminObject.java84 private String jndiName; field in class:DeleteAdminObject
105 if (jndiName == null) {
113 if (!isResourceExists(domain.getResources(), jndiName)) {
115 "An administered object named {0} does not exist.", jndiName));
122 if (resourceUtil.getTargetsReferringResourceRef(jndiName).size() > 0) {
126 jndiName));
131 if (!resourceUtil.isResourceRefInTarget(jndiName, target)) {
134 jndiName, target));
140 if (resourceUtil.getTargetsReferringResourceRef(jndiName).size() > 1) {
144 jndiName));
180 isResourceExists(Resources resources, String jndiName) argument
[all...]
H A DDeleteConnectorResource.java84 private String jndiName; field in class:DeleteConnectorResource
105 if (jndiName == null) {
113 if (!isResourceExists(domain.getResources(), jndiName)) {
115 "A connector resource named {0} does not exist.", jndiName));
123 if (resourceUtil.getTargetsReferringResourceRef(jndiName).size() > 0) {
127 jndiName));
132 if (!resourceUtil.isResourceRefInTarget(jndiName, target)) {
135 jndiName, target));
141 if (resourceUtil.getTargetsReferringResourceRef(jndiName).size() > 1) {
145 jndiName));
182 isResourceExists(Resources resources, String jndiName) argument
[all...]
H A DDeleteJndiResource.java85 private String jndiName; field in class:DeleteJndiResource
107 if (!isResourceExists(domain.getResources(), jndiName)) {
110 "A jndi resource named {0} does not exist.", jndiName));
117 if (resourceUtil.getTargetsReferringResourceRef(jndiName).size() > 0) {
121 jndiName));
126 if (!resourceUtil.isResourceRefInTarget(jndiName, target)) {
129 jndiName, target));
135 if (resourceUtil.getTargetsReferringResourceRef(jndiName).size() > 1) {
139 jndiName));
149 resourceUtil.deleteResourceRef(jndiName, targe
180 isResourceExists(Resources resources, String jndiName) argument
[all...]
H A DDeleteJavaMailResource.java87 private String jndiName; field in class:DeleteJavaMailResource
109 if (!isResourceExists(domain.getResources(), jndiName)) {
112 "A Mail resource named {0} does not exist.", jndiName));
120 if (resourceUtil.getTargetsReferringResourceRef(jndiName).size() > 0) {
124 jndiName));
129 if (!resourceUtil.isResourceRefInTarget(jndiName, target)) {
132 jndiName, target));
138 if (resourceUtil.getTargetsReferringResourceRef(jndiName).size() > 1) {
142 jndiName));
151 resourceUtil.deleteResourceRef(jndiName, targe
176 isResourceExists(Resources resources, String jndiName) argument
[all...]
H A DDeleteCustomResource.java82 private String jndiName; field in class:DeleteCustomResource
104 if(domain.getResources().getResourceByName(CustomResource.class, jndiName) == null){
107 "A custom resource named {0} does not exist.", jndiName));
115 if (resourceUtil.getTargetsReferringResourceRef(jndiName).size() > 0) {
119 jndiName));
124 if (!resourceUtil.isResourceRefInTarget(jndiName, target)) {
127 jndiName, target));
133 if (resourceUtil.getTargetsReferringResourceRef(jndiName).size() > 1) {
137 jndiName));
146 resourceUtil.deleteResourceRef(jndiName, targe
[all...]
/glassfish-3.1.2/common/container-common/src/main/java/org/glassfish/javaee/services/
H A DConnectorDescriptorProxy.java66 private String jndiName; field in class:ConnectorDescriptorProxy
76 public void setJndiName(String jndiName){ argument
77 this.jndiName = jndiName;
81 return jndiName;
97 ic.rebind(jndiName, desc);
/glassfish-3.1.2/common/glassfish-naming/src/main/java/com/sun/enterprise/naming/util/
H A DJndiNamingObjectFactory.java57 private String jndiName; field in class:JndiNamingObjectFactory
63 public JndiNamingObjectFactory(String name, String jndiName, boolean cacheResult) { argument
65 this.jndiName = jndiName;
82 Object tempResult = ic.lookup(jndiName);
90 result = ic.lookup(jndiName);
/glassfish-3.1.2/admingui/devtests/src/test/java/org/glassfish/admingui/devtests/
H A DJdbcTest.java107 final String jndiName = "jdbcResource" + generateRandomString();
108 final String description = "devtest test jdbc resource - " + jndiName;
118 setFieldValue("form:propertySheet:propertSectionTextField:nameNew:name", jndiName);
127 assertTrue(isTextPresent(jndiName));
130 clickAndWait(getLinkIdByLinkText("propertyForm:resourcesTable", jndiName), TRIGGER_EDIT_JDBC_RESOURCE);
135 testDisableButton(jndiName,
143 testEnableButton(jndiName,
152 deleteRow("propertyForm:resourcesTable:topActionsGroup1:button1", "propertyForm:resourcesTable", jndiName);
157 final String jndiName = "jdbcResource" + generateRandomString();
159 final String description = "devtest test jdbc resource with targets- " + jndiName;
226 createJDBCResource(String jndiName, String description, String target, String targetType) argument
253 deleteJDBCResource(String jndiName, String target, String targetType) argument
[all...]
H A DEnterpriseServerTest.java122 final String jndiName = "jdbcResource"+generateRandomString();
123 final String description = "devtest test for server->resources page- " + jndiName;
127 jdbcTest.createJDBCResource(jndiName, description, "server", MonitoringTest.TARGET_SERVER_TYPE);
131 assertTrue(isTextPresent(jndiName));
142 selectTableRowByValue("propertyForm:resourcesTable", jndiName);
151 jdbcTest.deleteJDBCResource(jndiName, "server", MonitoringTest.TARGET_SERVER_TYPE);
/glassfish-3.1.2/admin/util/src/main/java/org/glassfish/admin/cli/resources/
H A DBindableResourcesHelper.java70 public boolean resourceExists(String jndiName, String target) { argument
78 exists = server.isResourceRefExists(jndiName);
81 exists = cluster.isResourceRefExists(jndiName);
99 * @param jndiName resource-name
105 public ResourceStatus validateBindableResourceForDuplicates(Resources resources, String jndiName, argument
110 resources.getResourceByName(BindableResource.class, jndiName);
116 "A {0} by name {1} already exists.", getResourceTypeName(duplicateResource), jndiName);
117 }else if(resourceUtil.getTargetsReferringResourceRef(jndiName).contains(target)){
120 getResourceTypeName(duplicateResource), jndiName, target);
126 getResourceTypeName(duplicateResource), jndiName, targe
[all...]
H A DResourceUtil.java73 public void createResourceRef(String jndiName, String enabled, String target) throws TransactionFailure { argument
85 if (!server.isResourceRefExists(jndiName)) {
87 server.createResourceRef(enabled, jndiName);
92 if (!cluster.isResourceRefExists(jndiName)) {
94 cluster.createResourceRef(enabled, jndiName);
100 if (!svr.isResourceRefExists(jndiName)) {
101 svr.createResourceRef(enabled, jndiName);
175 public void deleteResourceRef(String jndiName, String target) throws TransactionFailure { argument
187 if (server.isResourceRefExists(jndiName)) {
189 server.deleteResourceRef(jndiName);
[all...]
/glassfish-3.1.2/jdbc/admin/src/main/java/org/glassfish/jdbc/admin/cli/
H A DJDBCResourceManager.java83 private String jndiName = null; field in class:JDBCResourceManager
120 resourceUtil.createResourceRef(jndiName, enabledValueForTarget, target);
123 "JDBC resource {0} create failed ", jndiName) +
130 "JDBC resource {0} created successfully", jndiName);
138 if (jndiName == null) {
144 status = resourcesHelper.validateBindableResourceForDuplicates(resources, jndiName, validateResourceRef,
159 jndiName = (String) attributes.get(JNDI_NAME);
180 jdbcResource.setJndiName(jndiName);
213 public ResourceStatus delete (final Resources resources, final String jndiName, final String target) argument
216 if (jndiName
[all...]
/glassfish-3.1.2/verifier/verifier-impl/src/main/java/com/sun/enterprise/tools/verifier/tests/ejb/runtime/
H A DASEjbJndiName.java65 String ejbName = null, jndiName=null;
67 jndiName=getXPathValue("/sun-ejb-jar/enterprise-beans/ejb/jndi-name");
68 if(jndiName != null){
69 if(jndiName.trim().length()==0){
74 "PASSED [AS-EJB ejb] : jndi-name is {0}", new Object[]{jndiName}));
H A DASEjbMessageDestination.java62 String jndiName=null;
69 jndiName = getXPathValue("sun-ejb-jar/enterprise-beans/message-destination/jndi-name");
91 if(jndiName==null || jndiName.length()==0){
108 new Object[] {descriptor.getName(),jndiName}));
/glassfish-3.1.2/jms/admin/src/main/java/org/glassfish/jms/admin/cli/
H A DCreateJMSResource.java92 String jndiName; field in class:CreateJMSResource
133 if (jndiName == null) {
167 ConnectorConnectionPool cpool = (ConnectorConnectionPool) domain.getResources().getResourceByName(ConnectorConnectionPool.class, jndiName);
171 if (cpool == null || ! filterForTarget (jndiName)) {
204 Properties properties = validateDestinationResourceProps(props, jndiName);
222 aoAttrList.set(DEFAULT_OPERAND, jndiName);
245 private boolean filterForTarget(String jndiName){ argument
262 if(jndiName.equalsIgnoreCase(resource.getRef()))
349 parameters.set(DEFAULT_OPERAND, jndiName);
350 parameters.set("poolname", jndiName);
410 validateDestinationResourceProps(Properties props, String jndiName) argument
[all...]
H A DDeleteJMSResource.java83 String jndiName; field in class:DeleteJMSResource
99 if (jndiName == null) {
109 Resource res = domain.getResources().getResourceByName(ConnectorResource.class, jndiName);
113 if (cr.getJndiName().equals(jndiName))
119 params.set("jndi_name", jndiName);
120 params.set("DEFAULT", jndiName);
133 String defPoolName = jndiName;
138 params.set("DEFAULT", jndiName);
139 params.set("connector_resource_name", jndiName);
152 params.set("poolname", jndiName);
[all...]
/glassfish-3.1.2/admin/rest/src/test/java/org/glassfish/admin/rest/
H A DExternalResourceTest.java57 final String jndiName = "jndi/"+resourceName;
60 put("jndilookupname", jndiName);

Completed in 3630 milliseconds

1234