Easy-To-Use Type Of Compile-Time Dependency Injection Method And Device In The Java Platform
AssigneeTmaxsoft Co., Ltd.
InventorSeonghwan JANG
Life of this patent
Estimating the term…
Loading patent…
AssigneeTmaxsoft Co., Ltd.
InventorSeonghwan JANG
Estimating the term…
Disclosed is an easy-to-use type of a compile-time dependency injection method and device in a JAVA platform. According to an exemplary embodiment, there is provided a method for automatically generating a code which injects an object for a target code at the time of compiling, in a JAVA framework executing environment including: determining whether the target code is a code related with a dependency injection function; generating a provider code of the target code which generates an object and returns the generated object to the target code, based on the determination result; and generating an injector code including a dependency object injection code which injects a dependency object corresponding to at least one dependency injection indicator included in the target code into a dependency field of an object generated by the provider code, based on the determination result, in which the provider code calls the dependency object injection code.
A method for automatically generating a code which injects an object for a target code at the time of compiling, in a JAVA framework executing environment, the method comprising:
A computer program stored in a computer readable storage medium including encoded commands, wherein when the computer program is executed by one or more processors of a computer system, the computer program allows the one or more processors to perform operations, and the operations comprise:
Dependencies are inferred from the claim text.