On Sun, 28 Apr 2002, marc fleury wrote:
|because an object name contains a set of properties that need to be
|parsed and may also be a pattern which needs to be determined
right the value=name pairs
Which in a string passed to a constructor are not guaranteed to be
canonical or well
On Sun, 28 Apr 2002, marc fleury wrote:
Oh by the way if someone feels heroic today here is the code from
JRMPInvoker
Ok, let me try a different answer then:
I'm not familiar with the invokers and I've not seen the whole chain for
JRMP so I'll ask a stupid question:
Is there *any* way you
On Sun, 28 Apr 2002, marc fleury wrote:
The reason I don't serialize the instance itself is that the client needs to
know about the ObjectName class then and I don't want to ship all of JMX to
a client.
are we in sync?
marcf
Understood now. IMO Juha's solution seems better insulated
User: squirest
Date: 02/04/20 10:13:31
Modified:src/main/org/jboss/mx/logging LoggerManager.java
Log:
test driving new intellij inspection feature - found this typo
Revision ChangesPath
1.2 +1 -1 jmx/src/main/org/jboss/mx/logging/LoggerManager.java
Juha,
The ObjectReferenceInterceptor was based on the (then current) version of
MBeanAttributeInterceptor and so it expects an Attribute.
Can you please propagate your change to the ObjectReferenceInterceptor.
Thanks,
Trevor
_
View
User: squirest
Date: 02/03/08 06:40:42
Modified:src/main/org/jboss/mx/interceptor
ObjectReferenceInterceptor.java
Log:
apply similar fix that Juha did for MBeanAttributeInterceptor
Revision ChangesPath
1.2 +1 -1
User: squirest
Date: 02/03/08 06:53:37
Modified:src/main/javax/management/modelmbean
ModelMBeanInfoSupport.java
Log:
fixed constructor
Revision ChangesPath
1.7 +50 -46
jmx/src/main/javax/management/modelmbean/ModelMBeanInfoSupport.java
I normally build jboss-mx under Unix or NT but just tried to build.bat under WinME and
get loads of errors about command not found (seemingly related to doing a call on a
label).
Is this supposed to work under WinME?
Thanks,
Trevor
_
User: squirest
Date: 02/03/08 09:04:43
Modified:src/main/javax/management/modelmbean
ModelMBeanNotificationInfo.java
Log:
setDescriptor handling in constructors and clone impl
Revision ChangesPath
1.2 +31 -9
User: squirest
Date: 02/03/08 14:09:20
Modified:src/main/javax/management/modelmbean
ModelMBeanAttributeInfo.java
ModelMBeanNotificationInfo.java
ModelMBeanOperationInfo.java
Log:
stuck in basic implementation
to
* delegate to a dispatcher which implements DynamicMBean.
*
* @author a href=mailto:[EMAIL PROTECTED];Trevor Squires/a.
*/
public class ObjectReferenceInterceptor
extends Interceptor
{
// Attributes
private MBeanInfo
User: squirest
Date: 02/03/07 16:41:37
Modified:src/main/org/jboss/mx/server StandardMBeanInvoker.java
Added: src/main/org/jboss/mx/server MBeanInvoker.java
Removed: src/main/org/jboss/mx/server OLDMBeanInvoker.java
Log:
added interceptor to route ModelMBean
PROTECTED];Juha Lindfors/a.
* @author a href=mailto:[EMAIL PROTECTED];Trevor Squires/a.
* @author a href=mailto:[EMAIL PROTECTED];Adrian Brock/a.
- * @version $Revision: 1.7 $
+ * @version $Revision: 1.8 $
*/
public class BasicMBeanRegistry
implements MBeanRegistry
User: squirest
Date: 02/03/07 16:41:37
Modified:src/main/org/jboss/mx/modelmbean ModelBase.java
Log:
added interceptor to route ModelMBean invocations to a dispatcher
removed all irrelevant code not compatible with accepted strategy for interceptors
Revision ChangesPath
of attribute names (which are a single key), although for those a
hashmap would
* have done just as well.
*
* @author a href=mailto:[EMAIL PROTECTED];Trevor Squires/a.
*/
public class AttributeOperationResolver
{
private Node opRoot = null;
private Node atRoot = null
as a StandardMBean or as the resource for a ModelMBean.
*
* @author a href=mailto:[EMAIL PROTECTED];Trevor Squires/a.
* @author a href=mailto:[EMAIL PROTECTED];Juha Lindfors/a
*/
-public class ReflectedMBeanDispatcher extends AbstractInvocationDispatcher
+public class
User: squirest
Date: 02/03/01 16:12:06
Modified:.modules
Log:
jbossmx needs gnu and bcel (lower case)
Revision ChangesPath
1.102 +2 -1 CVSROOT/modules
Index: modules
===
RCS file:
- 1.8
@@ -19,7 +19,7 @@
*
* @author a href=mailto:[EMAIL PROTECTED];Juha Lindfors/a.
* @author a href=mailto:[EMAIL PROTECTED];Trevor Squires/a.
- * @version $Revision: 1.7 $
+ * @version $Revision: 1.8 $
*
*/
public class ObjectName implements
class for MBeanDelegates that receive MBeanInvocations
*
* @author a href=mailto:[EMAIL PROTECTED];Trevor Squires/a.
*/
public abstract class AbstractInvocationDispatcher implements MBeanDelegate
{
public Object invoke(MBeanInvocation invocation) throws InvocationException
User: squirest
Date: 02/02/25 18:02:58
Modified:src/main/javax/management/relation RoleInfo.java
Log:
moved and removed stuff. new items will go into capability until a better home can
be found
Revision ChangesPath
1.5 +13 -13
User: squirest
Date: 02/02/25 18:03:01
Modified:src/main/org/jboss/mx/server MBeanServerImpl.java
Log:
moved and removed stuff. new items will go into capability until a better home can
be found
Revision ChangesPath
1.18 +94 -87
org.jboss.mx.capability.ResourceInvoker;
+
/**
* Base class for MBean interceptors
*
* @author a href=mailto:[EMAIL PROTECTED];Juha Lindfors/a.
* @author a href=mailto:[EMAIL PROTECTED];Trevor Squires/a.
- * @version $Revision: 1.1 $
+ * @version $Revision: 1.2 $
*
*/
-public class
and signature[] passed to an MBean's invoke() method. For
consistency it also
* keeps track of attribute names (which are a single key), although for those a
hashmap would
* have done just as well.
*
* @author a href=mailto:[EMAIL PROTECTED];Trevor Squires/a.
*/
public class
User: squirest
Date: 02/02/25 18:03:00
Modified:src/main/org/jboss/mx/modelmbean XMBean.java
Log:
moved and removed stuff. new items will go into capability until a better home can
be found
Revision ChangesPath
1.5 +30 -24
User: squirest
Date: 02/02/22 12:41:42
Modified:src/main/test/compliance/objectname MalformedSUITE.java
Log:
bugfix for objectname - testcase update too
Revision ChangesPath
1.2 +1 -0 jmx/src/main/test/compliance/objectname/MalformedSUITE.java
Index:
20:41:41 - 1.7
@@ -19,7 +19,7 @@
*
* @author a href=mailto:[EMAIL PROTECTED];Juha Lindfors/a.
* @author a href=mailto:[EMAIL PROTECTED];Trevor Squires/a.
- * @version $Revision: 1.6 $
+ * @version $Revision: 1.7 $
*
*/
public class ObjectName implements
Hey,
Adrian Brock has been busily correcting code in JBoss which does something
like this:
mbeanserver.invoke(objectname, getBlurdyAttribute, etc etc etc)
to call attribute getters and setters directly.
Just a heads-up for everyone - jboss-mx only allows you to call
invoke() on operations
This seems like a strange question - is there anything missing from JMX
that you want or are you just wanting to partition the two functions of
managment and glue?
By the way, I used to think that JMX should *only* be used for management
but I think it was one of your emails a long time ago
Um, not sure about that Adrian. I think JDK1.4 support is coming in the
JMX1.1 release slated for Feb 28th.
Have you got a stack trace of when our impl barfs on SingleJBoss? Is it
the same on that I snipped from this message?
I'm just waiting for 1.4 to finish downloading before running it
Hey,
It would seem the best qualified to answer would be on the jmx-forum list.
However, if you want an opinion, the quickest answer I can contrive is for
application partitioning, especially when assembling an
application/subsystem management view using MBeans from multiple vendors.
One
Hey guys,
ObjectName construction is *always* going to be a pig - it has to jump
through some significant hoops to checked for malformed inputs (including
the creation of a hashtable to store key properties).
On top of that, our impl is skewed to favour people who cache frequently
used
User: squirest
Date: 02/02/01 19:03:13
Modified:.modules
Log:
hopefully fixing ref to tools directory in jboss-mx
Revision ChangesPath
1.81 +1 -1 CVSROOT/modules
Index: modules
===
User: squirest
Date: 02/02/01 19:37:20
Modified:.modules
Log:
backing out the change - dunno why id will not work
Revision ChangesPath
1.82 +1 -1 CVSROOT/modules
Index: modules
===
User: squirest
Date: 02/01/28 19:19:50
jmx/src/main/org/jboss/mx/capability - New directory
___
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development
User: squirest
Date: 02/01/28 19:33:22
Modified:src/main/org/jboss/mx/modelmbean ModelBase.java
Log:
first integration of new metadata and interceptor chain for core DynamicMBean
capabilities
Revision ChangesPath
1.5 +18 -18
User: squirest
Date: 02/01/28 19:33:22
Modified:src/main/org/jboss/mx/server/registry MBeanEntry.java
Log:
first integration of new metadata and interceptor chain for core DynamicMBean
capabilities
Revision ChangesPath
1.5 +14 -17
User: squirest
Date: 02/01/28 19:33:22
Modified:src/main/test/compliance/server MBeanServerTEST.java
Log:
first integration of new metadata and interceptor chain for core DynamicMBean
capabilities
Revision ChangesPath
1.3 +44 -42
;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
/**
* An MBeanAdapter that uses a interface as a descriptor to populate
AttributeProvider
* and OperationProvider maps.
*
* @author a href=mailto:[EMAIL PROTECTED];Trevor Squires/a.
*/
public
a href=mailto:[EMAIL PROTECTED];Juha Lindfors/a.
* @author a href=mailto:[EMAIL PROTECTED];Trevor Squires/a.
*
* @version $Revision: 1.1 $
*
*/
public class MBeanInvoker implements DynamicMBean
{
// Attributes
protected
User: squirest
Date: 02/01/28 19:33:21
Modified:src/main/org/jboss/mx/server StandardMBeanInvoker.java
MBeanServerImpl.java
Added: src/main/org/jboss/mx/server OLDMBeanInvoker.java
Removed: src/main/org/jboss/mx/server MBeanInvoker.java
Log:
User: squirest
Date: 02/01/18 09:28:42
Added: src/main/test/compliance/notcompliant/support
DynamicAndStandard.java
DynamicAndStandardMBean.java
OverloadedAttribute1.java
PROTECTED];Trevor Squires/a.
- */
-
-public class ComplianceSUITE extends TestSuite
-{
- public static void main(String[] args)
- {
- junit.textui.TestRunner.run(suite());
- }
-
- public static Test suite()
- {
- TestSuite suite = new TestSuite(All
User: squirest
Date: 02/01/18 09:28:41
Added: src/main/test/compliance/notcompliant NCMBeanSUITE.java
NCMBeanTEST.java NoConstructor.java
NoConstructorMBean.java
Log:
added testcases for mbean inheritance
added testcases for some
User: squirest
Date: 02/01/18 09:26:07
jmx/src/main/test/compliance/notcompliant - New directory
___
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development
User: squirest
Date: 02/01/18 09:26:16
jmx/src/main/test/compliance/notcompliant/support - New directory
___
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development
PROTECTED];Trevor Squires/a.
*/
@@ -47,7 +46,7 @@
suite.addTest(test.compliance.registration.RegistrationSUITE.suite());
suite.addTest(test.compliance.server.ServerSUITE.suite());
suite.addTest(test.compliance.modelmbean.ModelMBeanSUITE.suite
===
/*
* JBoss, the OpenSource J2EE webOS
*
* Distributable under LGPL license.
* See terms of license at gnu.org.
*/
package test.compliance.standard.support;
/**
* @author a href=mailto:[EMAIL PROTECTED];Trevor Squires/a.
*/
public class Torture
:50:59 1.1
+++ StandardSUITE.java2002/01/18 01:12:22 1.2
@@ -10,6 +10,10 @@
import junit.framework.Test;
import junit.framework.TestSuite;
+/**
+ * @author a href=mailto:[EMAIL PROTECTED];Trevor Squires/a.
+ */
+
public class StandardSUITE extends TestSuite
.
- *
- * @author a href=mailto:[EMAIL PROTECTED];Juha Lindfors/a.
- * @author a href=mailto:[EMAIL PROTECTED];Trevor Squires/a.
- *
- * @version $Revision: 1.3 $
- */
-public class MBeanOperationInfo extends MBeanFeatureInfo
- implements java.io.Serializable, Cloneable
User: squirest
Date: 02/01/17 17:12:22
Modified:src/main/test/compliance/objectname PatternTEST.java
Log:
testsuite updates, mostly related to standard MBeanInfo
Revision ChangesPath
1.4 +152 -149 jmx/src/main/test/compliance/objectname/PatternTEST.java
Lindfors/a.
+ * @author a href=mailto:[EMAIL PROTECTED];Trevor Squires/a.
+ */
public class StandardMetaData implements MetaDataBuilder
{
// Attributes
private Object resource = null;
private boolean isModelMetaData
User: squirest
Date: 02/01/16 15:38:21
Modified:src/main/test/compliance/objectname PatternTEST.java
Log:
cleanup canonical and string representation of property patterns
pattern tests now fail against RI so failure message make that clearly expected
Revision Changes
-r1.5
--- ObjectName.java 2001/12/21 20:56:38 1.4
+++ ObjectName.java 2002/01/16 23:38:22 1.5
@@ -19,7 +19,7 @@
*
* @author a href=mailto:[EMAIL PROTECTED];Juha Lindfors/a.
* @author a href=mailto:[EMAIL PROTECTED];Trevor Squires/a.
- * @version $Revision: 1.4
On Tue, 25 Dec 2001, marc fleury wrote:
Its' 7 lines of code (really) so unless someone has a fundamental
religious problem with typed lookups I will add this in.
Well, if the object being returned by the lookup is supposed to be the
MBean then 'typed' anything assumes a bit much (which is
1.4
@@ -19,7 +19,7 @@
*
* @author a href=mailto:[EMAIL PROTECTED];Juha Lindfors/a.
* @author a href=mailto:[EMAIL PROTECTED];Trevor Squires/a.
- * @version $Revision: 1.3 $
+ * @version $Revision: 1.4 $
*
*/
public class ObjectName implements java.io.Serializable
60) as my last
* testcase - and for that it caught one extra bug for me.
*
* @author a href=mailto:[EMAIL PROTECTED];Trevor Squires/a.
*/
public class MalformedSUITE extends TestSuite
{
public static final String GOOD_DOMAIN = domain;
public static final String GOOD_KEY
User: squirest
Date: 01/12/21 14:00:49
Added: src/main/test/compliance/registration/support
RegistrationAware.java RegistrationAwareMBean.java
Log:
support classes for MBeanRegistration related tests
Revision ChangesPath
1.1
User: squirest
Date: 01/12/21 13:17:19
Modified:src/main/test/compliance/registration RegistrationTEST.java
Log:
added a couple of tests to illustrate problems with MBeanRegistration handling
Revision ChangesPath
1.2 +80 -3
User: squirest
Date: 01/12/21 14:00:00
jmx/src/main/test/compliance/registration/support - New directory
___
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development
User: squirest
Date: 01/12/20 19:00:56
Modified:src/main/test/compliance/objectname MalformedTEST.java
PatternTEST.java
Log:
improved test coverage
Revision ChangesPath
1.2 +140 -71
: 1.2 $
- *
+ * @author a href=mailto:[EMAIL PROTECTED];Trevor Squires/a.
+ * @version $Revision: 1.3 $
+ *
*/
public class ObjectName implements java.io.Serializable
{
+
+ // Attributes
+ private boolean hasPattern
User: squirest
Date: 01/12/19 17:27:57
jmx/src/main/test/compliance/registration - New directory
___
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development
User: squirest
Date: 01/12/19 17:28:12
jmx/src/main/test/compliance/standard - New directory
___
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development
User: squirest
Date: 01/12/19 17:27:49
jmx/src/main/test/compliance/objectname - New directory
___
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development
User: squirest
Date: 01/12/19 17:28:04
jmx/src/main/test/compliance/server - New directory
___
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development
User: squirest
Date: 01/12/19 17:26:45
jmx/src/main/test/compliance - New directory
___
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development
User: squirest
Date: 01/12/19 17:28:24
jmx/src/main/test/compliance/standard/support - New directory
___
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development
User: squirest
Date: 01/12/19 17:50:58
Added: src/main/test/compliance/objectname BasicTEST.java
CanonicalTEST.java MalformedTEST.java
ObjectNameSUITE.java PatternTEST.java
Log:
First pass at a suite of compliance tests
User: squirest
Date: 01/12/19 17:50:59
Added: src/main/test/compliance/server MBeanServerFactoryTEST.java
ServerSUITE.java
Log:
First pass at a suite of compliance tests
Revision ChangesPath
1.1
User: squirest
Date: 01/12/19 17:50:59
Added: src/main/test/compliance/standard/support Trivial.java
TrivialMBean.java
Log:
First pass at a suite of compliance tests
Revision ChangesPath
1.1
User: squirest
Date: 01/12/19 17:50:59
Added: src/main/test/compliance/standard StandardSUITE.java
TrivialTEST.java
Log:
First pass at a suite of compliance tests
Revision ChangesPath
1.1
- need to provide a way to run these suites against the
* RI and the JBoss impl via ant
*
* @author a href=mailto:[EMAIL PROTECTED];Trevor Squires/a.
*/
public class ComplianceSUITE extends TestSuite
{
public static void main(String[] args
User: squirest
Date: 01/12/19 17:50:59
Added: src/main/test/compliance/registration RegistrationSUITE.java
RegistrationTEST.java
Log:
First pass at a suite of compliance tests
Revision ChangesPath
1.1
User: squirest
Date: 01/12/19 18:11:23
Modified:.build.xml
Log:
put junit into build classpath
Revision ChangesPath
1.5 +2 -1 jmx/build.xml
Index: build.xml
===
RCS file:
User: squirest
Date: 01/12/11 13:18:24
Modified:src/main/javax/management MBeanFeatureInfo.java
Log:
formatting and prettying up
Revision ChangesPath
1.2 +24 -13jmx/src/main/javax/management/MBeanFeatureInfo.java
Index: MBeanFeatureInfo.java
immutability by taking shallow clones of all
arrays
+ * supplied in constructors and by returning shallow array clones in getXXX()
methods.
+ *
+ * @author a href=mailto:[EMAIL PROTECTED];Juha Lindfors/a.
+ * @author a href=mailto:[EMAIL PROTECTED];Trevor Squires/a.
+ *
+ * @version
User: squirest
Date: 01/12/08 14:20:06
Modified:src/main/javax/management MBeanInfo.java
Log:
changed constructor to replace null array args with zero size arrays
implemented clone()
formatted code
Revision ChangesPath
1.2 +66 -23
On Fri, 30 Nov 2001, marc fleury wrote:
On the point of MBean not being declared, we are moving to the dynamic
mbean route, well in fact the ModelMBean and since juha is almost done with
Interesting about the ModelMBean direction. I recently spent some time
trying to use RequierdModelMBean
Hi,
I've been following, with great interest, the ongoing discussions about
federated management, deployment, Master/Slave, Jini (but nobody mentioned
rio afaik - odd) and now I think jiro even popped up.
It's been a while but I used work for a company that produced unix access
control and
On Fri, 22 Jun 2001, marc fleury wrote:
|Might want to make it
|
|invoke name=... method=...
| argument type=... value=.../
yes good idea,
sorry but no:
argument type=.../argument
allowing a nested null/ tag
my 2c.
Trevor
___
80 matches
Mail list logo