Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ISPN-5152 Custom interceptor with Position.OTHER_THAN_FIRST_OR_LAST caus... #3268

Closed

Conversation

pruivo
Copy link
Member

@pruivo pruivo commented Feb 25, 2015

...es CacheManager start to fail

https://issues.jboss.org/browse/ISPN-5152

@@ -229,17 +229,12 @@ public boolean addInterceptorAfter(CommandInterceptor toAdd, Class<? extends Com
}
}

public boolean addInterceptorBefore(CommandInterceptor toAdd, Class<? extends CommandInterceptor> beforeInterceptor, boolean isCustom) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is public API, so we should just deprecate it now.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it is internal. we have a AdvanceCache.addInterceptorBefore/After() method.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's in a public package, so I'm assuming there is a way for the user to get a hold of an InterceptorChain instance... if not, it would be nice to move it to the impl package.

@pruivo pruivo force-pushed the ISPN-5152/custom_interceptor branch from 8c70d7c to 0551052 Compare February 26, 2015 17:25
@pruivo
Copy link
Member Author

pruivo commented Feb 26, 2015

@danberindei updated (added @Deprecated annotation)

@danberindei
Copy link
Member

Integrated, thanks Pedro!

@danberindei danberindei closed this Mar 2, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants