diff --git a/DistributedObjectFactory.java b/DistributedObjectFactory.java new file mode 100644 index 0000000..cc92833 --- /dev/null +++ b/DistributedObjectFactory.java @@ -0,0 +1,25 @@ +package 分布式对象创建系统; + + +/** + * 鎶借薄宸ュ巶鎺ュ彛锛氬畾涔夊垱寤哄垎甯冨紡瀵硅薄鐨勬柟娉? + * @author chuyang + * @version 1.0 + * @created 28-10月-2025 11:03:00 + */ +public interface DistributedObjectFactory { + + /** + * + * @param type + */ + public DistributedObject createObject(ObjectType type); + + /** + * + * @param type + * @param id + */ + public DistributedObject createObject(ObjectType type, String id); + +} \ No newline at end of file