Resource resource = createInstance( key );
LOG.debug( MSG.getMessage( Keys.LOADING_RESOURCE_FROM_PERSISTENCE, String.valueOf( key ) ) );
( (PersistenceCallback) resource ).load( key );
if ( ResourceSweeper.isExpired( resource ) )
{
throw new ResourceUnknownException( getLookupKey( key ), getServicePortName() );
}
return resource;
}