@@ -56,6 +56,10 @@ class Droplet
5656 # @return [JavaOpts] the shared +JavaOpts+ instance for all components
5757 attr_reader :java_opts
5858
59+ # @!attribute [r] networking
60+ # @return [Networking] the shared +Networking+ instance for all components
61+ attr_reader :networking
62+
5963 # @!attribute [r] root
6064 # @return [JavaBuildpack::Util::FilteringPathname] the root of the droplet's fileystem filtered so that it
6165 # excludes files in the sandboxes of other components
@@ -83,10 +87,11 @@ class Droplet
8387 # be an instance of +MutableJavaHome+. Otherwise it should
8488 # be an instance of +ImmutableJavaHome+.
8589 # @param [JavaOpts] java_opts the shared +JavaOpts+ instance for all components
90+ # @param [Networking] networking the shared +Networking+ instance for all components
8691 # @param [Pathname] root the root of the droplet
8792 # @param [SecurityProviders] security_providers the shared +SecurityProviders+ instance for all components
8893 def initialize ( additional_libraries , component_id , env_vars , extension_directories , java_home , java_opts , root ,
89- security_providers )
94+ networking , security_providers )
9095
9196 @additional_libraries = additional_libraries
9297 @component_id = component_id
@@ -110,6 +115,7 @@ def initialize(additional_libraries, component_id, env_vars, extension_directori
110115 -> ( path ) { !in? ( path , buildpack_root ) || in? ( path , @sandbox ) } ,
111116 true
112117 )
118+ @networking = networking
113119 @security_providers = security_providers
114120 end
115121
0 commit comments