All Downloads are FREE. Search and download functionalities are using the official Maven repository.

colesico.framework.weblet.internal.WebletReadersIoclet Maven / Gradle / Ivy

There is a newer version: 5.3.0
Show newest version
// This is automatically generated file. Do not modify!
package colesico.framework.weblet.internal;

import colesico.framework.assist.LazySingleton;
import colesico.framework.assist.codegen.Genstamp;
import colesico.framework.ioc.ioclet.AdvancedIoc;
import colesico.framework.ioc.ioclet.Catalog;
import colesico.framework.ioc.ioclet.Factory;
import colesico.framework.ioc.ioclet.Ioclet;
import colesico.framework.ioc.ioclet.SingletonFactory;
import colesico.framework.ioc.key.ClassedKey;
import colesico.framework.ioc.key.TypeKey;
import colesico.framework.ioc.production.InstanceProducingException;
import colesico.framework.telehttp.reader.BooleanReader;
import colesico.framework.telehttp.reader.ByteReader;
import colesico.framework.telehttp.reader.CharacterReader;
import colesico.framework.telehttp.reader.DateReader;
import colesico.framework.telehttp.reader.DoubleReader;
import colesico.framework.telehttp.reader.FloatReader;
import colesico.framework.telehttp.reader.HttpFileReader;
import colesico.framework.telehttp.reader.IntegerReader;
import colesico.framework.telehttp.reader.LocalDateReader;
import colesico.framework.telehttp.reader.LocalDateTimeReader;
import colesico.framework.telehttp.reader.LocalTimeReader;
import colesico.framework.telehttp.reader.LongReader;
import colesico.framework.telehttp.reader.OptionalIntReader;
import colesico.framework.telehttp.reader.OptionalLongReader;
import colesico.framework.telehttp.reader.PrincipalReader;
import colesico.framework.telehttp.reader.ProfileReader;
import colesico.framework.telehttp.reader.ShortReader;
import colesico.framework.telehttp.reader.StringReader;
import colesico.framework.weblet.teleapi.WebletTeleReader;

@Genstamp(
        generator = "colesico.framework.ioc.codegen.generator.IocletGenerator",
        timestamp = "2022-10-25T11:36:40.081Z",
        hashId = "69f358b7-6932-4e26-a0ec-27f8d2f2ff8d",
        comments = "Producer: colesico.framework.weblet.internal.WebletReadersProducer"
)
public final class WebletReadersIoclet implements Ioclet {
    private final LazySingleton producer = new LazySingleton() {
        @Override
        public final WebletReadersProducer create() {
            return new WebletReadersProducer();
        }
    };

    @Override
    public final String getId() {
        return "colesico.framework.weblet.internal.WebletReadersProducer";
    }

    /**
     * Factory to produce colesico.framework.weblet.teleapi.WebletTeleReader class instance
     * Scope: SINGLETON; Custom: null
     * Classed: java.lang.Boolean
     */
    public Factory getBooleanReaderFactory0() {
        return new SingletonFactory() {
            private Factory implFac;

            @Override
            public final void setup(final AdvancedIoc ioc) {
                // Initialize dependencies for: colesico.framework.weblet.teleapi.WebletTeleReader
                this.implFac = ioc.factory(new TypeKey("colesico.framework.telehttp.reader.BooleanReader"));
            }

            @Override
            public final WebletTeleReader create(final Object message) {
                try {
                    // Perform instance producing
                    WebletTeleReader instance = producer.get().getBooleanReader(this.implFac.get(message));
                    return instance;
                } catch (InstanceProducingException ipe) {
                    throw ipe;
                } catch (Throwable t) {
                    throw new InstanceProducingException(t, WebletTeleReader.class);
                }
            }
        };
    }

    /**
     * Factory to produce colesico.framework.weblet.teleapi.WebletTeleReader class instance
     * Scope: SINGLETON; Custom: null
     * Classed: boolean
     */
    public Factory getBoolReaderFactory1() {
        return new SingletonFactory() {
            private Factory implFac;

            @Override
            public final void setup(final AdvancedIoc ioc) {
                // Initialize dependencies for: colesico.framework.weblet.teleapi.WebletTeleReader
                this.implFac = ioc.factory(new TypeKey("colesico.framework.telehttp.reader.BooleanReader"));
            }

            @Override
            public final WebletTeleReader create(final Object message) {
                try {
                    // Perform instance producing
                    WebletTeleReader instance = producer.get().getBoolReader(this.implFac.get(message));
                    return instance;
                } catch (InstanceProducingException ipe) {
                    throw ipe;
                } catch (Throwable t) {
                    throw new InstanceProducingException(t, WebletTeleReader.class);
                }
            }
        };
    }

    /**
     * Factory to produce colesico.framework.weblet.teleapi.WebletTeleReader class instance
     * Scope: SINGLETON; Custom: null
     * Classed: java.lang.String
     */
    public Factory getStringReaderFactory2() {
        return new SingletonFactory() {
            private Factory implFac;

            @Override
            public final void setup(final AdvancedIoc ioc) {
                // Initialize dependencies for: colesico.framework.weblet.teleapi.WebletTeleReader
                this.implFac = ioc.factory(new TypeKey("colesico.framework.telehttp.reader.StringReader"));
            }

            @Override
            public final WebletTeleReader create(final Object message) {
                try {
                    // Perform instance producing
                    WebletTeleReader instance = producer.get().getStringReader(this.implFac.get(message));
                    return instance;
                } catch (InstanceProducingException ipe) {
                    throw ipe;
                } catch (Throwable t) {
                    throw new InstanceProducingException(t, WebletTeleReader.class);
                }
            }
        };
    }

    /**
     * Factory to produce colesico.framework.weblet.teleapi.WebletTeleReader class instance
     * Scope: SINGLETON; Custom: null
     * Classed: java.lang.Character
     */
    public Factory getCharacterReaderFactory3() {
        return new SingletonFactory() {
            private Factory implFac;

            @Override
            public final void setup(final AdvancedIoc ioc) {
                // Initialize dependencies for: colesico.framework.weblet.teleapi.WebletTeleReader
                this.implFac = ioc.factory(new TypeKey("colesico.framework.telehttp.reader.CharacterReader"));
            }

            @Override
            public final WebletTeleReader create(final Object message) {
                try {
                    // Perform instance producing
                    WebletTeleReader instance = producer.get().getCharacterReader(this.implFac.get(message));
                    return instance;
                } catch (InstanceProducingException ipe) {
                    throw ipe;
                } catch (Throwable t) {
                    throw new InstanceProducingException(t, WebletTeleReader.class);
                }
            }
        };
    }

    /**
     * Factory to produce colesico.framework.weblet.teleapi.WebletTeleReader class instance
     * Scope: SINGLETON; Custom: null
     * Classed: char
     */
    public Factory getCharReaderFactory4() {
        return new SingletonFactory() {
            private Factory implFac;

            @Override
            public final void setup(final AdvancedIoc ioc) {
                // Initialize dependencies for: colesico.framework.weblet.teleapi.WebletTeleReader
                this.implFac = ioc.factory(new TypeKey("colesico.framework.telehttp.reader.CharacterReader"));
            }

            @Override
            public final WebletTeleReader create(final Object message) {
                try {
                    // Perform instance producing
                    WebletTeleReader instance = producer.get().getCharReader(this.implFac.get(message));
                    return instance;
                } catch (InstanceProducingException ipe) {
                    throw ipe;
                } catch (Throwable t) {
                    throw new InstanceProducingException(t, WebletTeleReader.class);
                }
            }
        };
    }

    /**
     * Factory to produce colesico.framework.weblet.teleapi.WebletTeleReader class instance
     * Scope: SINGLETON; Custom: null
     * Classed: java.lang.Byte
     */
    public Factory getByteReaderFactory5() {
        return new SingletonFactory() {
            private Factory implFac;

            @Override
            public final void setup(final AdvancedIoc ioc) {
                // Initialize dependencies for: colesico.framework.weblet.teleapi.WebletTeleReader
                this.implFac = ioc.factory(new TypeKey("colesico.framework.telehttp.reader.ByteReader"));
            }

            @Override
            public final WebletTeleReader create(final Object message) {
                try {
                    // Perform instance producing
                    WebletTeleReader instance = producer.get().getByteReader(this.implFac.get(message));
                    return instance;
                } catch (InstanceProducingException ipe) {
                    throw ipe;
                } catch (Throwable t) {
                    throw new InstanceProducingException(t, WebletTeleReader.class);
                }
            }
        };
    }

    /**
     * Factory to produce colesico.framework.weblet.teleapi.WebletTeleReader class instance
     * Scope: SINGLETON; Custom: null
     * Classed: byte
     */
    public Factory getBtReaderFactory6() {
        return new SingletonFactory() {
            private Factory implFac;

            @Override
            public final void setup(final AdvancedIoc ioc) {
                // Initialize dependencies for: colesico.framework.weblet.teleapi.WebletTeleReader
                this.implFac = ioc.factory(new TypeKey("colesico.framework.telehttp.reader.ByteReader"));
            }

            @Override
            public final WebletTeleReader create(final Object message) {
                try {
                    // Perform instance producing
                    WebletTeleReader instance = producer.get().getBtReader(this.implFac.get(message));
                    return instance;
                } catch (InstanceProducingException ipe) {
                    throw ipe;
                } catch (Throwable t) {
                    throw new InstanceProducingException(t, WebletTeleReader.class);
                }
            }
        };
    }

    /**
     * Factory to produce colesico.framework.weblet.teleapi.WebletTeleReader class instance
     * Scope: SINGLETON; Custom: null
     * Classed: java.lang.Short
     */
    public Factory getShortReaderFactory7() {
        return new SingletonFactory() {
            private Factory implFac;

            @Override
            public final void setup(final AdvancedIoc ioc) {
                // Initialize dependencies for: colesico.framework.weblet.teleapi.WebletTeleReader
                this.implFac = ioc.factory(new TypeKey("colesico.framework.telehttp.reader.ShortReader"));
            }

            @Override
            public final WebletTeleReader create(final Object message) {
                try {
                    // Perform instance producing
                    WebletTeleReader instance = producer.get().getShortReader(this.implFac.get(message));
                    return instance;
                } catch (InstanceProducingException ipe) {
                    throw ipe;
                } catch (Throwable t) {
                    throw new InstanceProducingException(t, WebletTeleReader.class);
                }
            }
        };
    }

    /**
     * Factory to produce colesico.framework.weblet.teleapi.WebletTeleReader class instance
     * Scope: SINGLETON; Custom: null
     * Classed: short
     */
    public Factory getShtReaderFactory8() {
        return new SingletonFactory() {
            private Factory implFac;

            @Override
            public final void setup(final AdvancedIoc ioc) {
                // Initialize dependencies for: colesico.framework.weblet.teleapi.WebletTeleReader
                this.implFac = ioc.factory(new TypeKey("colesico.framework.telehttp.reader.ShortReader"));
            }

            @Override
            public final WebletTeleReader create(final Object message) {
                try {
                    // Perform instance producing
                    WebletTeleReader instance = producer.get().getShtReader(this.implFac.get(message));
                    return instance;
                } catch (InstanceProducingException ipe) {
                    throw ipe;
                } catch (Throwable t) {
                    throw new InstanceProducingException(t, WebletTeleReader.class);
                }
            }
        };
    }

    /**
     * Factory to produce colesico.framework.weblet.teleapi.WebletTeleReader class instance
     * Scope: SINGLETON; Custom: null
     * Classed: java.lang.Integer
     */
    public Factory getIntegerReaderFactory9() {
        return new SingletonFactory() {
            private Factory implFac;

            @Override
            public final void setup(final AdvancedIoc ioc) {
                // Initialize dependencies for: colesico.framework.weblet.teleapi.WebletTeleReader
                this.implFac = ioc.factory(new TypeKey("colesico.framework.telehttp.reader.IntegerReader"));
            }

            @Override
            public final WebletTeleReader create(final Object message) {
                try {
                    // Perform instance producing
                    WebletTeleReader instance = producer.get().getIntegerReader(this.implFac.get(message));
                    return instance;
                } catch (InstanceProducingException ipe) {
                    throw ipe;
                } catch (Throwable t) {
                    throw new InstanceProducingException(t, WebletTeleReader.class);
                }
            }
        };
    }

    /**
     * Factory to produce colesico.framework.weblet.teleapi.WebletTeleReader class instance
     * Scope: SINGLETON; Custom: null
     * Classed: int
     */
    public Factory getIntReaderFactory10() {
        return new SingletonFactory() {
            private Factory implFac;

            @Override
            public final void setup(final AdvancedIoc ioc) {
                // Initialize dependencies for: colesico.framework.weblet.teleapi.WebletTeleReader
                this.implFac = ioc.factory(new TypeKey("colesico.framework.telehttp.reader.IntegerReader"));
            }

            @Override
            public final WebletTeleReader create(final Object message) {
                try {
                    // Perform instance producing
                    WebletTeleReader instance = producer.get().getIntReader(this.implFac.get(message));
                    return instance;
                } catch (InstanceProducingException ipe) {
                    throw ipe;
                } catch (Throwable t) {
                    throw new InstanceProducingException(t, WebletTeleReader.class);
                }
            }
        };
    }

    /**
     * Factory to produce colesico.framework.weblet.teleapi.WebletTeleReader class instance
     * Scope: SINGLETON; Custom: null
     * Classed: java.util.OptionalInt
     */
    public Factory getOptionalIntReaderFactory11() {
        return new SingletonFactory() {
            private Factory implFac;

            @Override
            public final void setup(final AdvancedIoc ioc) {
                // Initialize dependencies for: colesico.framework.weblet.teleapi.WebletTeleReader
                this.implFac = ioc.factory(new TypeKey("colesico.framework.telehttp.reader.OptionalIntReader"));
            }

            @Override
            public final WebletTeleReader create(final Object message) {
                try {
                    // Perform instance producing
                    WebletTeleReader instance = producer.get().getOptionalIntReader(this.implFac.get(message));
                    return instance;
                } catch (InstanceProducingException ipe) {
                    throw ipe;
                } catch (Throwable t) {
                    throw new InstanceProducingException(t, WebletTeleReader.class);
                }
            }
        };
    }

    /**
     * Factory to produce colesico.framework.weblet.teleapi.WebletTeleReader class instance
     * Scope: SINGLETON; Custom: null
     * Classed: java.lang.Long
     */
    public Factory getLongReaderFactory12() {
        return new SingletonFactory() {
            private Factory implFac;

            @Override
            public final void setup(final AdvancedIoc ioc) {
                // Initialize dependencies for: colesico.framework.weblet.teleapi.WebletTeleReader
                this.implFac = ioc.factory(new TypeKey("colesico.framework.telehttp.reader.LongReader"));
            }

            @Override
            public final WebletTeleReader create(final Object message) {
                try {
                    // Perform instance producing
                    WebletTeleReader instance = producer.get().getLongReader(this.implFac.get(message));
                    return instance;
                } catch (InstanceProducingException ipe) {
                    throw ipe;
                } catch (Throwable t) {
                    throw new InstanceProducingException(t, WebletTeleReader.class);
                }
            }
        };
    }

    /**
     * Factory to produce colesico.framework.weblet.teleapi.WebletTeleReader class instance
     * Scope: SINGLETON; Custom: null
     * Classed: long
     */
    public Factory getLngReaderFactory13() {
        return new SingletonFactory() {
            private Factory implFac;

            @Override
            public final void setup(final AdvancedIoc ioc) {
                // Initialize dependencies for: colesico.framework.weblet.teleapi.WebletTeleReader
                this.implFac = ioc.factory(new TypeKey("colesico.framework.telehttp.reader.LongReader"));
            }

            @Override
            public final WebletTeleReader create(final Object message) {
                try {
                    // Perform instance producing
                    WebletTeleReader instance = producer.get().getLngReader(this.implFac.get(message));
                    return instance;
                } catch (InstanceProducingException ipe) {
                    throw ipe;
                } catch (Throwable t) {
                    throw new InstanceProducingException(t, WebletTeleReader.class);
                }
            }
        };
    }

    /**
     * Factory to produce colesico.framework.weblet.teleapi.WebletTeleReader class instance
     * Scope: SINGLETON; Custom: null
     * Classed: java.util.OptionalLong
     */
    public Factory getOptionalLongReaderFactory14() {
        return new SingletonFactory() {
            private Factory implFac;

            @Override
            public final void setup(final AdvancedIoc ioc) {
                // Initialize dependencies for: colesico.framework.weblet.teleapi.WebletTeleReader
                this.implFac = ioc.factory(new TypeKey("colesico.framework.telehttp.reader.OptionalLongReader"));
            }

            @Override
            public final WebletTeleReader create(final Object message) {
                try {
                    // Perform instance producing
                    WebletTeleReader instance = producer.get().getOptionalLongReader(this.implFac.get(message));
                    return instance;
                } catch (InstanceProducingException ipe) {
                    throw ipe;
                } catch (Throwable t) {
                    throw new InstanceProducingException(t, WebletTeleReader.class);
                }
            }
        };
    }

