示例#1
0
 /** {@inheritDoc} */
 public void resetAccessControl() {
   if (adapter instanceof AbstractMessageAdapter) {
     ((AbstractMessageAdapter) adapter).resetAccessControl();
   }
   if (originalAdapter instanceof AbstractMessageAdapter) {
     ((AbstractMessageAdapter) originalAdapter).resetAccessControl();
   }
 }
示例#2
0
 /** {@inheritDoc} */
 public void assertAccess(boolean write) {
   if (adapter instanceof AbstractMessageAdapter) {
     ((AbstractMessageAdapter) adapter).assertAccess(write);
   }
 }