Package java.rmi

Examples of java.rmi.MarshalledObject$MarshalledObjectOutputStream


   }

   public ObjectInstance createMBean(String className, ObjectName objectName, ObjectName loaderName, Object[] args, String[] parameters)
           throws ReflectionException, InstanceAlreadyExistsException, MBeanRegistrationException, MBeanException, NotCompliantMBeanException, InstanceNotFoundException, IOException
   {
      MarshalledObject arguments = RMIMarshaller.marshal(args);
      return connection.createMBean(className, objectName, loaderName, arguments, parameters, delegate);
   }
View Full Code Here


   }

   public void setAttribute(ObjectName objectName, Attribute attribute)
           throws InstanceNotFoundException, AttributeNotFoundException, InvalidAttributeValueException, MBeanException, ReflectionException, IOException
   {
      MarshalledObject attrib = RMIMarshaller.marshal(attribute);
      connection.setAttribute(objectName, attrib, delegate);
   }
View Full Code Here

   }

   public AttributeList setAttributes(ObjectName objectName, AttributeList attributes)
           throws InstanceNotFoundException, ReflectionException, IOException
   {
      MarshalledObject attribs = RMIMarshaller.marshal(attributes);
      return connection.setAttributes(objectName, attribs, delegate);
   }
View Full Code Here

   }

   public Object invoke(ObjectName objectName, String methodName, Object[] args, String[] parameters)
           throws InstanceNotFoundException, MBeanException, ReflectionException, IOException
   {
      MarshalledObject arguments = RMIMarshaller.marshal(args);
      return connection.invoke(objectName, methodName, arguments, parameters, delegate);
   }
View Full Code Here

   }

   public Set queryMBeans(ObjectName patternName, QueryExp filter)
           throws IOException
   {
      MarshalledObject query = RMIMarshaller.marshal(filter);
      return connection.queryMBeans(patternName, query, delegate);
   }
View Full Code Here

   }

   public Set queryNames(ObjectName patternName, QueryExp filter)
           throws IOException
   {
      MarshalledObject query = RMIMarshaller.marshal(filter);
      return connection.queryNames(patternName, query, delegate);
   }
View Full Code Here

            // rmi.log.8E=ActiveObject: ActiveObject.<init>:
            rlog.log(RMILog.VERBOSE, Messages.getString("rmi.log.8E")); //$NON-NLS-1$ //$NON-NLS-2$
            remote_object_impl = rmt;
            try {

                remote_object_stub = new MarshalledObject(rmt);
                // rmi.log.8F=ActiveObject: remote_object_impl = {0}; remote_object_stub={1}
                rlog.log(RMILog.VERBOSE, Messages.getString("rmi.log.8F", //$NON-NLS-1$
                        remote_object_impl, remote_object_stub));
            } catch (Throwable t) {
                // rmi.log.90=ActiveObject: Failed to marshal remote stub: {0}
View Full Code Here

                // rmi.log.6F=Subsequent call to activate, returning cached instance.
                rLog.log(commonDebugLevel, Messages.getString("rmi.log.6F")); //$NON-NLS-1$
                return cachedInstance;
            }

            MarshalledObject mo = ai.newInstance(id, desc);
            // rmi.log.70=ObjectInfo.activate completed: {0}
            rLog.log(commonDebugLevel, Messages.getString("rmi.log.70", mo)); //$NON-NLS-1$

            return mo;
        }
View Full Code Here

        public Delta(int op, String name, Object key, Object val)
                throws Exception {
            this.op = op;
            this.name = name;
            mkey = new MarshalledObject(key);
            mval = new MarshalledObject(val);
        }
View Full Code Here

            Enumeration e0 = groupInfoByGroupId.keys();
            while (e0.hasMoreElements()) {
                ActivationGroupID agid = (ActivationGroupID) e0
                        .nextElement();
                MarshalledObject mo_agid = new MarshalledObject(agid);
                ActivationGroupInfo agi =
                    (ActivationGroupInfo) groupInfoByGroupId.get(agid);
                ActivationGroupDesc agdesc = agi.getActivationGroupDesc();
                h0.put(mo_agid, agdesc);
                Enumeration e1 = agi.objectInfoByActivationID.keys();
View Full Code Here

TOP

Related Classes of java.rmi.MarshalledObject$MarshalledObjectOutputStream

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.