You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
AwsEventWrapperFactory depends on EventWrapperMapping instance.
Its behaviors are changed by the AwsEventWrapperFactoryConfigurer instance that configures an EventWrapperMapping instance.
This means AwsEventWrapperFactory relies on dynamic dependencies. However it has two static factory methods, one of which creates a AwsEventWrapper, the other creates a customized AwsEventWrapperFactory. This is why it has a strange interface for creating customized instances.
As-is:
AwsEventWrapperFactory
depends onEventWrapperMapping
instance.AwsEventWrapperFactoryConfigurer
instance that configures anEventWrapperMapping
instance.AwsEventWrapperFactory
relies on dynamic dependencies. However it has two static factory methods, one of which creates aAwsEventWrapper
, the other creates a customizedAwsEventWrapperFactory
. This is why it has a strange interface for creating customized instances.AwsEventWrapper
s.AwsEventWrapperFactory
.To-be:
AwsEventWrapperFactory
instance:getDefault()
.AwsEventWrapperFactory
instances:newInstance()
.AwsEventWrapperFactory(AwsEventWrapperFactoryConfigurer)
.getWrapper()
method. Make it non-static.The text was updated successfully, but these errors were encountered: