View Javadoc

1   package de.mxro.service;
2   
3   public interface SafeCast {
4   
5   	/**
6   	 * Return true if this object can be cast to the provided type.
7   	 * 
8   	 * @param interfaceType
9   	 * @return
10  	 */
11  	public boolean supports(Class<?> interfaceType);
12  	
13  }