Searched refs:newValue (Results 1 - 25 of 31) sorted by relevance

12

/glassfish-3.1.2/admin/config-api/src/main/java/org/glassfish/config/support/
H A DTypedChangeEvent.java55 public TypedChangeEvent(Object source, String propertyName, Object oldValue, Object newValue) { argument
56 super(source, propertyName, oldValue, newValue);
60 public TypedChangeEvent(Object source, String propertyName, Object oldValue, Object newValue, Type type) { argument
61 super(source, propertyName, oldValue, newValue);
H A DTypedVetoableChangeSupport.java62 public void fireVetoableChange(String propertyName, Object oldValue, Object newValue) argument
65 super.fireVetoableChange(new TypedChangeEvent(source, propertyName, oldValue, newValue));
H A DTranslatedConfigView.java98 String newValue = System.getProperty(m.group(2).trim());
99 if (newValue!=null) {
/glassfish-3.1.2/common/amx-core/src/main/java/org/glassfish/admin/amx/util/jmx/
H A DAttributeChangeNotificationBuilder.java75 final Object newValue)
77 return buildAttributeChange(msg, attributeName, attributeType, now(), oldValue, newValue);
86 final Object newValue)
96 newValue);
70 buildAttributeChange( final String msg, final String attributeName, final String attributeType, final Object oldValue, final Object newValue) argument
80 buildAttributeChange( final String msg, final String attributeName, final String attributeType, final long when, final Object oldValue, final Object newValue) argument
/glassfish-3.1.2/tests/amx/src/org/glassfish/admin/amxtest/config/
H A DConnectorServiceConfigTest.java90 final String newValue = "" + (Integer.parseInt(value) + 1);
91 cs.setShutdownTimeoutInSeconds(newValue);
93 assert (after.equals(newValue));
96 cs.setShutdownTimeoutInSeconds(newValue);
/glassfish-3.1.2/transaction/jta/src/main/java/com/sun/enterprise/transaction/
H A DTransactionServiceConfigListener.java106 Object newValue = event.getNewValue();
111 + eventName + " " + oldValue + " " + newValue);
113 if (oldValue != null && oldValue.equals(newValue)) {
121 String newlevel = newValue.toString();
131 tm.setDefaultTransactionTimeout(Integer.parseInt((String)newValue,10));
132 _logger.log(Level.FINE," Transaction Timeout interval event processed for: " + newValue);
139 tm.handlePropertyUpdate(eventName, newValue);
140 _logger.log(Level.FINE, eventName + " reconfig event processed for new value: " + newValue);
146 String v = (String)newValue;
/glassfish-3.1.2/common/amx-core/src/main/java/org/glassfish/admin/amx/util/jmx/stringifier/
H A DAttributeChangeNotificationStringifier.java73 final String newValue = SmartStringifier.toString(notif.getNewValue());
75 final String msg = attrName + ": " + oldValue + " => " + newValue;
/glassfish-3.1.2/flashlight/framework/src/main/java/org/glassfish/flashlight/provider/
H A DProbeProviderFactory.java51 void dtraceEnabledChanged(boolean newValue); argument
53 void monitoringEnabledChanged(boolean newValue); argument
/glassfish-3.1.2/installer/src/main/java/org/glassfish/installer/util/
H A DStringUtils.java130 * @param newValue replacement string.
133 static public String substString(StringBuffer str, String token, String newValue) { argument
134 int offset = 0, tokenLen = token.length(), valLen = newValue.length();
137 str.replace(offset, offset + tokenLen, newValue);
H A DFileIOUtils.java129 * @param newValue replacement string.
131 public void findandReplaceAll(String token, String newValue) { argument
136 token, newValue));
/glassfish-3.1.2/ejb/ejb-container/src/main/java/com/sun/ejb/containers/
H A DEJBTimerServiceConfigListener.java86 Object newValue = event.getNewValue();
91 + event.getPropertyName() + " " + oldValue + " " + newValue);
94 if (oldValue != null && oldValue.equals(newValue)) {
/glassfish-3.1.2/common/common-util/src/main/java/com/sun/enterprise/universal/
H A DNameValue.java75 public V setValue(V newValue) { argument
77 value = newValue;
/glassfish-3.1.2/jms/jms-core/src/main/java/com/sun/enterprise/connectors/jms/system/
H A DJMSConfigListener.java108 Object newValue = event.getNewValue();
119 _logger.log(Level.FINE, "In JMSConfigListener " + eventName + oldValue + newValue);
121 if (oldValue != null && oldValue.equals(newValue)) {
126 if ("JMS_PROVIDER_PORT".equals(newValue)){
134 String newMB = newValue.toString();
153 String newServerRef = newValue != null ? newValue.toString(): null;
/glassfish-3.1.2/common/mbeanserver/src/main/java/org/glassfish/admin/mbeanserver/
H A DPendingConfigBeans.java272 final Object newValue = event.getNewValue();
276 if (oldValue == null && newValue instanceof ConfigBeanProxy)
279 final ConfigBean cb = asConfigBean(ConfigBean.unwrap((ConfigBeanProxy) newValue));
282 else if (newValue == null && (oldValue instanceof ConfigBeanProxy))
292 //debug( "CHANGE: " + cb.getProxyType().getName() + ": " + oldValue + " ===> " + newValue );
/glassfish-3.1.2/core/kernel/src/main/java/com/sun/enterprise/v3/server/
H A DApplicationConfigListener.java120 Object newValue = event.getNewValue();
123 if (oldValue == null || newValue == null) {
134 if (oldValue == null || newValue == null) {
154 Object newValue = event.getNewValue();
155 if (oldValue != null && newValue != null &&
157 newValue instanceof String &&
158 !((String)oldValue).equals((String)newValue)) {
176 appName, Boolean.valueOf((String)newValue));
/glassfish-3.1.2/deployment/autodeploy/src/main/java/org/glassfish/deployment/autodeploy/
H A DAutoDeployService.java296 final String newValue = replaceTokens((String) event.getNewValue(), System.getProperties());
302 newEnabled = Boolean.valueOf(newValue);
306 newPollingIntervalInSeconds = new Integer(newValue);
315 newValue,
320 String newDir = newValue;
331 newValue,
336 boolean newVerifierEnabled = Boolean.parseBoolean(newValue);
342 boolean newJspPrecompiled = Boolean.parseBoolean(newValue);
/glassfish-3.1.2/common/amx-config-impl/src/main/java/org/glassfish/admin/amx/impl/config/
H A DAMXConfigLoader.java141 final Object newValue,
150 changed = !oldValue.equals(newValue);
151 } else if (newValue != null) {
152 changed = !newValue.equals(oldValue);
156 //debug( "AMXConfigLoader.issueAttributeChange(): " + xmlAttrName + ": {" + oldValue + " => " + newValue + "}");
162 final String message = cb.getProxyType().getName() + "." + xmlAttrName + ": " + oldValue + " => " + newValue;
163 amx.issueAttributeChangeForXmlAttrName(xmlAttrName, message, oldValue, newValue, whenChanged);
181 final Object newValue = event.getNewValue();
185 if (oldValue == null && newValue instanceof ConfigBeanProxy) {
187 final ConfigBeanProxy cbp = (ConfigBeanProxy) newValue;
137 issueAttributeChange( final ConfigBean cb, final String xmlAttrName, final Object oldValue, final Object newValue, final long whenChanged) argument
[all...]
/glassfish-3.1.2/common/amx-core/src/main/java/org/glassfish/admin/amx/base/
H A DUnprocessedConfigChange.java95 final String newValue,
103 mNewValue = newValue;
149 ", newValue = " + StringUtil.quote( getNewValue() ) +
92 UnprocessedConfigChange( final String name, final String oldValue, final String newValue, final Object source, final String reason) argument
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/core/
H A DNamingContextListener.java526 * @param newValue The new value (or <code>null</code> if removing)
530 Object newValue) {
539 if (newValue != null) {
540 ContextEjb ejb = (ContextEjb) newValue;
552 if (newValue != null) {
553 ContextEnvironment env = (ContextEnvironment) newValue;
565 if (newValue != null) {
566 ContextLocalEjb ejb = (ContextLocalEjb) newValue;
578 if (newValue != null) {
579 ContextResource resource = (ContextResource) newValue;
528 processGlobalResourcesChange(String name, Object oldValue, Object newValue) argument
[all...]
/glassfish-3.1.2/common/container-common/src/main/java/org/glassfish/javaee/services/
H A DResourceManager.java364 boolean newValue = ConnectorsUtil.parseBoolean(event.getNewValue().toString());
366 if (!(newValue && oldValue)) {
367 if (newValue) {
400 boolean newValue = ConnectorsUtil.parseBoolean(event.getNewValue().toString());
402 if (!(newValue && oldValue)) {
403 if (newValue) {
/glassfish-3.1.2/common/amx-core/src/main/java/org/glassfish/admin/amx/util/
H A DOpenMBeanUtil.java279 Object[] newValue = IteratorUtil.toArray(c.iterator());
280 newValue = ArrayConversion.specializeArray(newValue);
282 result.put(key, newValue);
/glassfish-3.1.2/persistence/cmp/enhancer/src/main/java/com/sun/jdo/api/persistence/enhancer/classfile/
H A DInsnConstOp.java196 public void setValue(ConstBasic newValue) { argument
197 checkConstant(newValue);
198 constValue = newValue;
/glassfish-3.1.2/flashlight/framework/src/main/java/org/glassfish/flashlight/impl/provider/
H A DFlashlightProbeProviderFactory.java117 public void dtraceEnabledChanged(boolean newValue) { argument
118 FlashlightUtils.setDTraceEnabled(newValue);
124 if(newValue == false)
146 public void monitoringEnabledChanged(boolean newValue) { argument
147 FlashlightUtils.setMonitoringEnabled(newValue);
153 if(newValue == true && FlashlightUtils.isDtraceEnabled())
/glassfish-3.1.2/common/amx-core-impl/src/main/java/org/glassfish/admin/amx/impl/mbean/
H A DAMXImplBase.java672 final Object newValue) {
676 if (oldValue != null && !oldValue.equals(newValue)) {
681 builder.buildAttributeChange(msg, name, attrType, when, oldValue, newValue);
703 final Object newValue = attrsMap.get(attrName);
705 sendAttributeChangeNotification("", attrName, attrType, when, oldValue, newValue);
666 sendAttributeChangeNotification( final String msg, final String name, final String attrType, final long when, final Object oldValue, final Object newValue) argument
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/tomcat/util/modeler/
H A DBaseModelMBean.java938 * @param newValue The new value of the <code>Attribute</code>
946 (Attribute oldValue, Attribute newValue)
951 if (newValue.getValue() != null)
952 type = newValue.getValue().getClass().getName();
963 oldValue.getValue(), newValue.getValue());
945 sendAttributeChangeNotification(Attribute oldValue, Attribute newValue) argument

Completed in 39 milliseconds

12