    /**
     * Factory to produce colesico.framework.weblet.teleapi.WebletTeleReader class instance
     * Scope: SINGLETON; Custom: null
     * Classed: java.lang.Float
     */
    public Factory getFloatReaderFactory15() {
        return new SingletonFactory() {
            private Factory implFac;

            @Override
            public final void setup(final AdvancedIoc ioc) {
                // Initialize dependencies for: colesico.framework.weblet.teleapi.WebletTeleReader
                this.implFac = ioc.factory(new TypeKey("colesico.framework.telehttp.reader.FloatReader"));
            }

            @Override
            public final WebletTeleReader create(final Object message) {
                try {
                    // Perform instance producing
                    WebletTeleReader instance = producer.get().getFloatReader(this.implFac.get(message));
                    return instance;
                } catch (InstanceProducingException ipe) {
                    throw ipe;
                } catch (Throwable t) {
                    throw new InstanceProducingException(t, WebletTeleReader.class);
                }
            }
        };
    }

    /**
     * Factory to produce colesico.framework.weblet.teleapi.WebletTeleReader class instance
     * Scope: SINGLETON; Custom: null
     * Classed: float
     */
    public Factory getFltReaderFactory16() {
        return new SingletonFactory() {
            private Factory implFac;

            @Override
            public final void setup(final AdvancedIoc ioc) {
                // Initialize dependencies for: colesico.framework.weblet.teleapi.WebletTeleReader
                this.implFac = ioc.factory(new TypeKey("colesico.framework.telehttp.reader.FloatReader"));
            }

            @Override
            public final WebletTeleReader create(final Object message) {
                try {
                    // Perform instance producing
                    WebletTeleReader instance = producer.get().getFltReader(this.implFac.get(message));
                    return instance;
                } catch (InstanceProducingException ipe) {
                    throw ipe;
                } catch (Throwable t) {
                    throw new InstanceProducingException(t, WebletTeleReader.class);
                }
            }
        };
    }

    /**
     * Factory to produce colesico.framework.weblet.teleapi.WebletTeleReader class instance
     * Scope: SINGLETON; Custom: null
     * Classed: java.lang.Double
     */
    public Factory getDoubleReaderFactory17() {
        return new SingletonFactory() {
            private Factory implFac;

            @Override
            public final void setup(final AdvancedIoc ioc) {
                // Initialize dependencies for: colesico.framework.weblet.teleapi.WebletTeleReader
                this.implFac = ioc.factory(new TypeKey("colesico.framework.telehttp.reader.DoubleReader"));
            }

            @Override
            public final WebletTeleReader create(final Object message) {
                try {
                    // Perform instance producing
                    WebletTeleReader instance = producer.get().getDoubleReader(this.implFac.get(message));
                    return instance;
                } catch (InstanceProducingException ipe) {
                    throw ipe;
                } catch (Throwable t) {
                    throw new InstanceProducingException(t, WebletTeleReader.class);
                }
            }
        };
    }

    /**
     * Factory to produce colesico.framework.weblet.teleapi.WebletTeleReader class instance
     * Scope: SINGLETON; Custom: null
     * Classed: double
     */
    public Factory getDblReaderFactory18() {
        return new SingletonFactory() {
            private Factory implFac;

            @Override
            public final void setup(final AdvancedIoc ioc) {
                // Initialize dependencies for: colesico.framework.weblet.teleapi.WebletTeleReader
                this.implFac = ioc.factory(new TypeKey("colesico.framework.telehttp.reader.DoubleReader"));
            }

            @Override
            public final WebletTeleReader create(final Object message) {
                try {
                    // Perform instance producing
                    WebletTeleReader instance = producer.get().getDblReader(this.implFac.get(message));
                    return instance;
                } catch (InstanceProducingException ipe) {
                    throw ipe;
                } catch (Throwable t) {
                    throw new InstanceProducingException(t, WebletTeleReader.class);
                }
            }
        };
    }

