Searched defs:events (Results 1 - 25 of 62) sorted by relevance

123

/glassfish-3.1.2/ejb/ejb-container/src/main/java/com/sun/ejb/containers/
H A DEJBTimerServiceConfigListener.java72 // events to be sent to this instance
78 public UnprocessedChangeEvents changed(PropertyChangeEvent[] events) { argument
83 for (PropertyChangeEvent event : events) {
/glassfish-3.1.2/admin/config-api/src/test/java/com/sun/enterprise/configapi/tests/
H A DAddPropertyTest.java76 List<PropertyChangeEvent> events = null; field in class:AddPropertyTest
83 events = changes;
109 assertTrue(events!=null);
110 logger.fine("Number of events " + events.size());
111 assertTrue(events.size()==3);
112 for (PropertyChangeEvent event : events) {
125 assertTrue(events!=null);
126 logger.fine("Number of events " + events
[all...]
H A DHttpListenerContainer.java66 public synchronized UnprocessedChangeEvents changed(PropertyChangeEvent[] events) { argument
71 assertTrue(events.length==1);
72 String listenerName = ((NetworkListener) events[0].getSource()).getName();
74 assertEquals("8989",events[0].getNewValue().toString());
H A DNetworkListenersContainer.java69 public synchronized UnprocessedChangeEvents changed(PropertyChangeEvent[] events) { argument
73 return ConfigSupport.sortAndDispatch(events, new Changed() {
H A DTransactionListenerTest.java71 List<PropertyChangeEvent> events = null; field in class:TransactionListenerTest
82 events = changes;
106 assertTrue(events!=null);
107 logger.fine("Number of events " + events.size());
108 assertTrue(events.size()==1);
109 PropertyChangeEvent event = events.iterator().next();
H A DPropertyChangeListenerTest.java109 public UnprocessedChangeEvents changed(PropertyChangeEvent[] events) { argument
H A DTranslatedViewCreationTest.java77 List<PropertyChangeEvent> events; field in class:TranslatedViewCreationTest
97 events = changes;
128 assertTrue(events!=null);
129 logger.fine("Number of events " + events.size());
130 assertTrue(events.size()==3);
131 for (PropertyChangeEvent event : events) {
/glassfish-3.1.2/core/kernel/src/main/java/com/sun/enterprise/v3/server/
H A DDomainCreationStartup.java64 Events events; field in class:DomainCreationStartup
80 events.send(new EventListener.Event(EventTypes.SERVER_SHUTDOWN), false);
H A DAppServerStartup.java110 Events events; field in class:AppServerStartup
266 events.send(new Event(EventTypes.SERVER_SHUTDOWN));
278 events.send(new Event(EventTypes.SERVER_STARTUP), false);
320 events.send(new Event(EventTypes.SERVER_SHUTDOWN));
335 events.send(new Event(EventTypes.SERVER_READY), false);
403 events.send(new Event(EventTypes.PREPARE_SHUTDOWN), false);
439 events.send(new Event(EventTypes.SERVER_SHUTDOWN), false);
443 // we send the shutdown events before the Init services are released since
/glassfish-3.1.2/core/kernel/src/main/java/org/glassfish/kernel/
H A DFileMonitoringImpl.java70 Events events; field in class:FileMonitoringImpl
99 events.register(new org.glassfish.api.event.EventListener() {
/glassfish-3.1.2/transaction/internal-api/src/main/java/com/sun/enterprise/transaction/startup/
H A DTransactionLifecycleService.java72 Events events; field in class:TransactionLifecycleService
92 events.register(glassfishEventListener);
/glassfish-3.1.2/transaction/jta/src/main/java/com/sun/enterprise/transaction/
H A DTransactionServiceConfigListener.java76 // events to be sent to this instance
98 public UnprocessedChangeEvents changed(PropertyChangeEvent[] events) { argument
103 for (PropertyChangeEvent event : events) {
/glassfish-3.1.2/admin/rest/src/main/java/org/glassfish/admin/rest/
H A DRestConfigChangeListener.java85 public UnprocessedChangeEvents changed(PropertyChangeEvent[] events) { argument
/glassfish-3.1.2/ha/ha-shoal-cache-bootstrap/src/main/java/org/glassfish/ha/store/adapter/cache/
H A DReplicationStoreProxy2.java70 Events events; field in class:ReplicationStoreProxy2
110 // events.register(glassfishEventListener);
H A DShoalBackingStoreProxy.java70 Events events; field in class:ShoalBackingStoreProxy
109 events.register(glassfishEventListener);
/glassfish-3.1.2/security/core/src/main/java/com/sun/enterprise/security/jmac/
H A DMessageSecurityConfigEventListenerImpl.java63 * Listener class to handle admin message-security-config element events.
138 public UnprocessedChangeEvents changed(PropertyChangeEvent[] events) { argument
139 ConfigSupport.sortAndDispatch(events, new Changed() {
/glassfish-3.1.2/deployment/admin/src/main/java/org/glassfish/deployment/admin/
H A DDisableCommand.java125 Events events; field in class:DisableCommand
278 events.send(new Event<ApplicationInfo>(Deployment.APPLICATION_DISABLED, appInfo));
H A DUndeployCommand.java134 Events events; field in class:UndeployCommand
282 events.send(new Event<DeploymentContext>(Deployment.UNDEPLOYMENT_VALIDATION, deploymentContext), false);
H A DCreateApplicationRefCommand.java154 Events events; field in class:CreateApplicationRefCommand
314 events.send(new Event<DeploymentContext>(Deployment.APPLICATION_PREPARED, deploymentContext), false);
/glassfish-3.1.2/jms/jms-core/src/main/java/com/sun/enterprise/connectors/jms/system/
H A DJMSConfigListener.java66 // events to be sent to this instance
90 public UnprocessedChangeEvents changed(PropertyChangeEvent[] events) { argument
103 for (int i=0; i< events.length; i++) {
104 //for (PropertyChangeEvent event : events) {
105 PropertyChangeEvent event = events[i];
128 PropertyChangeEvent nextevent = events[i+1] ;
/glassfish-3.1.2/security/core/src/main/java/com/sun/enterprise/security/admin/cli/
H A DSecureAdminConfigMonitor.java87 public UnprocessedChangeEvents changed(final PropertyChangeEvent[] events) { argument
89 events, new Changed() {
94 return processDomain(type, (Domain) t, events);
96 return processSecureAdmin(type, (SecureAdmin) t, events);
104 final PropertyChangeEvent[] events) {
105 for (PropertyChangeEvent event : events) {
115 final PropertyChangeEvent[] events) {
103 processDomain(final TYPE type, final Domain d, final PropertyChangeEvent[] events) argument
114 processSecureAdmin(final TYPE type, final SecureAdmin sa, final PropertyChangeEvent[] events) argument
/glassfish-3.1.2/admingui/war/src/main/webapp/resources/yui/
H A Ddragdrop-min.js7 if(!YAHOO.util.DragDropMgr){YAHOO.util.DragDropMgr=function(){var A=YAHOO.util.Event,B=YAHOO.util.Dom;return{useShim:false,_shimActive:false,_shimState:false,_debugShim:false,_createShim:function(){var C=document.createElement("div");C.id="yui-ddm-shim";if(document.body.firstChild){document.body.insertBefore(C,document.body.firstChild);}else{document.body.appendChild(C);}C.style.display="none";C.style.backgroundColor="red";C.style.position="absolute";C.style.zIndex="99999";B.setStyle(C,"opacity","0");this._shim=C;A.on(C,"mouseup",this.handleMouseUp,this,true);A.on(C,"mousemove",this.handleMouseMove,this,true);A.on(window,"scroll",this._sizeShim,this,true);},_sizeShim:function(){if(this._shimActive){var C=this._shim;C.style.height=B.getDocumentHeight()+"px";C.style.width=B.getDocumentWidth()+"px";C.style.top="0";C.style.left="0";}},_activateShim:function(){if(this.useShim){if(!this._shim){this._createShim();}this._shimActive=true;var C=this._shim,D="0";if(this._debugShim){D=".5";}B.setStyle(C,"opacity",D);this._sizeShim();C.style.display="block";}},_deactivateShim:function(){this._shim.style.display="none";this._shimActive=false;},_shim:null,ids:{},handleIds:{},dragCurrent:null,dragOvers:{},deltaX:0,deltaY:0,preventDefault:true,stopPropagation:true,initialized:false,locked:false,interactionInfo:null,init:function(){this.initialized=true;},POINT:0,INTERSECT:1,STRICT_INTERSECT:2,mode:0,_execOnAll:function(E,D){for(var F in this.ids){for(var C in this.ids[F]){var G=this.ids[F][C];if(!this.isTypeOfDD(G)){continue;}G[E].apply(G,D);}}},_onLoad:function(){this.init();A.on(document,"mouseup",this.handleMouseUp,this,true);A.on(document,"mousemove",this.handleMouseMove,this,true);A.on(window,"unload",this._onUnload,this,true);A.on(window,"resize",this._onResize,this,true);},_onResize:function(C){this._execOnAll("resetConstraints",[]);},lock:function(){this.locked=true;},unlock:function(){this.locked=false;},isLocked:function(){return this.locked;},locationCache:{},useCache:true,clickPixelThresh:3,clickTimeThresh:1000,dragThreshMet:false,clickTimeout:null,startX:0,startY:0,fromTimeout:false,regDragDrop:function(D,C){if(!this.initialized){this.init();}if(!this.ids[C]){this.ids[C]={};}this.ids[C][D.id]=D;},removeDDFromGroup:function(E,C){if(!this.ids[C]){this.ids[C]={};}var D=this.ids[C];if(D&&D[E.id]){delete D[E.id];}},_remove:function(E){for(var D in E.groups){if(D){var C=this.ids[D];if(C&&C[E.id]){delete C[E.id];}}}delete this.handleIds[E.id];},regHandle:function(D,C){if(!this.handleIds[D]){this.handleIds[D]={};}this.handleIds[D][C]=C;},isDragDrop:function(C){return(this.getDDById(C))?true:false;},getRelated:function(H,D){var G=[];for(var F in H.groups){for(var E in this.ids[F]){var C=this.ids[F][E];if(!this.isTypeOfDD(C)){continue;}if(!D||C.isTarget){G[G.length]=C;}}}return G;},isLegalTarget:function(G,F){var D=this.getRelated(G,true);for(var E=0,C=D.length;E<C;++E){if(D[E].id==F.id){return true;}}return false;},isTypeOfDD:function(C){return(C&&C.__ygDragDrop);},isHandle:function(D,C){return(this.handleIds[D]&&this.handleIds[D][C]);},getDDById:function(D){for(var C in this.ids){if(this.ids[C][D]){return this.ids[C][D];}}return null;},handleMouseDown:function(E,D){this.currentTarget=YAHOO.util.Event.getTarget(E);this.dragCurrent=D;var C=D.getEl();this.startX=YAHOO.util.Event.getPageX(E);this.startY=YAHOO.util.Event.getPageY(E);this.deltaX=this.startX-C.offsetLeft;this.deltaY=this.startY-C.offsetTop;this.dragThreshMet=false;this.clickTimeout=setTimeout(function(){var F=YAHOO.util.DDM;F.startDrag(F.startX,F.startY);F.fromTimeout=true;},this.clickTimeThresh);},startDrag:function(C,E){if(this.dragCurrent&&this.dragCurrent.useShim){this._shimState=this.useShim;this.useShim=true;}this._activateShim();clearTimeout(this.clickTimeout);var D=this.dragCurrent;if(D&&D.events.b4StartDrag){D.b4StartDrag(C,E);D.fireEvent("b4StartDragEvent",{x:C,y:E});}if(D&&D.events.startDrag){D.startDrag(C,E);D.fireEvent("startDragEvent",{x:C,y:E});}this.dragThreshMet=true;},handleMouseUp:function(C){if(this.dragCurrent){clearTimeout(this.clickTimeout);if(this.dragThreshMet){if(this.fromTimeout){this.fromTimeout=false;this.handleMouseMove(C);}this.fromTimeout=false;this.fireEvents(C,true);}else{}this.stopDrag(C);this.stopEvent(C);}},stopEvent:function(C){if(this.stopPropagation){YAHOO.util.Event.stopPropagation(C);}if(this.preventDefault){YAHOO.util.Event.preventDefault(C);}},stopDrag:function(E,D){var C=this.dragCurrent;if(C&&!D){if(this.dragThreshMet){if(C.events.b4EndDrag){C.b4EndDrag(E);C.fireEvent("b4EndDragEvent",{e:E});}if(C.events.endDrag){C.endDrag(E);C.fireEvent("endDragEvent",{e:E});}}if(C.events.mouseUp){C.onMouseUp(E);C.fireEvent("mouseUpEvent",{e:E});}}if(this._shimActive){this._deactivateShim();if(this.dragCurrent&&this.dragCurrent.useShim){this.useShim=this._shimState;this._shimState=false;}}this.dragCurrent=null;this.dragOvers={};},handleMouseMove:function(F){var C=this.dragCurrent;if(C){if(YAHOO.util.Event.isIE&&!F.button){this.stopEvent(F);return this.handleMouseUp(F);}else{if(F.clientX<0||F.clientY<0){}}if(!this.dragThreshMet){var E=Math.abs(this.startX-YAHOO.util.Event.getPageX(F));var D=Math.abs(this.startY-YAHOO.util.Event.getPageY(F));if(E>this.clickPixelThresh||D>this.clickPixelThresh){this.startDrag(this.startX,this.startY);}}if(this.dragThreshMet){if(C&&C.events.b4Drag){C.b4Drag(F);C.fireEvent("b4DragEvent",{e:F});}if(C&&C.events.drag){C.onDrag(F);C.fireEvent("dragEvent",{e:F});}if(C){this.fireEvents(F,false);}}this.stopEvent(F);}},fireEvents:function(V,L){var a=this.dragCurrent;if(!a||a.isLocked()||a.dragOnly){return;}var N=YAHOO.util.Event.getPageX(V),M=YAHOO.util.Event.getPageY(V),P=new YAHOO.util.Point(N,M),K=a.getTargetCoord(P.x,P.y),F=a.getDragEl(),E=["out","over","drop","enter"],U=new YAHOO.util.Region(K.y,K.x+F.offsetWidth,K.y+F.offsetHeight,K.x),I=[],D={},Q=[],c={outEvts:[],overEvts:[],dropEvts:[],enterEvts:[]};for(var S in this.dragOvers){var d=this.dragOvers[S];if(!this.isTypeOfDD(d)){continue;
8 }if(!this.isOverTarget(P,d,this.mode,U)){c.outEvts.push(d);}I[S]=true;delete this.dragOvers[S];}for(var R in a.groups){if("string"!=typeof R){continue;}for(S in this.ids[R]){var G=this.ids[R][S];if(!this.isTypeOfDD(G)){continue;}if(G.isTarget&&!G.isLocked()&&G!=a){if(this.isOverTarget(P,G,this.mode,U)){D[R]=true;if(L){c.dropEvts.push(G);}else{if(!I[G.id]){c.enterEvts.push(G);}else{c.overEvts.push(G);}this.dragOvers[G.id]=G;}}}}}this.interactionInfo={out:c.outEvts,enter:c.enterEvts,over:c.overEvts,drop:c.dropEvts,point:P,draggedRegion:U,sourceRegion:this.locationCache[a.id],validDrop:L};for(var C in D){Q.push(C);}if(L&&!c.dropEvts.length){this.interactionInfo.validDrop=false;if(a.events.invalidDrop){a.onInvalidDrop(V);a.fireEvent("invalidDropEvent",{e:V});}}for(S=0;S<E.length;S++){var Y=null;if(c[E[S]+"Evts"]){Y=c[E[S]+"Evts"];}if(Y&&Y.length){var H=E[S].charAt(0).toUpperCase()+E[S].substr(1),X="onDrag"+H,J="b4Drag"+H,O="drag"+H+"Event",W="drag"+H;if(this.mode){if(a.events[J]){a[J](V,Y,Q);a.fireEvent(J+"Event",{event:V,info:Y,group:Q});}if(a.events[
[all...]
/glassfish-3.1.2/connectors/connectors-internal-api/src/main/java/com/sun/appserv/connectors/internal/api/
H A DConnectorsClassLoaderUtil.java95 Events events; field in class:ConnectorsClassLoaderUtil
147 events.register(new EventListener() {
/glassfish-3.1.2/connectors/connectors-runtime/src/main/java/com/sun/enterprise/resource/pool/monitor/
H A DPoolMonitoringLevelListener.java101 public UnprocessedChangeEvents changed(PropertyChangeEvent[] events) { argument
102 return ConfigSupport.sortAndDispatch(events, new PropertyChangeHandler(events), _logger);
107 PropertyChangeEvent[] events; field in class:PoolMonitoringLevelListener.PropertyChangeHandler
109 private PropertyChangeHandler(PropertyChangeEvent[] events) { argument
110 this.events = events;
/glassfish-3.1.2/core/kernel/src/main/java/com/sun/enterprise/v3/services/impl/
H A DWebContainerStarter.java149 public UnprocessedChangeEvents changed(PropertyChangeEvent[] events) { argument
150 return ConfigSupport.sortAndDispatch(events, new Changed() {

Completed in 2862 milliseconds

123