com.gridsystems.innergrid.kernel
Interface Kernelizable

All Known Implementing Classes:
CKernelException, KernelException

public interface Kernelizable

Defines classes that can be converted into a KernelException.

An example of use of this interface is for the implementation of a custom SecurityManager that could cancel API operations based on KernelContext information.

As SecurityManager methods must throw only SecurityExceptions, direct KernelException subclassing is not possible in this scenario. This interface allows such a SecurityManager to throw SecurityException subclasses implementing this interface, and the Kernel engine to automatically convert them into the correct type for SOAP serialization.

Version:
1.0
Author:
Rodrigo Ruiz

Method Summary
 KernelException toKernelException()
          Converts this instance into a KernelException.
 

Method Detail

toKernelException

KernelException toKernelException()
Converts this instance into a KernelException.

Returns:
a KernelException instance equivalent to this


Copyright © 2007-2008 Grid Systems, S.A.. All Rights Reserved.