    /**
     * Factory to produce colesico.framework.weblet.teleapi.WebletTeleReader class instance
     * Scope: SINGLETON; Custom: null
     * Classed: java.util.Date
     */
    public Factory getDateReaderFactory19() {
        return new SingletonFactory() {
            private Factory implFac;

            @Override
            public final void setup(final AdvancedIoc ioc) {
                // Initialize dependencies for: colesico.framework.weblet.teleapi.WebletTeleReader
                this.implFac = ioc.factory(new TypeKey("colesico.framework.telehttp.reader.DateReader"));
            }

            @Override
            public final WebletTeleReader create(final Object message) {
                try {
                    // Perform instance producing
                    WebletTeleReader instance = producer.get().getDateReader(this.implFac.get(message));
                    return instance;
                } catch (InstanceProducingException ipe) {
                    throw ipe;
                } catch (Throwable t) {
                    throw new InstanceProducingException(t, WebletTeleReader.class);
                }
            }
        };
    }

    /**
     * Factory to produce colesico.framework.weblet.teleapi.WebletTeleReader class instance
     * Scope: SINGLETON; Custom: null
     * Classed: java.time.LocalDate
     */
    public Factory getLocalDateReaderFactory20() {
        return new SingletonFactory() {
            private Factory implFac;

            @Override
            public final void setup(final AdvancedIoc ioc) {
                // Initialize dependencies for: colesico.framework.weblet.teleapi.WebletTeleReader
                this.implFac = ioc.factory(new TypeKey("colesico.framework.telehttp.reader.LocalDateReader"));
            }

            @Override
            public final WebletTeleReader create(final Object message) {
                try {
                    // Perform instance producing
                    WebletTeleReader instance = producer.get().getLocalDateReader(this.implFac.get(message));
                    return instance;
                } catch (InstanceProducingException ipe) {
                    throw ipe;
                } catch (Throwable t) {
                    throw new InstanceProducingException(t, WebletTeleReader.class);
                }
            }
        };
    }

    /**
     * Factory to produce colesico.framework.weblet.teleapi.WebletTeleReader class instance
     * Scope: SINGLETON; Custom: null
     * Classed: java.time.LocalTime
     */
    public Factory getLocalTimeReaderFactory21() {
        return new SingletonFactory() {
            private Factory implFac;

            @Override
            public final void setup(final AdvancedIoc ioc) {
                // Initialize dependencies for: colesico.framework.weblet.teleapi.WebletTeleReader
                this.implFac = ioc.factory(new TypeKey("colesico.framework.telehttp.reader.LocalTimeReader"));
            }

            @Override
            public final WebletTeleReader create(final Object message) {
                try {
                    // Perform instance producing
                    WebletTeleReader instance = producer.get().getLocalTimeReader(this.implFac.get(message));
                    return instance;
                } catch (InstanceProducingException ipe) {
                    throw ipe;
                } catch (Throwable t) {
                    throw new InstanceProducingException(t, WebletTeleReader.class);
                }
            }
        };
    }

    /**
     * Factory to produce colesico.framework.weblet.teleapi.WebletTeleReader class instance
     * Scope: SINGLETON; Custom: null
     * Classed: java.time.LocalDateTime
     */
    public Factory getLocalDateTimeReaderFactory22() {
        return new SingletonFactory() {
            private Factory implFac;

            @Override
            public final void setup(final AdvancedIoc ioc) {
                // Initialize dependencies for: colesico.framework.weblet.teleapi.WebletTeleReader
                this.implFac = ioc.factory(new TypeKey("colesico.framework.telehttp.reader.LocalDateTimeReader"));
            }

            @Override
            public final WebletTeleReader create(final Object message) {
                try {
                    // Perform instance producing
                    WebletTeleReader instance = producer.get().getLocalDateTimeReader(this.implFac.get(message));
                    return instance;
                } catch (InstanceProducingException ipe) {
                    throw ipe;
                } catch (Throwable t) {
                    throw new InstanceProducingException(t, WebletTeleReader.class);
                }
            }
        };
    }

