You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@etch.apache.org by sc...@apache.org on 2009/02/22 05:17:58 UTC

svn commit: r746631 [3/3] - in /incubator/etch/branches/name-service: ./ services/ services/ns/ services/ns/src/ services/ns/src/main/ services/ns/src/main/etch/ services/ns/src/main/java/ services/ns/src/main/java/etch/ services/ns/src/main/java/etch/...

Added: incubator/etch/branches/name-service/services/ns/target/generated-sources/main/etch/java/etch/services/ns/ValueFactoryNameService.java
URL: http://svn.apache.org/viewvc/incubator/etch/branches/name-service/services/ns/target/generated-sources/main/etch/java/etch/services/ns/ValueFactoryNameService.java?rev=746631&view=auto
==============================================================================
--- incubator/etch/branches/name-service/services/ns/target/generated-sources/main/etch/java/etch/services/ns/ValueFactoryNameService.java (added)
+++ incubator/etch/branches/name-service/services/ns/target/generated-sources/main/etch/java/etch/services/ns/ValueFactoryNameService.java Sun Feb 22 04:17:56 2009
@@ -0,0 +1,527 @@
+// This file automatically generated by:
+//   Apache Etch 1.1.0-incubating (LOCAL-0) / java 1.1.0-incubating (LOCAL-0)
+//   Sat Feb 21 22:11:51 CST 2009
+// This file is automatically created and should not be edited!
+
+package etch.services.ns;
+
+import org.apache.etch.bindings.java.msg.AsyncMode;
+import org.apache.etch.bindings.java.msg.Direction;
+import org.apache.etch.bindings.java.msg.Field;
+import org.apache.etch.bindings.java.msg.ImportExportHelper;
+import org.apache.etch.bindings.java.msg.StructValue;
+import org.apache.etch.bindings.java.msg.Type;
+import org.apache.etch.bindings.java.msg.TypeMap;
+import org.apache.etch.bindings.java.msg.ValueFactory;
+import org.apache.etch.bindings.java.support.Class2TypeMap;
+import org.apache.etch.bindings.java.support.DefaultValueFactory;
+
+
+/**
+ * ValueFactory for NameService.
+ */
+@SuppressWarnings("unused")
+public final class ValueFactoryNameService extends DefaultValueFactory
+{
+	/**
+	 * Constructs ValueFactoryNameService.
+	 * @param uri the uri used to configure the session.
+	 */
+	public ValueFactoryNameService( String uri )
+	{
+		super( uri, types, class2type );
+	}
+	
+	private final static TypeMap types = new TypeMap();
+	
+	private final static Class2TypeMap class2type = new Class2TypeMap();
+
+	static
+	{
+		DefaultValueFactory.init( types, class2type );
+		initTypes();
+		initResults();
+		initFields();
+		initParams();
+	}
+
+	/** Type for etch.services.ns.NameService.Entry */
+	public static Type _mt_etch_services_ns_NameService_Entry;
+
+	/** Type for etch.services.ns.NameService.lookup */
+	public static Type _mt_etch_services_ns_NameService_lookup;
+
+	/** Type for etch.services.ns.NameService._result_lookup */
+	public static Type _mt_etch_services_ns_NameService__result_lookup;
+
+	/** Type for etch.services.ns.NameService.find */
+	public static Type _mt_etch_services_ns_NameService_find;
+
+	/** Type for etch.services.ns.NameService._result_find */
+	public static Type _mt_etch_services_ns_NameService__result_find;
+
+	/** Type for etch.services.ns.NameService.register */
+	public static Type _mt_etch_services_ns_NameService_register;
+
+	/** Type for etch.services.ns.NameService._result_register */
+	public static Type _mt_etch_services_ns_NameService__result_register;
+
+	/** Type for etch.services.ns.NameService.registerBulk */
+	public static Type _mt_etch_services_ns_NameService_registerBulk;
+
+	/** Type for etch.services.ns.NameService._result_registerBulk */
+	public static Type _mt_etch_services_ns_NameService__result_registerBulk;
+
+	/** Type for etch.services.ns.NameService.unregister */
+	public static Type _mt_etch_services_ns_NameService_unregister;
+
+	/** Type for etch.services.ns.NameService._result_unregister */
+	public static Type _mt_etch_services_ns_NameService__result_unregister;
+
+	/** Type for etch.services.ns.NameService.subscribe */
+	public static Type _mt_etch_services_ns_NameService_subscribe;
+
+	/** Type for etch.services.ns.NameService._result_subscribe */
+	public static Type _mt_etch_services_ns_NameService__result_subscribe;
+
+	/** Type for etch.services.ns.NameService.unsubscribe */
+	public static Type _mt_etch_services_ns_NameService_unsubscribe;
+
+	/** Type for etch.services.ns.NameService._result_unsubscribe */
+	public static Type _mt_etch_services_ns_NameService__result_unsubscribe;
+
+	/** Type for etch.services.ns.NameService.unsubscribeAll */
+	public static Type _mt_etch_services_ns_NameService_unsubscribeAll;
+
+	/** Type for etch.services.ns.NameService._result_unsubscribeAll */
+	public static Type _mt_etch_services_ns_NameService__result_unsubscribeAll;
+
+	/** Type for etch.services.ns.NameService.canLookup */
+	public static Type _mt_etch_services_ns_NameService_canLookup;
+
+	/** Type for etch.services.ns.NameService._result_canLookup */
+	public static Type _mt_etch_services_ns_NameService__result_canLookup;
+
+	/** Type for etch.services.ns.NameService.canFind */
+	public static Type _mt_etch_services_ns_NameService_canFind;
+
+	/** Type for etch.services.ns.NameService._result_canFind */
+	public static Type _mt_etch_services_ns_NameService__result_canFind;
+
+	/** Type for etch.services.ns.NameService.canRegister */
+	public static Type _mt_etch_services_ns_NameService_canRegister;
+
+	/** Type for etch.services.ns.NameService._result_canRegister */
+	public static Type _mt_etch_services_ns_NameService__result_canRegister;
+
+	/** Type for etch.services.ns.NameService.canUnregister */
+	public static Type _mt_etch_services_ns_NameService_canUnregister;
+
+	/** Type for etch.services.ns.NameService._result_canUnregister */
+	public static Type _mt_etch_services_ns_NameService__result_canUnregister;
+
+	/** Type for etch.services.ns.NameService.canRegisterBulk */
+	public static Type _mt_etch_services_ns_NameService_canRegisterBulk;
+
+	/** Type for etch.services.ns.NameService._result_canRegisterBulk */
+	public static Type _mt_etch_services_ns_NameService__result_canRegisterBulk;
+
+	/** Type for etch.services.ns.NameService.entryChanged */
+	public static Type _mt_etch_services_ns_NameService_entryChanged;
+
+	/** Type for etch.services.ns.NameService._result_entryChanged */
+	public static Type _mt_etch_services_ns_NameService__result_entryChanged;
+
+	private static void initTypes()
+	{
+		_mt_etch_services_ns_NameService_Entry = types.get( "etch.services.ns.NameService.Entry" );
+		_mt_etch_services_ns_NameService_lookup = types.get( "etch.services.ns.NameService.lookup" );
+		_mt_etch_services_ns_NameService__result_lookup = types.get( "etch.services.ns.NameService._result_lookup" );
+		_mt_etch_services_ns_NameService_find = types.get( "etch.services.ns.NameService.find" );
+		_mt_etch_services_ns_NameService__result_find = types.get( "etch.services.ns.NameService._result_find" );
+		_mt_etch_services_ns_NameService_register = types.get( "etch.services.ns.NameService.register" );
+		_mt_etch_services_ns_NameService__result_register = types.get( "etch.services.ns.NameService._result_register" );
+		_mt_etch_services_ns_NameService_registerBulk = types.get( "etch.services.ns.NameService.registerBulk" );
+		_mt_etch_services_ns_NameService__result_registerBulk = types.get( "etch.services.ns.NameService._result_registerBulk" );
+		_mt_etch_services_ns_NameService_unregister = types.get( "etch.services.ns.NameService.unregister" );
+		_mt_etch_services_ns_NameService__result_unregister = types.get( "etch.services.ns.NameService._result_unregister" );
+		_mt_etch_services_ns_NameService_subscribe = types.get( "etch.services.ns.NameService.subscribe" );
+		_mt_etch_services_ns_NameService__result_subscribe = types.get( "etch.services.ns.NameService._result_subscribe" );
+		_mt_etch_services_ns_NameService_unsubscribe = types.get( "etch.services.ns.NameService.unsubscribe" );
+		_mt_etch_services_ns_NameService__result_unsubscribe = types.get( "etch.services.ns.NameService._result_unsubscribe" );
+		_mt_etch_services_ns_NameService_unsubscribeAll = types.get( "etch.services.ns.NameService.unsubscribeAll" );
+		_mt_etch_services_ns_NameService__result_unsubscribeAll = types.get( "etch.services.ns.NameService._result_unsubscribeAll" );
+		_mt_etch_services_ns_NameService_canLookup = types.get( "etch.services.ns.NameService.canLookup" );
+		_mt_etch_services_ns_NameService__result_canLookup = types.get( "etch.services.ns.NameService._result_canLookup" );
+		_mt_etch_services_ns_NameService_canFind = types.get( "etch.services.ns.NameService.canFind" );
+		_mt_etch_services_ns_NameService__result_canFind = types.get( "etch.services.ns.NameService._result_canFind" );
+		_mt_etch_services_ns_NameService_canRegister = types.get( "etch.services.ns.NameService.canRegister" );
+		_mt_etch_services_ns_NameService__result_canRegister = types.get( "etch.services.ns.NameService._result_canRegister" );
+		_mt_etch_services_ns_NameService_canUnregister = types.get( "etch.services.ns.NameService.canUnregister" );
+		_mt_etch_services_ns_NameService__result_canUnregister = types.get( "etch.services.ns.NameService._result_canUnregister" );
+		_mt_etch_services_ns_NameService_canRegisterBulk = types.get( "etch.services.ns.NameService.canRegisterBulk" );
+		_mt_etch_services_ns_NameService__result_canRegisterBulk = types.get( "etch.services.ns.NameService._result_canRegisterBulk" );
+		_mt_etch_services_ns_NameService_entryChanged = types.get( "etch.services.ns.NameService.entryChanged" );
+		_mt_etch_services_ns_NameService__result_entryChanged = types.get( "etch.services.ns.NameService._result_entryChanged" );
+	}
+
+	private static void initResults()
+	{
+		_mt_etch_services_ns_NameService_lookup.setDirection( Direction.SERVER );
+		_mt_etch_services_ns_NameService_lookup.setAsyncMode( AsyncMode.NONE );
+		_mt_etch_services_ns_NameService_lookup.setResult( _mt_etch_services_ns_NameService__result_lookup );
+		_mt_etch_services_ns_NameService__result_lookup.setTimeout( 30000 );
+		_mt_etch_services_ns_NameService__result_lookup.setDirection( Direction.CLIENT );
+		_mt_etch_services_ns_NameService_find.setDirection( Direction.SERVER );
+		_mt_etch_services_ns_NameService_find.setAsyncMode( AsyncMode.NONE );
+		_mt_etch_services_ns_NameService_find.setResult( _mt_etch_services_ns_NameService__result_find );
+		_mt_etch_services_ns_NameService__result_find.setTimeout( 30000 );
+		_mt_etch_services_ns_NameService__result_find.setDirection( Direction.CLIENT );
+		_mt_etch_services_ns_NameService_register.setDirection( Direction.SERVER );
+		_mt_etch_services_ns_NameService_register.setAsyncMode( AsyncMode.NONE );
+		_mt_etch_services_ns_NameService_register.setResult( _mt_etch_services_ns_NameService__result_register );
+		_mt_etch_services_ns_NameService__result_register.setTimeout( 30000 );
+		_mt_etch_services_ns_NameService__result_register.setDirection( Direction.CLIENT );
+		_mt_etch_services_ns_NameService_registerBulk.setDirection( Direction.SERVER );
+		_mt_etch_services_ns_NameService_registerBulk.setAsyncMode( AsyncMode.NONE );
+		_mt_etch_services_ns_NameService_registerBulk.setResult( _mt_etch_services_ns_NameService__result_registerBulk );
+		_mt_etch_services_ns_NameService__result_registerBulk.setTimeout( 30000 );
+		_mt_etch_services_ns_NameService__result_registerBulk.setDirection( Direction.CLIENT );
+		_mt_etch_services_ns_NameService_unregister.setDirection( Direction.SERVER );
+		_mt_etch_services_ns_NameService_unregister.setAsyncMode( AsyncMode.NONE );
+		_mt_etch_services_ns_NameService_unregister.setResult( _mt_etch_services_ns_NameService__result_unregister );
+		_mt_etch_services_ns_NameService__result_unregister.setTimeout( 30000 );
+		_mt_etch_services_ns_NameService__result_unregister.setDirection( Direction.CLIENT );
+		_mt_etch_services_ns_NameService_subscribe.setDirection( Direction.SERVER );
+		_mt_etch_services_ns_NameService_subscribe.setAsyncMode( AsyncMode.NONE );
+		_mt_etch_services_ns_NameService_subscribe.setResult( _mt_etch_services_ns_NameService__result_subscribe );
+		_mt_etch_services_ns_NameService__result_subscribe.setTimeout( 30000 );
+		_mt_etch_services_ns_NameService__result_subscribe.setDirection( Direction.CLIENT );
+		_mt_etch_services_ns_NameService_unsubscribe.setDirection( Direction.SERVER );
+		_mt_etch_services_ns_NameService_unsubscribe.setAsyncMode( AsyncMode.NONE );
+		_mt_etch_services_ns_NameService_unsubscribe.setResult( _mt_etch_services_ns_NameService__result_unsubscribe );
+		_mt_etch_services_ns_NameService__result_unsubscribe.setTimeout( 30000 );
+		_mt_etch_services_ns_NameService__result_unsubscribe.setDirection( Direction.CLIENT );
+		_mt_etch_services_ns_NameService_unsubscribeAll.setDirection( Direction.SERVER );
+		_mt_etch_services_ns_NameService_unsubscribeAll.setAsyncMode( AsyncMode.NONE );
+		_mt_etch_services_ns_NameService_unsubscribeAll.setResult( _mt_etch_services_ns_NameService__result_unsubscribeAll );
+		_mt_etch_services_ns_NameService__result_unsubscribeAll.setTimeout( 30000 );
+		_mt_etch_services_ns_NameService__result_unsubscribeAll.setDirection( Direction.CLIENT );
+		_mt_etch_services_ns_NameService_canLookup.setDirection( Direction.SERVER );
+		_mt_etch_services_ns_NameService_canLookup.setAsyncMode( AsyncMode.NONE );
+		_mt_etch_services_ns_NameService_canLookup.setResult( _mt_etch_services_ns_NameService__result_canLookup );
+		_mt_etch_services_ns_NameService__result_canLookup.setTimeout( 30000 );
+		_mt_etch_services_ns_NameService__result_canLookup.setDirection( Direction.CLIENT );
+		_mt_etch_services_ns_NameService_canFind.setDirection( Direction.SERVER );
+		_mt_etch_services_ns_NameService_canFind.setAsyncMode( AsyncMode.NONE );
+		_mt_etch_services_ns_NameService_canFind.setResult( _mt_etch_services_ns_NameService__result_canFind );
+		_mt_etch_services_ns_NameService__result_canFind.setTimeout( 30000 );
+		_mt_etch_services_ns_NameService__result_canFind.setDirection( Direction.CLIENT );
+		_mt_etch_services_ns_NameService_canRegister.setDirection( Direction.SERVER );
+		_mt_etch_services_ns_NameService_canRegister.setAsyncMode( AsyncMode.NONE );
+		_mt_etch_services_ns_NameService_canRegister.setResult( _mt_etch_services_ns_NameService__result_canRegister );
+		_mt_etch_services_ns_NameService__result_canRegister.setTimeout( 30000 );
+		_mt_etch_services_ns_NameService__result_canRegister.setDirection( Direction.CLIENT );
+		_mt_etch_services_ns_NameService_canUnregister.setDirection( Direction.SERVER );
+		_mt_etch_services_ns_NameService_canUnregister.setAsyncMode( AsyncMode.NONE );
+		_mt_etch_services_ns_NameService_canUnregister.setResult( _mt_etch_services_ns_NameService__result_canUnregister );
+		_mt_etch_services_ns_NameService__result_canUnregister.setTimeout( 30000 );
+		_mt_etch_services_ns_NameService__result_canUnregister.setDirection( Direction.CLIENT );
+		_mt_etch_services_ns_NameService_canRegisterBulk.setDirection( Direction.SERVER );
+		_mt_etch_services_ns_NameService_canRegisterBulk.setAsyncMode( AsyncMode.NONE );
+		_mt_etch_services_ns_NameService_canRegisterBulk.setResult( _mt_etch_services_ns_NameService__result_canRegisterBulk );
+		_mt_etch_services_ns_NameService__result_canRegisterBulk.setTimeout( 30000 );
+		_mt_etch_services_ns_NameService__result_canRegisterBulk.setDirection( Direction.CLIENT );
+		_mt_etch_services_ns_NameService_entryChanged.setDirection( Direction.CLIENT );
+		_mt_etch_services_ns_NameService_entryChanged.setAsyncMode( AsyncMode.NONE );
+		_mt_etch_services_ns_NameService_entryChanged.setResult( _mt_etch_services_ns_NameService__result_entryChanged );
+		_mt_etch_services_ns_NameService__result_entryChanged.setTimeout( 30000 );
+		_mt_etch_services_ns_NameService__result_entryChanged.setDirection( Direction.SERVER );
+	}
+
+	static
+	{
+		class2type.put( etch.services.ns.NameService.Entry.class, _mt_etch_services_ns_NameService_Entry );
+		_mt_etch_services_ns_NameService_Entry.setComponentType( etch.services.ns.NameService.Entry.class );
+		_mt_etch_services_ns_NameService_Entry.setImportExportHelper( new ImportExportHelper()
+		{
+			public final StructValue exportValue( ValueFactory vf, Object value )
+			{
+				StructValue struct = new StructValue( _mt_etch_services_ns_NameService_Entry, vf );
+				etch.services.ns.NameService.Entry v = (etch.services.ns.NameService.Entry) value;
+				struct.put( _mf_sourceUri, v.sourceUri );
+				struct.put( _mf_qualities, v.qualities );
+				struct.put( _mf_targetUri, v.targetUri );
+				struct.put( _mf_ttl, v.ttl );
+				struct.put( _mf_who, v.who );
+				struct.put( _mf_lastUpdate, v.lastUpdate );
+				struct.put( _mf_removed, v.removed );
+				return struct;
+			}
+
+			public final Object importValue( StructValue struct )
+			{
+				etch.services.ns.NameService.Entry v = new etch.services.ns.NameService.Entry();
+				v.sourceUri = (String) struct.get( _mf_sourceUri );
+				v.qualities = (java.util.Map<?, ?>) struct.get( _mf_qualities );
+				v.targetUri = (String) struct.get( _mf_targetUri );
+				v.ttl = (Integer) struct.get( _mf_ttl );
+				v.who = (String) struct.get( _mf_who );
+				v.lastUpdate = (java.util.Date) struct.get( _mf_lastUpdate );
+				v.removed = (Boolean) struct.get( _mf_removed );
+				return v;
+			}
+		} );
+	}
+
+	/** Field for sourceUri */
+	public static Field _mf_sourceUri;
+
+	/** Field for qualities */
+	public static Field _mf_qualities;
+
+	/** Field for targetUri */
+	public static Field _mf_targetUri;
+
+	/** Field for ttl */
+	public static Field _mf_ttl;
+
+	/** Field for who */
+	public static Field _mf_who;
+
+	/** Field for lastUpdate */
+	public static Field _mf_lastUpdate;
+
+	/** Field for removed */
+	public static Field _mf_removed;
+
+	/** Field for source */
+	public static Field _mf_source;
+
+	/** Field for query */
+	public static Field _mf_query;
+
+	/** Field for offset */
+	public static Field _mf_offset;
+
+	/** Field for count */
+	public static Field _mf_count;
+
+	/** Field for entries */
+	public static Field _mf_entries;
+
+	/** Field for deleteEntry */
+	public static Field _mf_deleteEntry;
+
+	/** Field for entry */
+	public static Field _mf_entry;
+
+	private static void initFields()
+	{
+		_mf_sourceUri = new Field( "sourceUri" );
+		_mf_qualities = new Field( "qualities" );
+		_mf_targetUri = new Field( "targetUri" );
+		_mf_ttl = new Field( "ttl" );
+		_mf_who = new Field( "who" );
+		_mf_lastUpdate = new Field( "lastUpdate" );
+		_mf_removed = new Field( "removed" );
+		_mf_source = new Field( "source" );
+		_mf_query = new Field( "query" );
+		_mf_offset = new Field( "offset" );
+		_mf_count = new Field( "count" );
+		_mf_entries = new Field( "entries" );
+		_mf_deleteEntry = new Field( "deleteEntry" );
+		_mf_entry = new Field( "entry" );
+
+		_mt_etch_services_ns_NameService__result_lookup.setResponseField( _mf_result );
+		_mt_etch_services_ns_NameService__result_find.setResponseField( _mf_result );
+		_mt_etch_services_ns_NameService__result_register.setResponseField( _mf_result );
+		_mt_etch_services_ns_NameService__result_registerBulk.setResponseField( _mf_result );
+		_mt_etch_services_ns_NameService__result_unregister.setResponseField( _mf_result );
+		_mt_etch_services_ns_NameService__result_subscribe.setResponseField( _mf_result );
+		_mt_etch_services_ns_NameService__result_unsubscribe.setResponseField( _mf_result );
+		_mt_etch_services_ns_NameService__result_unsubscribeAll.setResponseField( _mf_result );
+		_mt_etch_services_ns_NameService__result_canLookup.setResponseField( _mf_result );
+		_mt_etch_services_ns_NameService__result_canFind.setResponseField( _mf_result );
+		_mt_etch_services_ns_NameService__result_canRegister.setResponseField( _mf_result );
+		_mt_etch_services_ns_NameService__result_canUnregister.setResponseField( _mf_result );
+		_mt_etch_services_ns_NameService__result_canRegisterBulk.setResponseField( _mf_result );
+		_mt_etch_services_ns_NameService__result_entryChanged.setResponseField( _mf_result );
+	}
+	
+	static
+	{
+		// initialize the extern serializers:
+	}
+
+	private static void initParams()
+	{
+
+		// params for Entry
+		_mt_etch_services_ns_NameService_Entry.putValidator( _mf_sourceUri, org.apache.etch.bindings.java.support.Validator_string.get( 0 ) );
+		_mt_etch_services_ns_NameService_Entry.putValidator( _mf_qualities, org.apache.etch.bindings.java.support.Validator_custom.get( java.util.Map.class, 0, true ) );
+		_mt_etch_services_ns_NameService_Entry.putValidator( _mf_targetUri, org.apache.etch.bindings.java.support.Validator_string.get( 0 ) );
+		_mt_etch_services_ns_NameService_Entry.putValidator( _mf_ttl, org.apache.etch.bindings.java.support.Validator_int.get( 0 ) );
+		_mt_etch_services_ns_NameService_Entry.putValidator( _mf_who, org.apache.etch.bindings.java.support.Validator_string.get( 0 ) );
+		_mt_etch_services_ns_NameService_Entry.putValidator( _mf_lastUpdate, org.apache.etch.bindings.java.support.Validator_custom.get( java.util.Date.class, 0, false ) );
+		_mt_etch_services_ns_NameService_Entry.putValidator( _mf_removed, org.apache.etch.bindings.java.support.Validator_boolean.get( 0 ) );
+
+		// params for lookup
+		_mt_etch_services_ns_NameService_lookup.putValidator( _mf_source, org.apache.etch.bindings.java.support.Validator_string.get( 0 ) );
+		_mt_etch_services_ns_NameService_lookup.putValidator( _mf__messageId, org.apache.etch.bindings.java.support.Validator_long.get( 0 ) );
+
+		// params for _result_lookup
+		_mt_etch_services_ns_NameService__result_lookup.putValidator( _mf_result, org.apache.etch.bindings.java.support.Validator_custom.get( etch.services.ns.NameService.Entry.class, 0, true ) );
+		_mt_etch_services_ns_NameService__result_lookup.putValidator( _mf__messageId, org.apache.etch.bindings.java.support.Validator_long.get( 0 ) );
+		_mt_etch_services_ns_NameService__result_lookup.putValidator( _mf_result, org.apache.etch.bindings.java.support.Validator_RuntimeException.get() ); // thrown RuntimeException
+		_mt_etch_services_ns_NameService__result_lookup.putValidator( _mf__inReplyTo, org.apache.etch.bindings.java.support.Validator_long.get( 0 ) );
+
+		// params for find
+		_mt_etch_services_ns_NameService_find.putValidator( _mf_query, org.apache.etch.bindings.java.support.Validator_string.get( 0 ) );
+		_mt_etch_services_ns_NameService_find.putValidator( _mf_offset, org.apache.etch.bindings.java.support.Validator_int.get( 0 ) );
+		_mt_etch_services_ns_NameService_find.putValidator( _mf_count, org.apache.etch.bindings.java.support.Validator_int.get( 0 ) );
+		_mt_etch_services_ns_NameService_find.putValidator( _mf__messageId, org.apache.etch.bindings.java.support.Validator_long.get( 0 ) );
+
+		// params for _result_find
+		_mt_etch_services_ns_NameService__result_find.putValidator( _mf_result, org.apache.etch.bindings.java.support.Validator_custom.get( etch.services.ns.NameService.Entry.class, 1, true ) );
+		_mt_etch_services_ns_NameService__result_find.putValidator( _mf__messageId, org.apache.etch.bindings.java.support.Validator_long.get( 0 ) );
+		_mt_etch_services_ns_NameService__result_find.putValidator( _mf_result, org.apache.etch.bindings.java.support.Validator_RuntimeException.get() ); // thrown RuntimeException
+		_mt_etch_services_ns_NameService__result_find.putValidator( _mf__inReplyTo, org.apache.etch.bindings.java.support.Validator_long.get( 0 ) );
+
+		// params for register
+		_mt_etch_services_ns_NameService_register.putValidator( _mf_sourceUri, org.apache.etch.bindings.java.support.Validator_string.get( 0 ) );
+		_mt_etch_services_ns_NameService_register.putValidator( _mf_qualities, org.apache.etch.bindings.java.support.Validator_custom.get( java.util.Map.class, 0, true ) );
+		_mt_etch_services_ns_NameService_register.putValidator( _mf_targetUri, org.apache.etch.bindings.java.support.Validator_string.get( 0 ) );
+		_mt_etch_services_ns_NameService_register.putValidator( _mf_ttl, org.apache.etch.bindings.java.support.Validator_int.get( 0 ) );
+		_mt_etch_services_ns_NameService_register.putValidator( _mf__messageId, org.apache.etch.bindings.java.support.Validator_long.get( 0 ) );
+
+		// params for _result_register
+		_mt_etch_services_ns_NameService__result_register.putValidator( _mf_result, org.apache.etch.bindings.java.support.Validator_void.get( 0 ) );
+		_mt_etch_services_ns_NameService__result_register.putValidator( _mf__messageId, org.apache.etch.bindings.java.support.Validator_long.get( 0 ) );
+		_mt_etch_services_ns_NameService__result_register.putValidator( _mf_result, org.apache.etch.bindings.java.support.Validator_RuntimeException.get() ); // thrown RuntimeException
+		_mt_etch_services_ns_NameService__result_register.putValidator( _mf__inReplyTo, org.apache.etch.bindings.java.support.Validator_long.get( 0 ) );
+
+		// params for registerBulk
+		_mt_etch_services_ns_NameService_registerBulk.putValidator( _mf_entries, org.apache.etch.bindings.java.support.Validator_custom.get( etch.services.ns.NameService.Entry.class, 1, true ) );
+		_mt_etch_services_ns_NameService_registerBulk.putValidator( _mf__messageId, org.apache.etch.bindings.java.support.Validator_long.get( 0 ) );
+
+		// params for _result_registerBulk
+		_mt_etch_services_ns_NameService__result_registerBulk.putValidator( _mf_result, org.apache.etch.bindings.java.support.Validator_void.get( 0 ) );
+		_mt_etch_services_ns_NameService__result_registerBulk.putValidator( _mf__messageId, org.apache.etch.bindings.java.support.Validator_long.get( 0 ) );
+		_mt_etch_services_ns_NameService__result_registerBulk.putValidator( _mf_result, org.apache.etch.bindings.java.support.Validator_RuntimeException.get() ); // thrown RuntimeException
+		_mt_etch_services_ns_NameService__result_registerBulk.putValidator( _mf__inReplyTo, org.apache.etch.bindings.java.support.Validator_long.get( 0 ) );
+
+		// params for unregister
+		_mt_etch_services_ns_NameService_unregister.putValidator( _mf_sourceUri, org.apache.etch.bindings.java.support.Validator_string.get( 0 ) );
+		_mt_etch_services_ns_NameService_unregister.putValidator( _mf_deleteEntry, org.apache.etch.bindings.java.support.Validator_boolean.get( 0 ) );
+		_mt_etch_services_ns_NameService_unregister.putValidator( _mf__messageId, org.apache.etch.bindings.java.support.Validator_long.get( 0 ) );
+
+		// params for _result_unregister
+		_mt_etch_services_ns_NameService__result_unregister.putValidator( _mf_result, org.apache.etch.bindings.java.support.Validator_void.get( 0 ) );
+		_mt_etch_services_ns_NameService__result_unregister.putValidator( _mf__messageId, org.apache.etch.bindings.java.support.Validator_long.get( 0 ) );
+		_mt_etch_services_ns_NameService__result_unregister.putValidator( _mf_result, org.apache.etch.bindings.java.support.Validator_RuntimeException.get() ); // thrown RuntimeException
+		_mt_etch_services_ns_NameService__result_unregister.putValidator( _mf__inReplyTo, org.apache.etch.bindings.java.support.Validator_long.get( 0 ) );
+
+		// params for subscribe
+		_mt_etch_services_ns_NameService_subscribe.putValidator( _mf_query, org.apache.etch.bindings.java.support.Validator_string.get( 0 ) );
+		_mt_etch_services_ns_NameService_subscribe.putValidator( _mf__messageId, org.apache.etch.bindings.java.support.Validator_long.get( 0 ) );
+
+		// params for _result_subscribe
+		_mt_etch_services_ns_NameService__result_subscribe.putValidator( _mf_result, org.apache.etch.bindings.java.support.Validator_void.get( 0 ) );
+		_mt_etch_services_ns_NameService__result_subscribe.putValidator( _mf__messageId, org.apache.etch.bindings.java.support.Validator_long.get( 0 ) );
+		_mt_etch_services_ns_NameService__result_subscribe.putValidator( _mf_result, org.apache.etch.bindings.java.support.Validator_RuntimeException.get() ); // thrown RuntimeException
+		_mt_etch_services_ns_NameService__result_subscribe.putValidator( _mf__inReplyTo, org.apache.etch.bindings.java.support.Validator_long.get( 0 ) );
+
+		// params for unsubscribe
+		_mt_etch_services_ns_NameService_unsubscribe.putValidator( _mf_query, org.apache.etch.bindings.java.support.Validator_string.get( 0 ) );
+		_mt_etch_services_ns_NameService_unsubscribe.putValidator( _mf__messageId, org.apache.etch.bindings.java.support.Validator_long.get( 0 ) );
+
+		// params for _result_unsubscribe
+		_mt_etch_services_ns_NameService__result_unsubscribe.putValidator( _mf_result, org.apache.etch.bindings.java.support.Validator_void.get( 0 ) );
+		_mt_etch_services_ns_NameService__result_unsubscribe.putValidator( _mf__messageId, org.apache.etch.bindings.java.support.Validator_long.get( 0 ) );
+		_mt_etch_services_ns_NameService__result_unsubscribe.putValidator( _mf_result, org.apache.etch.bindings.java.support.Validator_RuntimeException.get() ); // thrown RuntimeException
+		_mt_etch_services_ns_NameService__result_unsubscribe.putValidator( _mf__inReplyTo, org.apache.etch.bindings.java.support.Validator_long.get( 0 ) );
+
+		// params for unsubscribeAll
+		_mt_etch_services_ns_NameService_unsubscribeAll.putValidator( _mf__messageId, org.apache.etch.bindings.java.support.Validator_long.get( 0 ) );
+
+		// params for _result_unsubscribeAll
+		_mt_etch_services_ns_NameService__result_unsubscribeAll.putValidator( _mf_result, org.apache.etch.bindings.java.support.Validator_void.get( 0 ) );
+		_mt_etch_services_ns_NameService__result_unsubscribeAll.putValidator( _mf__messageId, org.apache.etch.bindings.java.support.Validator_long.get( 0 ) );
+		_mt_etch_services_ns_NameService__result_unsubscribeAll.putValidator( _mf_result, org.apache.etch.bindings.java.support.Validator_RuntimeException.get() ); // thrown RuntimeException
+		_mt_etch_services_ns_NameService__result_unsubscribeAll.putValidator( _mf__inReplyTo, org.apache.etch.bindings.java.support.Validator_long.get( 0 ) );
+
+		// params for canLookup
+		_mt_etch_services_ns_NameService_canLookup.putValidator( _mf_source, org.apache.etch.bindings.java.support.Validator_string.get( 0 ) );
+		_mt_etch_services_ns_NameService_canLookup.putValidator( _mf__messageId, org.apache.etch.bindings.java.support.Validator_long.get( 0 ) );
+
+		// params for _result_canLookup
+		_mt_etch_services_ns_NameService__result_canLookup.putValidator( _mf_result, org.apache.etch.bindings.java.support.Validator_boolean.get( 0 ) );
+		_mt_etch_services_ns_NameService__result_canLookup.putValidator( _mf__messageId, org.apache.etch.bindings.java.support.Validator_long.get( 0 ) );
+		_mt_etch_services_ns_NameService__result_canLookup.putValidator( _mf_result, org.apache.etch.bindings.java.support.Validator_RuntimeException.get() ); // thrown RuntimeException
+		_mt_etch_services_ns_NameService__result_canLookup.putValidator( _mf__inReplyTo, org.apache.etch.bindings.java.support.Validator_long.get( 0 ) );
+
+		// params for canFind
+		_mt_etch_services_ns_NameService_canFind.putValidator( _mf_query, org.apache.etch.bindings.java.support.Validator_string.get( 0 ) );
+		_mt_etch_services_ns_NameService_canFind.putValidator( _mf__messageId, org.apache.etch.bindings.java.support.Validator_long.get( 0 ) );
+
+		// params for _result_canFind
+		_mt_etch_services_ns_NameService__result_canFind.putValidator( _mf_result, org.apache.etch.bindings.java.support.Validator_boolean.get( 0 ) );
+		_mt_etch_services_ns_NameService__result_canFind.putValidator( _mf__messageId, org.apache.etch.bindings.java.support.Validator_long.get( 0 ) );
+		_mt_etch_services_ns_NameService__result_canFind.putValidator( _mf_result, org.apache.etch.bindings.java.support.Validator_RuntimeException.get() ); // thrown RuntimeException
+		_mt_etch_services_ns_NameService__result_canFind.putValidator( _mf__inReplyTo, org.apache.etch.bindings.java.support.Validator_long.get( 0 ) );
+
+		// params for canRegister
+		_mt_etch_services_ns_NameService_canRegister.putValidator( _mf_sourceUri, org.apache.etch.bindings.java.support.Validator_string.get( 0 ) );
+		_mt_etch_services_ns_NameService_canRegister.putValidator( _mf_qualities, org.apache.etch.bindings.java.support.Validator_custom.get( java.util.Map.class, 0, true ) );
+		_mt_etch_services_ns_NameService_canRegister.putValidator( _mf_targetUri, org.apache.etch.bindings.java.support.Validator_string.get( 0 ) );
+		_mt_etch_services_ns_NameService_canRegister.putValidator( _mf__messageId, org.apache.etch.bindings.java.support.Validator_long.get( 0 ) );
+
+		// params for _result_canRegister
+		_mt_etch_services_ns_NameService__result_canRegister.putValidator( _mf_result, org.apache.etch.bindings.java.support.Validator_boolean.get( 0 ) );
+		_mt_etch_services_ns_NameService__result_canRegister.putValidator( _mf__messageId, org.apache.etch.bindings.java.support.Validator_long.get( 0 ) );
+		_mt_etch_services_ns_NameService__result_canRegister.putValidator( _mf_result, org.apache.etch.bindings.java.support.Validator_RuntimeException.get() ); // thrown RuntimeException
+		_mt_etch_services_ns_NameService__result_canRegister.putValidator( _mf__inReplyTo, org.apache.etch.bindings.java.support.Validator_long.get( 0 ) );
+
+		// params for canUnregister
+		_mt_etch_services_ns_NameService_canUnregister.putValidator( _mf_sourceUri, org.apache.etch.bindings.java.support.Validator_string.get( 0 ) );
+		_mt_etch_services_ns_NameService_canUnregister.putValidator( _mf_deleteEntry, org.apache.etch.bindings.java.support.Validator_boolean.get( 0 ) );
+		_mt_etch_services_ns_NameService_canUnregister.putValidator( _mf__messageId, org.apache.etch.bindings.java.support.Validator_long.get( 0 ) );
+
+		// params for _result_canUnregister
+		_mt_etch_services_ns_NameService__result_canUnregister.putValidator( _mf_result, org.apache.etch.bindings.java.support.Validator_boolean.get( 0 ) );
+		_mt_etch_services_ns_NameService__result_canUnregister.putValidator( _mf__messageId, org.apache.etch.bindings.java.support.Validator_long.get( 0 ) );
+		_mt_etch_services_ns_NameService__result_canUnregister.putValidator( _mf_result, org.apache.etch.bindings.java.support.Validator_RuntimeException.get() ); // thrown RuntimeException
+		_mt_etch_services_ns_NameService__result_canUnregister.putValidator( _mf__inReplyTo, org.apache.etch.bindings.java.support.Validator_long.get( 0 ) );
+
+		// params for canRegisterBulk
+		_mt_etch_services_ns_NameService_canRegisterBulk.putValidator( _mf_entries, org.apache.etch.bindings.java.support.Validator_custom.get( etch.services.ns.NameService.Entry.class, 1, true ) );
+		_mt_etch_services_ns_NameService_canRegisterBulk.putValidator( _mf__messageId, org.apache.etch.bindings.java.support.Validator_long.get( 0 ) );
+
+		// params for _result_canRegisterBulk
+		_mt_etch_services_ns_NameService__result_canRegisterBulk.putValidator( _mf_result, org.apache.etch.bindings.java.support.Validator_boolean.get( 0 ) );
+		_mt_etch_services_ns_NameService__result_canRegisterBulk.putValidator( _mf__messageId, org.apache.etch.bindings.java.support.Validator_long.get( 0 ) );
+		_mt_etch_services_ns_NameService__result_canRegisterBulk.putValidator( _mf_result, org.apache.etch.bindings.java.support.Validator_RuntimeException.get() ); // thrown RuntimeException
+		_mt_etch_services_ns_NameService__result_canRegisterBulk.putValidator( _mf__inReplyTo, org.apache.etch.bindings.java.support.Validator_long.get( 0 ) );
+
+		// params for entryChanged
+		_mt_etch_services_ns_NameService_entryChanged.putValidator( _mf_query, org.apache.etch.bindings.java.support.Validator_string.get( 0 ) );
+		_mt_etch_services_ns_NameService_entryChanged.putValidator( _mf_entry, org.apache.etch.bindings.java.support.Validator_custom.get( etch.services.ns.NameService.Entry.class, 0, true ) );
+		_mt_etch_services_ns_NameService_entryChanged.putValidator( _mf__messageId, org.apache.etch.bindings.java.support.Validator_long.get( 0 ) );
+
+		// params for _result_entryChanged
+		_mt_etch_services_ns_NameService__result_entryChanged.putValidator( _mf_result, org.apache.etch.bindings.java.support.Validator_void.get( 0 ) );
+		_mt_etch_services_ns_NameService__result_entryChanged.putValidator( _mf__messageId, org.apache.etch.bindings.java.support.Validator_long.get( 0 ) );
+		_mt_etch_services_ns_NameService__result_entryChanged.putValidator( _mf_result, org.apache.etch.bindings.java.support.Validator_RuntimeException.get() ); // thrown RuntimeException
+		_mt_etch_services_ns_NameService__result_entryChanged.putValidator( _mf__inReplyTo, org.apache.etch.bindings.java.support.Validator_long.get( 0 ) );
+	}
+	
+	static
+	{
+		// done updating types, and class2type: lock them.
+		types.lock();
+		for (Type t: types.values())
+			t.lock();
+		class2type.lock();
+	}
+}

Propchange: incubator/etch/branches/name-service/services/ns/target/generated-sources/main/etch/java/etch/services/ns/ValueFactoryNameService.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/etch/branches/name-service/services/ns/target/generated-sources/main/etch/java/etch/services/ns/ValueFactoryNameService.java
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Added: incubator/etch/branches/name-service/services/ns/target/generated-sources/main/etch/java/etch/services/ns/readme-etch-java-files.txt
URL: http://svn.apache.org/viewvc/incubator/etch/branches/name-service/services/ns/target/generated-sources/main/etch/java/etch/services/ns/readme-etch-java-files.txt?rev=746631&view=auto
==============================================================================
--- incubator/etch/branches/name-service/services/ns/target/generated-sources/main/etch/java/etch/services/ns/readme-etch-java-files.txt (added)
+++ incubator/etch/branches/name-service/services/ns/target/generated-sources/main/etch/java/etch/services/ns/readme-etch-java-files.txt Sun Feb 22 04:17:56 2009
@@ -0,0 +1,122 @@
+// This file automatically generated by:
+//   Apache Etch 1.1.0-incubating (LOCAL-0) / java 1.1.0-incubating (LOCAL-0)
+//   Sat Feb 21 22:11:51 CST 2009
+// This file is automatically created and should not be edited!
+
+This is a description of the etch-generated files for your service.
+
+----------------
+- How To Build -
+----------------
+
+In the directory where the etch file is located, execute the following command:
+
+etch -q -d . -I . -b java -w all Blah.etch
+
+This would compile the service description Blah.etch, generating all java files,
+into java packages rooted in the current directory (-d .), resolving includes
+and mixins from the current directory (-I .) and being quiet about it (-q).
+
+Assuming the Blah.etch specified a module of "demo" and a service of Blah,
+the java files would be generated into a sub-directory demo of the current
+directory. you may now change to that directory and compile the resulting files:
+
+cd demo
+javac -cp %ETCH_HOME%\lib\etch-java-runtime.jar *.java
+
+(Assuming windows; for unix, you only need to change the slash direction and
+change %ETCH_HOME% into \$ETCH_HOME.)
+
+To run the service (which initially won't do anything but make a connection and
+then close it, use the following two commands in separate shells (again, from
+the demo directory):
+
+java -cp %ETCH_HOME%\lib\etch-java-runtime.jar;.. demo.MainBlahListener
+
+java -cp %ETCH_HOME%\lib\etch-java-runtime.jar;.. demo.MainBlahClient
+
+(Again, assuming windows; for unix, make the changes detailed above and also
+change the semi-colon in the -cp spec to a colon.)
+
+The first command (java ... demo.MainBlahListener) starts the service listener
+which accepts connections. The second command runs a sample client, which makes
+a connection to the running listener and then closes it again.
+
+Once you've compiled the service and tested the result, you may implement your
+service by adding content to the etch file, adding implementation details to the
+Impl*.java and Main*.java files, and recompiling using the above steps. You may
+also load these files into an IDE such as eclipse or intellij, or use a build
+management system such as maven or ant. Remember, whenever you change the etch
+file, you must re-etch the service description and then re-javac all the java
+files.
+
+-------------------
+- Generated Files -
+-------------------
+
+Here is a description of the generated files for a service named Blah.
+
+Blah.java
+BlahClient.java
+BlahServer.java
+
+These three files are the generated interface classes. Service defined constants
+and types are in Blah.java, as well as direction "both" messages, which are
+messages which are shared between client and server. BlahClient.java and
+BlahServer.java are respectively the messages for just the direction client or
+server. You should not edit these files.
+
+RemoteBlah.java
+RemoteBlahClient.java
+RemoteBlahServer.java
+
+RemoteBlah*.java are the generated classes which implement the interfaces,
+with message implementations which encode the message type and arguments for
+transport to the connection peer and then receive and decode any response. You
+should not edit these files.
+
+StubBlah.java
+StubBlahClient.java
+StubBlahServer.java
+
+StubBlah*.java are the generated classes which receive messages encoded by
+RemoteBlah*.java and decode them, calling the appropriate message implementation
+and then encoding and sending any result. You should not edit these files.
+
+ValueFactoryBlah.java
+
+ValueFactoryBlah.java is a generated class which contains helper code to
+serialize service defined types and also the meta data which describes the
+messages and fields, field types, timeouts, etc. You should not edit this file.
+
+BaseBlah.java
+BaseBlahClient.java
+BaseBlahServer.java
+
+BaseBlah*.java are generated classes which implement the interfaces, with
+message implementations which do nothing but throw UnsupportedOperationException.
+They can be used to supply an implementation when you don't want to immediately
+implement all the messages. You should not edit these files.
+
+ImplBlahClient.java
+ImplBlahServer.java
+
+ImplBlah*.java are the generated sample client and server implementation
+classes. They extend the generated base classes. These are used by the sample
+main programs to provide implementations of the client or server messages. Edit
+these files as you wish to implement your service (overriding the default
+implementations from the generated base classes).
+
+BlahHelper.java
+
+BlahHelper.java is a generated class which includes static methods to help
+construct transports for client and listener. You should not edit this file.
+
+MainBlahClient.java
+MainBlahListener.java
+
+MainBlah*.java are the generated sample client and server main programs.
+They show how to setup a transport and start it and how to create a session.
+Edit these files as you wish to implement your service, or just copy the code
+into your own application.
+

Propchange: incubator/etch/branches/name-service/services/ns/target/generated-sources/main/etch/java/etch/services/ns/readme-etch-java-files.txt
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/etch/branches/name-service/services/ns/target/generated-sources/main/etch/java/etch/services/ns/readme-etch-java-files.txt
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"