| /glassfish-3.1.2/security/core/src/main/java/com/sun/enterprise/security/common/ |
| H A D | AppservAccessController.java | 59 public static Object doPrivileged(PrivilegedAction action) { argument 61 return action.run(); 63 return AccessController.doPrivileged(action); 67 public static Object doPrivileged(PrivilegedExceptionAction action) argument 72 return action.run(); 77 return AccessController.doPrivileged(action);
|
| /glassfish-3.1.2/admingui/war/src/main/webapp/resources/yui/ |
| H A D | connection-min.js | 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. (…)
|
| /glassfish-3.1.2/ant-tasks/src/main/java/org/glassfish/ant/tasks/ |
| H A D | ComponentTask.java | 50 String action; field in class:ComponentTask 57 public void setAction(String action) { argument 58 this.action = action; 72 if (!valid(action)) { 73 log("action must be specified. Valid values are 'enable' and 'disable'", Project.MSG_WARN); 81 super.execute(action + " " + comp.name); 85 private boolean valid(String action) { argument 86 return (action != null && 87 (action [all...] |
| H A D | UndeployTask.java | 49 private String action = "undeploy"; field in class:UndeployTask 55 setCommand(action); 106 super.execute(action + " " + comp.getCommand());
|
| H A D | DeployTask.java | 50 private String action; field in class:DeployTask 59 public void setAction(String action) { argument 60 this.action = action; 156 super.execute(action + " " + getCommand()); 169 super.execute(action + " " + comp.getCommand());
|
| /glassfish-3.1.2/persistence/cmp/support-sqlstore/src/main/java/com/sun/jdo/spi/persistence/support/sqlstore/ |
| H A D | UpdateObjectDesc.java | 58 int action); 56 setObjectInfo(StateManager biStateManager, StateManager aiStateManager, int action) argument
|
| H A D | PersistenceStore.java | 71 RetrieveDesc action, 70 retrieve(PersistenceManager pm, RetrieveDesc action, ValueFetcher parameters) argument
|
| H A D | SQLStoreManager.java | 129 ActionDesc action = (ActionDesc) iter.next(); 131 if (action instanceof UpdateObjectDescImpl) { 132 UpdateObjectDescImpl request = (UpdateObjectDescImpl) action; 147 action.getClass().getName(), 349 * the action parameter. 351 * @param action 352 * The action parameter holds the RetrieveDesc describing what 358 public Object retrieve(PersistenceManager pm, RetrieveDesc action, ValueFetcher parameters) { argument 360 if (action == null) { 362 "core.generic.nullparam", "action")); // NOI18 [all...] |
| /glassfish-3.1.2/persistence/cmp/support-sqlstore/src/main/java/com/sun/jdo/spi/persistence/support/sqlstore/sql/ |
| H A D | UpdateJoinTableDesc.java | 61 private int action; field in class:UpdateJoinTableDesc 63 public UpdateJoinTableDesc(SQLStateManager parentSM, SQLStateManager foreignSM, int action) { argument 68 this.action = action; 80 return action;
|
| H A D | UpdateObjectDescImpl.java | 219 * field <code>fieldDesc</code>. The <code>action</code> 225 * @param action The action is either CREATE or REMOVE. 231 int action) { 240 if (desc != null && desc.getAction() == action) { 251 * associated state managers. The <code>action</code> parameter 257 * @param action The action is either CREATE or REMOVE. 263 int action) { 278 desc = new UpdateJoinTableDesc(parentSM, foreignSM, action); 229 removeUpdatedJoinTableRelationship(ForeignFieldDesc fieldDesc, SQLStateManager foreignSM, int action) argument 260 recordUpdatedJoinTableRelationship(ForeignFieldDesc fieldDesc, SQLStateManager parentSM, SQLStateManager foreignSM, int action) argument 364 setObjectInfo(StateManager biStateManager, StateManager aiStateManager, int action) argument [all...] |
| /glassfish-3.1.2/persistence/cmp/model/src/main/java/com/sun/jdo/api/persistence/model/jdo/impl/ |
| H A D | FieldGroupElementImpl.java | 102 * @param action {@link #ADD}, {@link #REMOVE}, or {@link #SET} 105 public void changeFields (PersistenceFieldElement[] fields, int action) argument 108 _fields.changeElements(fields, action);
|
| H A D | PersistenceElementCollection.java | 95 * @param action {@link com.sun.jdo.api.persistence.model.jdo.PersistenceElement.Impl#ADD}, 100 public void changeElements (PersistenceElement[] elements, int action) argument 103 changeElements(Arrays.asList(elements), action); 108 * @param action {@link com.sun.jdo.api.persistence.model.jdo.PersistenceElement.Impl#ADD}, 113 public void changeElements (List elements, int action) argument 125 switch (action)
|
| H A D | PersistenceClassElementImpl.java | 250 * @param action {@link #ADD}, {@link #REMOVE}, or {@link #SET} 253 public void changeFields (PersistenceFieldElement[] fields, int action) argument 256 _fields.changeElements(fields, action); 280 * @param action {@link #ADD}, {@link #REMOVE}, or {@link #SET} 284 int action) throws ModelException 286 _groups.changeElements(groups, action); 283 changeConcurrencyGroups(ConcurrencyGroupElement[] groups, int action) argument
|
| H A D | RelationshipElementImpl.java | 78 /** Update action of the relationship element. */ 81 /** Delete action of the relationship element. */ 123 /** Get the update action for this relationship element. 124 * @return the update action, one of 134 /** Set the update action for this relationship element. 135 * @param action - an integer indicating the update action, one of: 143 public void setUpdateAction (int action) throws ModelException argument 146 Integer newAction = new Integer(action); 151 _updateAction = action; 180 setDeleteAction(int action) argument [all...] |
| /glassfish-3.1.2/persistence/cmp/model/src/main/java/com/sun/jdo/api/persistence/model/jdo/ |
| H A D | FieldGroupElement.java | 175 * @param action {@link #ADD}, {@link #REMOVE}, or {@link #SET} 178 public void changeFields (PersistenceFieldElement[] fields, int action) argument
|
| H A D | PersistenceClassElement.java | 534 * @param action {@link #ADD}, {@link #REMOVE}, or {@link #SET} 537 public void changeFields (PersistenceFieldElement[] fields, int action) argument 553 * @param action {@link #ADD}, {@link #REMOVE}, or {@link #SET} 557 int action) throws ModelException; 556 changeConcurrencyGroups(ConcurrencyGroupElement[] groups, int action) argument
|
| H A D | RelationshipElement.java | 71 /** Constant representing no action. */ 74 /** Constant representing nullify action. */ 77 /** Constant representing restrict action. */ 80 /** Constant representing cascade action. */ 83 /** Constant representing aggregate action. */ 111 /** Get the update action for this relationship element. 112 * @return the update action, one of {@link #NONE_ACTION}, 121 /** Set the update action for this relationship element. 122 * @param action - an integer indicating the update action, on 127 setUpdateAction(int action) argument 154 setDeleteAction(int action) argument 408 setUpdateAction(int action) argument 424 setDeleteAction(int action) argument [all...] |
| /glassfish-3.1.2/appclient/server/core/src/main/java/org/glassfish/appclient/server/core/jws/ |
| H A D | JavaWebStartState.java | 54 * Implementation note: I tried recording the valid transitions (action plus 67 * state and the specified action, 71 * The specified action must match a valid transition from the 74 * @param action the Action the server is notifying us about 77 public void transition(final Action action, final Runnable task) { argument 78 final Transition t = validTransitions.get(currentStateValue).get(action); 81 throw new IllegalStateException(currentStateValue.toString() + " : " + action.toString()); 122 * Records a valid transition given an action to a new state. 126 final Action action; field in class:JavaWebStartState.Transition 130 Transition(final Action action, fina argument 134 Transition(final Action action, final StateValue newState, final boolean isNOOP) argument [all...] |
| /glassfish-3.1.2/deployment/client/src/main/java/org/glassfish/deployapi/ |
| H A D | ProgressObjectImpl.java | 577 public boolean checkStatusAndAddStage(TargetImpl aTarget, String action, DFDeploymentStatus currentStatus) { argument 581 fireProgressEvent(StateType.RUNNING, localStrings.getLocalString("enterprise.deployment.client.action_completed", "Action {0} completed", action), aTarget); 584 setupForAbnormalExit(localStrings.getLocalString("enterprise.deployment.client.action_failed_with_message", "Action {0} failed - {1}", action, statusMsg), aTarget);
|
| /glassfish-3.1.2/appclient/client/acc/src/main/java/org/glassfish/appclient/client/ |
| H A D | JWSAppClientContainerMain.java | 273 private final Runner action; field in class:JWSAppClientContainerMain.JWSACCSetting 280 final Runner action) { 282 this.action = action; 286 if (action != null) { 287 action.run(runInfo); 279 JWSACCSetting(final String propertyNameSuffix, final Runner action) argument
|
| /glassfish-3.1.2/persistence/cmp/enhancer/src/main/java/com/sun/jdo/api/persistence/enhancer/impl/ |
| H A D | ClassControl.java | 360 public ClassAction action() { method in class:ClassControl 678 aClass.action().getImplementsPersistenceHooks()); 854 if (action().hasAnnotatedAttribute()) { 930 && !action().hasAnnotatedAttribute()) {
|
| /glassfish-3.1.2/persistence/cmp/support-sqlstore/src/main/java/com/sun/jdo/spi/persistence/support/sqlstore/sql/generator/ |
| H A D | QueryPlan.java | 91 protected int action; field in class:QueryPlan 225 statement.action = action; 268 return action;
|
| H A D | UpdateStatement.java | 162 switch (action) { 196 switch (action) { 215 ((action == QueryPlan.ACT_UPDATE) || 216 (action == QueryPlan.ACT_INSERT))) { 253 public void addLocalConstraints(int action, ForeignFieldDesc f, SQLStateManager sm) { argument 257 if (action == QueryPlan.ACT_INSERT) { 263 } else if (action == QueryPlan.ACT_DELETE) { 273 public void addForeignConstraints(int action, ForeignFieldDesc f, SQLStateManager sm) { argument 277 if (action == QueryPlan.ACT_INSERT) { 283 } else if (action [all...] |
| /glassfish-3.1.2/transaction/jts/src/main/java/com/sun/jts/CosTransactions/ |
| H A D | SubCoordinator.java | 1116 * SubCoordinator's action. 1123 * @param action A 1-element array to hold the reply action. 1132 synchronized CoordinatorImpl replyAction(int[/*1*/] action) argument 1136 action[0] = CoordinatorImpl.doNothing; 1143 action[0] = CoordinatorImpl.activeChildren; 1159 action[0] = forgetMe; 1169 if (action[0] == doNothing && !registered) 1170 action[0] = forgetMe; 1173 // Default action i [all...] |
| /glassfish-3.1.2/web/web-ajp/src/main/java/org/apache/jk/core/ |
| H A D | MsgContext.java | 298 public void action(ActionCode actionCode, Object param) { method in class:MsgContext 327 action(ActionCode.ACTION_COMMIT, res); 353 this.action( ActionCode.ACTION_COMMIT, param );
|