    /**
     * Factory to produce colesico.framework.weblet.teleapi.WebletTeleReader class instance
     * Scope: SINGLETON; Custom: null
     * Classed: colesico.framework.profile.Profile
     */
    public Factory getProfileReaderFactory23() {
        return new SingletonFactory() {
            private Factory implFac;

            @Override
            public final void setup(final AdvancedIoc ioc) {
                // Initialize dependencies for: colesico.framework.weblet.teleapi.WebletTeleReader
                this.implFac = ioc.factory(new TypeKey("colesico.framework.telehttp.reader.ProfileReader"));
            }

            @Override
            public final WebletTeleReader create(final Object message) {
                try {
                    // Perform instance producing
                    WebletTeleReader instance = producer.get().getProfileReader(this.implFac.get(message));
                    return instance;
                } catch (InstanceProducingException ipe) {
                    throw ipe;
                } catch (Throwable t) {
                    throw new InstanceProducingException(t, WebletTeleReader.class);
                }
            }
        };
    }

    /**
     * Factory to produce colesico.framework.weblet.teleapi.WebletTeleReader class instance
     * Scope: SINGLETON; Custom: null
     * Classed: colesico.framework.security.Principal
     */
    public Factory getPrincipalReaderFactory24() {
        return new SingletonFactory() {
            private Factory implFac;

            @Override
            public final void setup(final AdvancedIoc ioc) {
                // Initialize dependencies for: colesico.framework.weblet.teleapi.WebletTeleReader
                this.implFac = ioc.factory(new TypeKey("colesico.framework.telehttp.reader.PrincipalReader"));
            }

            @Override
            public final WebletTeleReader create(final Object message) {
                try {
                    // Perform instance producing
                    WebletTeleReader instance = producer.get().getPrincipalReader(this.implFac.get(message));
                    return instance;
                } catch (InstanceProducingException ipe) {
                    throw ipe;
                } catch (Throwable t) {
                    throw new InstanceProducingException(t, WebletTeleReader.class);
                }
            }
        };
    }

    /**
     * Factory to produce colesico.framework.weblet.teleapi.WebletTeleReader class instance
     * Scope: SINGLETON; Custom: null
     * Classed: colesico.framework.telehttp.reader.HttpFileReader
     */
    public Factory getHttpFileReaderFactory25() {
        return new SingletonFactory() {
            private Factory implFac;

            @Override
            public final void setup(final AdvancedIoc ioc) {
                // Initialize dependencies for: colesico.framework.weblet.teleapi.WebletTeleReader
                this.implFac = ioc.factory(new TypeKey("colesico.framework.telehttp.reader.HttpFileReader"));
            }

            @Override
            public final WebletTeleReader create(final Object message) {
                try {
                    // Perform instance producing
                    WebletTeleReader instance = producer.get().getHttpFileReader(this.implFac.get(message));
                    return instance;
                } catch (InstanceProducingException ipe) {
                    throw ipe;
                } catch (Throwable t) {
                    throw new InstanceProducingException(t, WebletTeleReader.class);
                }
            }
        };
    }

    @Override
    public final void addFactories(final Catalog catalog) {
        if(catalog.accept(new ClassedKey("colesico.framework.weblet.teleapi.WebletTeleReader","java.lang.Boolean"), null, null, false)){
            catalog.add(getBooleanReaderFactory0());
        }

        if(catalog.accept(new ClassedKey("colesico.framework.weblet.teleapi.WebletTeleReader","boolean"), null, null, false)){
            catalog.add(getBoolReaderFactory1());
        }

        if(catalog.accept(new ClassedKey("colesico.framework.weblet.teleapi.WebletTeleReader","java.lang.String"), null, null, false)){
            catalog.add(getStringReaderFactory2());
        }

        if(catalog.accept(new ClassedKey("colesico.framework.weblet.teleapi.WebletTeleReader","java.lang.Character"), null, null, false)){
            catalog.add(getCharacterReaderFactory3());
        }

        if(catalog.accept(new ClassedKey("colesico.framework.weblet.teleapi.WebletTeleReader","char"), null, null, false)){
            catalog.add(getCharReaderFactory4());
        }

        if(catalog.accept(new ClassedKey("colesico.framework.weblet.teleapi.WebletTeleReader","java.lang.Byte"), null, null, false)){
            catalog.add(getByteReaderFactory5());
        }

        if(catalog.accept(new ClassedKey("colesico.framework.weblet.teleapi.WebletTeleReader","byte"), null, null, false)){
            catalog.add(getBtReaderFactory6());
        }

        if(catalog.accept(new ClassedKey("colesico.framework.weblet.teleapi.WebletTeleReader","java.lang.Short"), null, null, false)){
            catalog.add(getShortReaderFactory7());
        }

        if(catalog.accept(new ClassedKey("colesico.framework.weblet.teleapi.WebletTeleReader","short"), null, null, false)){
            catalog.add(getShtReaderFactory8());
        }

        if(catalog.accept(new ClassedKey("colesico.framework.weblet.teleapi.WebletTeleReader","java.lang.Integer"), null, null, false)){
            catalog.add(getIntegerReaderFactory9());
        }

        if(catalog.accept(new ClassedKey("colesico.framework.weblet.teleapi.WebletTeleReader","int"), null, null, false)){
            catalog.add(getIntReaderFactory10());
        }

        if(catalog.accept(new ClassedKey("colesico.framework.weblet.teleapi.WebletTeleReader","java.util.OptionalInt"), null, null, false)){
            catalog.add(getOptionalIntReaderFactory11());
        }

        if(catalog.accept(new ClassedKey("colesico.framework.weblet.teleapi.WebletTeleReader","java.lang.Long"), null, null, false)){
            catalog.add(getLongReaderFactory12());
        }

        if(catalog.accept(new ClassedKey("colesico.framework.weblet.teleapi.WebletTeleReader","long"), null, null, false)){
            catalog.add(getLngReaderFactory13());
        }

        if(catalog.accept(new ClassedKey("colesico.framework.weblet.teleapi.WebletTeleReader","java.util.OptionalLong"), null, null, false)){
            catalog.add(getOptionalLongReaderFactory14());
        }

        if(catalog.accept(new ClassedKey("colesico.framework.weblet.teleapi.WebletTeleReader","java.lang.Float"), null, null, false)){
            catalog.add(getFloatReaderFactory15());
        }

        if(catalog.accept(new ClassedKey("colesico.framework.weblet.teleapi.WebletTeleReader","float"), null, null, false)){
            catalog.add(getFltReaderFactory16());
        }

        if(catalog.accept(new ClassedKey("colesico.framework.weblet.teleapi.WebletTeleReader","java.lang.Double"), null, null, false)){
            catalog.add(getDoubleReaderFactory17());
        }

        if(catalog.accept(new ClassedKey("colesico.framework.weblet.teleapi.WebletTeleReader","double"), null, null, false)){
            catalog.add(getDblReaderFactory18());
        }

        if(catalog.accept(new ClassedKey("colesico.framework.weblet.teleapi.WebletTeleReader","java.util.Date"), null, null, false)){
            catalog.add(getDateReaderFactory19());
        }

        if(catalog.accept(new ClassedKey("colesico.framework.weblet.teleapi.WebletTeleReader","java.time.LocalDate"), null, null, false)){
            catalog.add(getLocalDateReaderFactory20());
        }

        if(catalog.accept(new ClassedKey("colesico.framework.weblet.teleapi.WebletTeleReader","java.time.LocalTime"), null, null, false)){
            catalog.add(getLocalTimeReaderFactory21());
        }

        if(catalog.accept(new ClassedKey("colesico.framework.weblet.teleapi.WebletTeleReader","java.time.LocalDateTime"), null, null, false)){
            catalog.add(getLocalDateTimeReaderFactory22());
        }

        if(catalog.accept(new ClassedKey("colesico.framework.weblet.teleapi.WebletTeleReader","colesico.framework.profile.Profile"), null, null, false)){
            catalog.add(getProfileReaderFactory23());
        }

        if(catalog.accept(new ClassedKey("colesico.framework.weblet.teleapi.WebletTeleReader","colesico.framework.security.Principal"), null, null, false)){
            catalog.add(getPrincipalReaderFactory24());
        }

        if(catalog.accept(new ClassedKey("colesico.framework.weblet.teleapi.WebletTeleReader","colesico.framework.telehttp.reader.HttpFileReader"), null, null, false)){
            catalog.add(getHttpFileReaderFactory25());
        }

    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy