Searched refs:scope (Results 1 - 25 of 38) sorted by relevance

12

/glassfish-3.1.2/persistence/cmp/support-sqlstore/src/main/java/com/sun/jdo/spi/persistence/support/sqlstore/query/util/scope/
H A DDefinition.java47 package com.sun.jdo.spi.persistence.support.sqlstore.query.util.scope;
72 protected int scope; field in class:Definition
90 * Set the scope of the identifier's definition.
92 public void setScope(int scope) argument
94 this.scope = scope;
98 * Returns the scope of the identifier's definition.
102 return scope;
H A DParameter.java47 package com.sun.jdo.spi.persistence.support.sqlstore.query.util.scope;
76 return I18NHelper.getMessage(messages, "scope.parameter.getname.name"); //NOI18N
86 buf.append(scope);
H A DVariable.java47 package com.sun.jdo.spi.persistence.support.sqlstore.query.util.scope;
76 return I18NHelper.getMessage(messages, "scope.variable.getname.name"); //NOI18N
86 buf.append(scope);
H A DField.java47 package com.sun.jdo.spi.persistence.support.sqlstore.query.util.scope;
83 return I18NHelper.getMessage(messages, "scope.field.getname.name"); //NOI18N
101 buf.append(scope);
H A DTypeName.java47 package com.sun.jdo.spi.persistence.support.sqlstore.query.util.scope;
82 return I18NHelper.getMessage(messages, "scope.classname.getname.name"); //NOI18N
100 buf.append(scope);
H A DNesting.java47 package com.sun.jdo.spi.persistence.support.sqlstore.query.util.scope;
64 * List of idents with hidden definitions in the actual scope.
H A DSymbolTable.java47 package com.sun.jdo.spi.persistence.support.sqlstore.query.util.scope;
62 * The actual scope level.
77 * Opens a new scope.
88 * Closes the actual scope.
98 * Returns the level of the actual scope.
99 * @return actual scope level.
107 * Add identifier to the actual scope.
109 * scope the symbol table is NOT changed and the old definition
111 * level scope is saved in the actual nesting and the new definition
113 * definition when the sctaul scope i
[all...]
/glassfish-3.1.2/web/web-glue/src/main/java/com/sun/appserv/web/cache/mapping/
H A DField.java64 // field name and scope
67 // scope defs in Constants
68 protected int scope; field in class:Field
71 * create a new cache field, given a string representation of the scope
73 * @param scope scope of this field
75 public Field (String name, String scope) throws IllegalArgumentException { argument
77 this.scope = parseScope(scope);
89 * set the associated scope
92 setScope(int scope) argument
[all...]
H A DConstraintField.java51 * values; Field name and its scope are inherited from the Field class.
73 * create a new cache field, given a string representation of the scope
75 * @param scope scope of this field
77 public ConstraintField(String name, String scope) argument
79 super(name, scope);
154 + " is not found in the scope " + SCOPE_NAMES[scope]
164 + value.toString() + " is found in scope "
165 + SCOPE_NAMES[scope]
[all...]
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/deploy/
H A DContextResource.java123 * The sharing scope of this resource factory (<code>Shareable</code>
126 private String scope = "Shareable"; field in class:ContextResource
129 return (this.scope);
132 public void setScope(String scope) { argument
133 this.scope = scope;
174 if (scope != null) {
175 sb.append(", scope=");
176 sb.append(scope);
/glassfish-3.1.2/web/web-glue/src/main/java/com/sun/appserv/web/taglibs/cache/
H A DCacheUtil.java72 * attribute in the specified scope.
75 public static Cache getCache(PageContext pc, int scope) argument
77 return (Cache)pc.getAttribute(Constants.JSPTAG_CACHE_KEY, scope);
111 * Converts the string representation of the given scope into an int.
113 * @param scope The string representation of the scope
117 * @throws IllegalArgumentException if the specified scope is different
120 public static int convertScope(String scope) { argument
124 if (REQUEST_SCOPE.equalsIgnoreCase(scope)) {
126 } else if (SESSION_SCOPE.equalsIgnoreCase(scope)) {
[all...]
H A DFlushTag.java69 * This specifies the scope of the cache that needs to be flushed.
97 // get the cache from the specified scope
148 * Sets the scope of the cache.
150 * @param scope the scope of the cache
152 * @throws IllegalArgumentException if the specified scope is different
155 public void setScope(String scope) { argument
156 _scope = CacheUtil.convertScope(scope);
H A DCacheTag.java106 * This specifies the scope of the cache.
338 * Sets the scope of the cache.
340 * @param scope the scope of the cache
342 * @throws IllegalArgumentException if the specified scope is different
345 public void setScope(String scope) { argument
346 _scope = CacheUtil.convertScope(scope);
/glassfish-3.1.2/web/web-naming/src/main/java/org/apache/naming/
H A DResourceRef.java98 public static final String SCOPE = "scope";
114 * @param scope Resource scope
118 String scope, String auth) {
119 this(resourceClass, description, scope, auth, null, null);
127 * @param scope Resource scope
131 String scope, String auth, String factory,
139 if (scope != null) {
140 refAddr = new StringRefAddr(SCOPE, scope);
117 ResourceRef(String resourceClass, String description, String scope, String auth) argument
130 ResourceRef(String resourceClass, String description, String scope, String auth, String factory, String factoryLocation) argument
[all...]
/glassfish-3.1.2/web/web-glue/src/main/java/com/sun/enterprise/web/
H A DPersistenceStrategyBuilderFactory.java81 String persistenceType, String frequency, String scope,
89 // Deliberately leaving frequency & scope null
92 resolvedPersistenceScope = scope;
118 builder.setPersistenceScope(scope);
80 createPersistenceStrategyBuilder( String persistenceType, String frequency, String scope, Context ctx) argument
H A DCacheModule.java251 String name, scope, value, expr;
268 * <timeout name="cacheTimeout" scope="request.attribute" />
282 scope = mapConfig.getAttributeValue(
285 if (name != null && scope != null)
286 mapping.setTimeoutField(new Field(name, scope));
290 * <refresh-field name="refreshNow" scope="request.attribute" />
296 scope = mapConfig.getAttributeValue(
299 if (name != null && scope != null) {
300 Field refreshField = new Field(name, scope);
312 * <key-field name="foo" scope
[all...]
H A DSessionManagerConfigurationHelper.java189 String scope = null;
193 // Deliberately leaving frequency & scope null
196 scope = persistenceScope;
218 Object[] params = { getApplicationId(_ctx), persistence.getType(), frequency, scope };
227 scope = null;
237 scope = null;
245 _logger.finest("FINAL_PERSISTENCE_SCOPE IS = " + scope);
250 _persistenceScope = scope;
282 * Get the persistence scope for this web module
/glassfish-3.1.2/connectors/admin/src/main/java/org/glassfish/connectors/admin/cli/
H A DPingConnectionPool.java106 String scope = "";
114 scope = "java:module/";
121 scope = "java:app/";
124 if(!poolUtil.isValidPool(resources, poolName, scope, report)){
H A DFlushConnectionPool.java92 String scope = "";
100 scope = ConnectorConstants.JAVA_MODULE_SCOPE_PREFIX;
107 scope = ConnectorConstants.JAVA_APP_SCOPE_PREFIX;
110 if(!poolUtil.isValidPool(resources, poolName, scope, report)){
/glassfish-3.1.2/admin/util/src/main/java/org/glassfish/admin/cli/resources/
H A DResourcesXMLParser.java156 String scope = "";
157 generateResourceObjects(scope);
161 public ResourcesXMLParser(File resourceFile, String scope) throws Exception { argument
165 generateResourceObjects(scope);
263 private void generateResourceObjects(String scope) throws Exception argument
271 generateCustomResource(nextKid, scope);
275 generateJNDIResource(nextKid, scope);
279 generateJDBCResource(nextKid, scope);
283 generateJDBCConnectionPoolResource(nextKid, scope);
287 generateMailResource(nextKid, scope);
467 getScopedName(String name, String scope) argument
528 generateCustomResource(Node nextKid, String scope) argument
566 generateJNDIResource(Node nextKid, String scope) argument
603 generateJDBCResource(Node nextKid, String scope) argument
646 generateJDBCConnectionPoolResource(Node nextKid, String scope) argument
886 generateMailResource(Node nextKid, String scope) argument
950 generateAdminObjectResource(Node nextKid, String scope) argument
994 generateConnectorResource(Node nextKid, String scope) argument
1077 generateConnectorConnectionPoolResource(Node nextKid, String scope) argument
1257 generateWorkSecurityMap(Node node, String scope) argument
1322 generateSecurityMap(String poolName,Node mapNode, String scope) argument
1385 generateResourceAdapterConfig(Node nextKid, String scope) argument
[all...]
/glassfish-3.1.2/common/container-common/src/main/java/com/sun/enterprise/container/common/impl/
H A DComponentEnvManagerImpl.java307 private void addDataSourceBindings(JndiNameEnvironment env, ScopeType scope, Collection<JNDIBinding> jndiBindings) { argument
311 if (!dependencyAppliesToScope(dsd, scope)) {
407 private void addEnvironmentProperties(ScopeType scope, Iterator envItr, Collection<JNDIBinding> jndiBindings) { argument
413 if( !dependencyAppliesToScope(next, scope)) {
435 private void addResourceReferences(ScopeType scope, Iterator resRefItr, Collection<JNDIBinding> jndiBindings) { argument
441 if( !dependencyAppliesToScope(resourceRef, scope)) {
494 private void addJNDIBindings(JndiNameEnvironment env, ScopeType scope, Collection<JNDIBinding> jndiBindings) { argument
497 // match the given scope.
499 addEnvironmentProperties(scope, env.getEnvironmentProperties().iterator(), jndiBindings);
507 if( !dependencyAppliesToScope(next, scope)) {
681 dependencyAppliesToScope(Descriptor descriptor, ScopeType scope) argument
689 dependencyAppliesToScope(String name, ScopeType scope) argument
[all...]
/glassfish-3.1.2/build/maven-glassfishbuild-plugin/src/main/java/com/sun/enterprise/build/
H A DAbstractGlassfishMojo.java136 protected Set<Artifact> findArtifactsOfScope(Set<Artifact> artifacts, final String scope) { argument
140 return s.equals(scope);
/glassfish-3.1.2/jbi/serviceengine/sun-javaee-engine/src/main/java/com/sun/enterprise/jbi/serviceengine/util/
H A DDOMStreamReader.java291 Scope scope = allocateScope();
300 scope.currentNamespaces.add(attr);
320 * and if not, declare it on the current scope to "fix" it.
329 Scope scope = scopes[depth];
331 String currentUri = scope.getNamespaceURI(prefix);
344 scope.additionalNamespaces.add(prefix);
345 scope.additionalNamespaces.add(uri);
357 Scope scope = scopes[depth];
358 if(scope==null) {
359 scope
[all...]
/glassfish-3.1.2/admingui/war/src/main/webapp/resources/yui/
H A Dconnection-min.js7 YAHOO.util.Connect={_msxml_progid:["Microsoft.XMLHTTP","MSXML2.XMLHTTP.3.0","MSXML2.XMLHTTP"],_http_headers:{},_has_http_headers:false,_use_default_post_header:true,_default_post_header:"application/x-www-form-urlencoded; charset=UTF-8",_default_form_header:"application/x-www-form-urlencoded",_use_default_xhr_header:true,_default_xhr_header:"XMLHttpRequest",_has_default_headers:true,_default_headers:{},_isFormSubmit:false,_isFileUpload:false,_formNode:null,_sFormData:null,_poll:{},_timeOut:{},_polling_interval:50,_transaction_id:0,_submitElementValue:null,_hasSubmitListener:(function(){if(YAHOO.util.Event){YAHOO.util.Event.addListener(document,"click",function(C){var B=YAHOO.util.Event.getTarget(C),A=B.nodeName.toLowerCase();if((A==="input"||A==="button")&&(B.type&&B.type.toLowerCase()=="submit")){YAHOO.util.Connect._submitElementValue=encodeURIComponent(B.name)+"="+encodeURIComponent(B.value);}});return true;}return false;})(),startEvent:new YAHOO.util.CustomEvent("start"),completeEvent:new YAHOO.util.CustomEvent("complete"),successEvent:new YAHOO.util.CustomEvent("success"),failureEvent:new YAHOO.util.CustomEvent("failure"),uploadEvent:new YAHOO.util.CustomEvent("upload"),abortEvent:new YAHOO.util.CustomEvent("abort"),_customEvents:{onStart:["startEvent","start"],onComplete:["completeEvent","complete"],onSuccess:["successEvent","success"],onFailure:["failureEvent","failure"],onUpload:["uploadEvent","upload"],onAbort:["abortEvent","abort"]},setProgId:function(A){this._msxml_progid.unshift(A);},setDefaultPostHeader:function(A){if(typeof A=="string"){this._default_post_header=A;}else{if(typeof A=="boolean"){this._use_default_post_header=A;}}},setDefaultXhrHeader:function(A){if(typeof A=="string"){this._default_xhr_header=A;}else{this._use_default_xhr_header=A;}},setPollingInterval:function(A){if(typeof A=="number"&&isFinite(A)){this._polling_interval=A;}},createXhrObject:function(F){var E,A;try{A=new XMLHttpRequest();E={conn:A,tId:F};}catch(D){for(var B=0;B<this._msxml_progid.length;++B){try{A=new ActiveXObject(this._msxml_progid[B]);E={conn:A,tId:F};break;}catch(C){}}}finally{return E;}},getConnectionObject:function(A){var C;var D=this._transaction_id;try{if(!A){C=this.createXhrObject(D);}else{C={};C.tId=D;C.isUpload=true;}if(C){this._transaction_id++;}}catch(B){}finally{return C;}},asyncRequest:function(F,C,E,A){var D=(this._isFileUpload)?this.getConnectionObject(true):this.getConnectionObject();var B=(E&&E.argument)?E.argument:null;if(!D){return null;}else{if(E&&E.customevents){this.initCustomEvents(D,E);}if(this._isFormSubmit){if(this._isFileUpload){this.uploadFile(D,E,C,A);return D;}if(F.toUpperCase()=="GET"){if(this._sFormData.length!==0){C+=((C.indexOf("?")==-1)?"?":"&")+this._sFormData;}}else{if(F.toUpperCase()=="POST"){A=A?this._sFormData+"&"+A:this._sFormData;}}}if(F.toUpperCase()=="GET"&&(E&&E.cache===false)){C+=((C.indexOf("?")==-1)?"?":"&")+"rnd="+new Date().valueOf().toString();}D.conn.open(F,C,true);if(this._use_default_xhr_header){if(!this._default_headers["X-Requested-With"]){this.initHeader("X-Requested-With",this._default_xhr_header,true);}}if((F.toUpperCase()==="POST"&&this._use_default_post_header)&&this._isFormSubmit===false){this.initHeader("Content-Type",this._default_post_header);}if(this._has_default_headers||this._has_http_headers){this.setHeader(D);}this.handleReadyState(D,E);D.conn.send(A||"");if(this._isFormSubmit===true){this.resetFormState();}this.startEvent.fire(D,B);if(D.startEvent){D.startEvent.fire(D,B);}return D;}},initCustomEvents:function(A,C){var B;for(B in C.customevents){if(this._customEvents[B][0]){A[this._customEvents[B][0]]=new YAHOO.util.CustomEvent(this._customEvents[B][1],(C.scope)?C.scope:null);A[this._customEvents[B][0]].subscribe(C.customevents[B]);}}},handleReadyState:function(C,D){var B=this;var A=(D&&D.argument)?D.argument:null;if(D&&D.timeout){this._timeOut[C.tId]=window.setTimeout(function(){B.abort(C,D,true);},D.timeout);}this._poll[C.tId]=window.setInterval(function(){if(C.conn&&C.conn.readyState===4){window.clearInterval(B._poll[C.tId]);delete B._poll[C.tId];if(D&&D.timeout){window.clearTimeout(B._timeOut[C.tId]);delete B._timeOut[C.tId];}B.completeEvent.fire(C,A);if(C.completeEvent){C.completeEvent.fire(C,A);}B.handleTransactionResponse(C,D);}},this._polling_interval);},handleTransactionResponse:function(F,G,A){var D,C;var B=(G&&G.argument)?G.argument:null;try{if(F.conn.status!==undefined&&F.conn.status!==0){D=F.conn.status;}else{D=13030;}}catch(E){D=13030;}if(D>=200&&D<300||D===1223){C=this.createResponseObject(F,B);if(G&&G.success){if(!G.scope){G.success(C);}else{G.success.apply(G.scope,[C]);}}this.successEvent.fire(C);if(F.successEvent){F.successEvent.fire(C);}}else{switch(D){case 12002:case 12029:case 12030:case 12031:case 12152:case 13030:C=this.createExceptionObject(F.tId,B,(A?A:false));if(G&&G.failure){if(!G.scope){G.failure(C);}else{G.failure.apply(G.scope,[C]);}}break;default:C=this.createResponseObject(F,B);if(G&&G.failure){if(!G.scope){G.failure(C);}else{G.failure.apply(G.scope,[C]);}}}this.failureEvent.fire(C);if(F.failureEvent){F.failureEvent.fire(C);}}this.releaseObject(F);C=null;},createResponseObject:function(A,G){var D={};var I={};try{var C=A.conn.getAllResponseHeaders();var F=C.split("\n");for(var E=0;E<F.length;E++){var B=F[E].indexOf(":");if(B!=-1){I[F[E].substring(0,B)]=F[E].substring(B+2);}}}catch(H){}D.tId=A.tId;D.status=(A.conn.status==1223)?204:A.conn.status;D.statusText=(A.conn.status==1223)?"No Content":A.conn.statusText;D.getResponseHeader=I;D.getAllResponseHeaders=C;D.responseText=A.conn.responseText;D.responseXML=A.conn.responseXML;if(G){D.argument=G;}return D;},createExceptionObject:function(H,D,A){var F=0;var G="communication failure";var C=-1;var B="transaction aborted";var E={};E.tId=H;if(A){E.status=C;E.statusText=B;}else{E.status=F;E.statusText=G;}if(D){E.argument=D;}return E;},initHeader:function(A,D,C){var B=(C)?this._default_headers:this._http_headers;B[A]=D;if(C){this._has_default_headers=true;
8 }else{this._has_http_headers=true;}},setHeader:function(A){var B;if(this._has_default_headers){for(B in this._default_headers){if(YAHOO.lang.hasOwnProperty(this._default_headers,B)){A.conn.setRequestHeader(B,this._default_headers[B]);}}}if(this._has_http_headers){for(B in this._http_headers){if(YAHOO.lang.hasOwnProperty(this._http_headers,B)){A.conn.setRequestHeader(B,this._http_headers[B]);}}delete this._http_headers;this._http_headers={};this._has_http_headers=false;}},resetDefaultHeaders:function(){delete this._default_headers;this._default_headers={};this._has_default_headers=false;},setForm:function(M,H,C){var L,B,K,I,P,J=false,F=[],O=0,E,G,D,N,A;this.resetFormState();if(typeof M=="string"){L=(document.getElementById(M)||document.forms[M]);}else{if(typeof M=="object"){L=M;}else{return;}}if(H){this.createFrame(C?C:null);this._isFormSubmit=true;this._isFileUpload=true;this._formNode=L;return;}for(E=0,G=L.elements.length;E<G;++E){B=L.elements[E];P=B.disabled;K=B.name;if(!P&&K){K=encodeURIComponent(K)+"=";I=encodeURIComponent(B.value);switch(B.type){case"select-one":if(B.selectedIndex>-1){A=B.options[B.selectedIndex];F[O++]=K+encodeURIComponent((A.attributes.value&&A.attributes.value.specified)?A.value:A.text);}break;case"select-multiple":if(B.selectedIndex>-1){for(D=B.selectedIndex,N=B.options.length;D<N;++D){A=B.options[D];if(A.selected){F[O++]=K+encodeURIComponent((A.attributes.value&&A.attributes.value.specified)?A.value:A.text);}}}break;case"radio":case"checkbox":if(B.checked){F[O++]=K+I;}break;case"file":case undefined:case"reset":case"button":break;case"submit":if(J===false){if(this._hasSubmitListener&&this._submitElementValue){F[O++]=this._submitElementValue;}J=true;}break;default:F[O++]=K+I;}}}this._isFormSubmit=true;this._sFormData=F.join("&");this.initHeader("Content-Type",this._default_form_header);return this._sFormData;},resetFormState:function(){this._isFormSubmit=false;this._isFileUpload=false;this._formNode=null;this._sFormData="";},createFrame:function(A){var B="yuiIO"+this._transaction_id;var C;if(YAHOO.env.ua.ie){C=document.createElement('<iframe id="'+B+'" name="'+B+'" />');if(typeof A=="boolean"){C.src="javascript:false";}}else{C=document.createElement("iframe");C.id=B;C.name=B;}C.style.position="absolute";C.style.top="-1000px";C.style.left="-1000px";document.body.appendChild(C);},appendPostData:function(A){var D=[],B=A.split("&"),C,E;for(C=0;C<B.length;C++){E=B[C].indexOf("=");if(E!=-1){D[C]=document.createElement("input");D[C].type="hidden";D[C].name=decodeURIComponent(B[C].substring(0,E));D[C].value=decodeURIComponent(B[C].substring(E+1));this._formNode.appendChild(D[C]);}}return D;},uploadFile:function(D,N,E,C){var I="yuiIO"+D.tId,J="multipart/form-data",L=document.getElementById(I),O=this,K=(N&&N.argument)?N.argument:null,M,H,B,G;var A={action:this._formNode.getAttribute("action"),method:this._formNode.getAttribute("method"),target:this._formNode.getAttribute("target")};this._formNode.setAttribute("action",E);this._formNode.setAttribute("method","POST");this._formNode.setAttribute("target",I);if(YAHOO.env.ua.ie){this._formNode.setAttribute("encoding",J);}else{this._formNode.setAttribute("enctype",J);}if(C){M=this.appendPostData(C);}this._formNode.submit();this.startEvent.fire(D,K);if(D.startEvent){D.startEvent.fire(D,K);}if(N&&N.timeout){this._timeOut[D.tId]=window.setTimeout(function(){O.abort(D,N,true);},N.timeout);}if(M&&M.length>0){for(H=0;H<M.length;H++){this._formNode.removeChild(M[H]);}}for(B in A){if(YAHOO.lang.hasOwnProperty(A,B)){if(A[B]){this._formNode.setAttribute(B,A[B]);}else{this._formNode.removeAttribute(B);}}}this.resetFormState();var F=function(){if(N&&N.timeout){window.clearTimeout(O._timeOut[D.tId]);delete O._timeOut[D.tId];}O.completeEvent.fire(D,K);if(D.completeEvent){D.completeEvent.fire(D,K);}G={tId:D.tId,argument:N.argument};try{G.responseText=L.contentWindow.document.body?L.contentWindow.document.body.innerHTML:L.contentWindow.document.documentElement.textContent;G.responseXML=L.contentWindow.document.XMLDocument?L.contentWindow.document.XMLDocument:L.contentWindow.document;}catch(P){}if(N&&N.upload){if(!N.scope){N.upload(G);}else{N.upload.apply(N.scope,[
[all...]
/glassfish-3.1.2/deployment/dol/src/main/java/com/sun/enterprise/deployment/node/runtime/web/
H A DCacheMappingNode.java163 String scope = descriptor.getAttributeValue(CacheMapping.TIMEOUT, CacheMapping.SCOPE);
164 if (scope!=null) {
165 setAttribute(timeout, RuntimeTagNames.SCOPE, scope);

Completed in 28 milliseconds

12