
org.objectweb.fractal.bf.connectors.BasicServiceImpl.class Maven / Gradle / Ivy
???? 1 ? 4org/objectweb/fractal/bf/connectors/BasicServiceImpl java/lang/Object +org/objectweb/fractal/bf/connectors/Service @org/objectweb/fractal/bf/connectors/weird/ServiceWithWeirdParams
java/io/Serializable serialVersionUID J
ConstantValueS?,r??
SERVICE_REPLY Ljava/lang/String; 8Congratulations, Binding Factory Hello World up&running! ()V Code
LineNumberTable print java/lang/System out Ljava/io/PrintStream; " KServer will print: Congratulations, Binding Factory Hello World up&running!
$ & % java/io/PrintStream ' ( println (Ljava/lang/String;)V printAndAnswer ()Ljava/lang/String; , UServer will print and return Congratulations, Binding Factory Hello World up&running! getCurrentDate +()Ljavax/xml/datatype/XMLGregorianCalendar; 0 Icom/sun/org/apache/xerces/internal/jaxp/datatype/XMLGregorianCalendarImpl 2 java/util/GregorianCalendar
1
/ 5 6 (Ljava/util/GregorianCalendar;)V 8 java/lang/StringBuilder : 3The date sent back to the client by the server is:
7 < (
7 > ? @ append -(Ljava/lang/Object;)Ljava/lang/StringBuilder;
7 B C * toString getPojo ,()Lorg/objectweb/fractal/bf/connectors/Pojo; G (org/objectweb/fractal/bf/connectors/Pojo
F
F J K L setId (I)V
N - .
F P Q R setDate ,(Ljavax/xml/datatype/XMLGregorianCalendar;)V T pojo-1
F V W ( setName Y pojo-2
F [ \ ] setParent -(Lorg/objectweb/fractal/bf/connectors/Pojo;)V child V(Lorg/objectweb/fractal/bf/connectors/Pojo;)Lorg/objectweb/fractal/bf/connectors/Pojo; a Requesting child of pojo obj:
F c d e getId ()I g child-of-
F i j * getName
7 l ? m -(Ljava/lang/String;)Ljava/lang/StringBuilder;
F o p . getDate
r t s 'javax/xml/datatype/XMLGregorianCalendar u e getYear
r w x L setYear z Returning parent pojo: elaborateBytes (Ljava/util/Properties;[B)[B ~ *Server received the following properties: ? 1will return this class canononical name raw bytes
? ? ? java/lang/Class ? * getCanonicalName
? ? ? java/lang/String ? ? getBytes ()[B badMethod
Exceptions ? 7org/objectweb/fractal/bf/connectors/HelloWorldException ? 2Service.badMethod() is spitting out this exception
? < mapOfMap (Ljava/util/Map;)V Signature [(Ljava/util/Map;>;)V ? "***** Server received map of map: mapOfMapWithStringAndPojo s(Ljava/util/Map;>;)V ? .***** Server received map of map (with pojo):
SourceFile BasicServiceImpl.java !
*? ? % ? !? #?
) * ' ? +? #?
- . [ '? /Y? 1Y? 3? 4L? ? 7Y9? ;+? =? A? #+? " % &