|
|
@ -5632,7 +5632,7 @@ public class MovieFinderImpl implements MovieFinder { |
|
|
|
<interfacename>@Scope</interfacename> annotation. Simply provide the |
|
|
|
<interfacename>@Scope</interfacename> annotation. Simply provide the |
|
|
|
name of the scope within the annotation:</para> |
|
|
|
name of the scope within the annotation:</para> |
|
|
|
|
|
|
|
|
|
|
|
<programlisting language="java">@Scope(StandardScopes.PROTOTYPE) |
|
|
|
<programlisting language="java">@Scope("prototype") |
|
|
|
@Repository |
|
|
|
@Repository |
|
|
|
public class MovieFinderImpl implements MovieFinder { |
|
|
|
public class MovieFinderImpl implements MovieFinder { |
|
|
|
<lineannotation>// ...</lineannotation> |
|
|
|
<lineannotation>// ...</lineannotation> |
|
|
|